##############################################################################
#                           Continent Collections                            #
#       Created by Adam Pope, bartolomesorianol, Bullmoose20 & Sohjiro       #
#          Artwork Credit to Duhniel, Bullmoose20, and Wiki Commons          #
#          EDITING THIS FILE MAY CAUSE PULLING NEW UPDATES TO FAIL           #
#      https://metamanager.wiki/en/latest/defaults/movie/continent.html      #
##############################################################################

external_templates:
  file: config/music/musictemplates.yml
  template_variables:
    collection_section: "001"
templates:
  smart_filters:
    default:
      sort_by: plays.desc
      sort_by_<<key>>: <<sort_by>>
      limit_<<key>>: <<limit>>
      search_value: <<value>>
    optional:
      - search_term2
      - search_value2
      - limit
      - type
    smart_filter:
      sort_by: <<sort_by_<<key>>>>
      limit: <<limit_<<key>>>>
      type: <<type>>
      any:
        <<search_term>>: <<search_value>>
        <<search_term2>>: <<search_value2>>

collections:
  Continent Collections:
    template:
      - name: separator
        separator: continent
        key_name: Continent
        translation_key: separator

dynamic_collections:
  Continent:
    type: country
    title_format: <<key_name>>
    other_name: Other Continents
    template:
      - smart_filters
      - shared
    other_template:
      - other_collection
      - smart_filters
      - shared
    template_variables:
      search_term: 
        default: artist_country
      image:
        default: country/<<style>>/<<original_key_name_encoded>>
      style:
        default: white
      translation_key:
        default: country
        other: country_other
      dynamic:
        default: true

    include:
      - Africa
      - Americas
      - Antarctica
      - Asia
      - Europe
      - Oceania

    addons:
      Africa:
      # Northern Africa:
        - Algeria
        - Egypt
        - Libya
        - Morocco
        - Sudan
        - Tunisia
        - Western Sahara
      # Eastern Africa:
        - British Indian Ocean Territory
        - Burundi
        - Comoros
        - Djibouti
        - Eritrea
        - Ethiopia
        - French Southern Territories
        - Kenya
        - Madagascar
        - Malawi
        - Mauritius
        - Mayotte
        - Mozambique
        - Réunion
        - Rwanda
        - Seychelles
        - Somalia
        - South Sudan
        - Uganda
        - Tanzania
        - United Republic of Tanzania # Tanzania
        - Zambia
        - Zimbabwe
      # Central Africa:
        - Angola
        - Cameroon
        - Central African Republic
        - Chad
        - Republic of the Congo
        - Congo # Republic of the Congo
        - Democratic Republic of the Congo
        - Zaire # Democratic Republic of the Congo
        - Equatorial Guinea
        - Gabon
        - São Tomé and Príncipe
        - Sao Tome and Principe # São Tomé and Príncipe
      # Southern Africa:
        - Botswana
        - Eswatini
        - Swaziland # Eswatini
        - Lesotho
        - Namibia
        - South Africa
      # Western Africa:
        - Benin
        - Burkina Faso
        - Cape Verde
        - Cabo Verde # Cape Verde
        - Côte d'Ivoire
        - Côte d’Ivoire # Côte d'Ivoire
        - Ivory Coast # Côte d'Ivoire
        - Gambia
        - Ghana
        - Guinea
        - Guinea-Bissau
        - Liberia
        - Mali
        - Mauritania
        - Niger
        - Nigeria
        - Saint Helena, Ascension and Tristan da Cunha
        - Saint Helena # Saint Helena, Ascension and Tristan da Cunha
        - St. Helena # Saint Helena, Ascension and Tristan da Cunha
        - Ascension # Saint Helena, Ascension and Tristan da Cunha
        - Tristan da Cunha # Saint Helena, Ascension and Tristan da Cunha
        - Senegal
        - Sierra Leone
        - Togo
      Americas:
      # Caribbean:
        - Anguilla
        - Antigua and Barbuda
        - Antigua # Antigua and Barbuda
        - Barbuda # Antigua and Barbuda
        - Aruba
        - Bahamas
        - Barbados
        - Bonaire, Sint Eustatius and Saba
        - Bonaire # Bonaire, Sint Eustatius and Saba
        - Sint Eustatius # Bonaire, Sint Eustatius and Saba
        - Saba # Bonaire, Sint Eustatius and Saba
        - Netherlands Antilles
        - British Virgin Islands
        - Cayman Islands
        - Cuba
        - Curaçao
        - Dominica
        - Dominican Republic
        - Grenada
        - Guadeloupe
        - Haiti
        - Jamaica
        - Martinique
        - Montserrat
        - Puerto Rico
        - Saint Barthélemy
        - Saint Kitts and Nevis
        - St. Kitts and Nevis # Saint Kitts and Nevis
        - Saint Lucia
        - St. Lucia # Saint Lucia
        - Saint Martin
        - Saint Vincent and the Grenadines
        - Saint Vincent and Grenadines # Saint Vincent and the Grenadines
        - St. Vincent and the Grenadines # Saint Vincent and the Grenadines
        - St. Vincent and Grenadines # Saint Vincent and the Grenadines
        - Sint Maarten
        - Trinidad and Tobago
        - Turks and Caicos Islands
        - US Virgin Islands
        - U.S. Virgin Islands # US Virgin Islands
        - United States Virgin Islands # US Virgin Islands
      # Central America:
        - Belize
        - Costa Rica
        - El Salvador
        - Guatemala
        - Honduras
        - Mexico
        - Nicaragua
        - Panama
      # South America:
        - Argentina
        - Bolivia
        - Plurinational State of Bolivia # Bolivia
        - Bouvet Island
        - Brazil
        - Chile
        - Colombia
        - Ecuador
        - Falkland Islands
        - Malvinas # Falkland Islands
        - French Guiana
        - Guyana
        - Paraguay
        - Peru
        - South Georgia and the South Sandwich Islands
        - South Georgia and South Sandwich Islands # South Georgia and the South Sandwich Islands
        - South Georgia # South Georgia and the South Sandwich Islands
        - South Sandwich Islands # South Georgia and the South Sandwich Islands
        - Suriname
        - Uruguay
        - Venezuela
        - Bolivarian Republic of Venezuela # Venezuela
      # North America:
        - Bermuda
        - Canada
        - Greenland
        - Saint Pierre and Miquelon
        - St. Pierre and Miquelon # Saint Pierre and Miquelon
        - United States
        - United States of America # United States
      Asia:
      # Central Asia:
        - Kazakhstan
        - Kyrgyzstan
        - Tajikistan
        - Turkmenistan
        - Uzbekistan
      # Eastern Asia:
        - China
        - Hong Kong
        - Hong Kong SAR China # Hong Kong
        - Macao
        - Macau # Macao
        - Macau SAR China # Macao
        - North Korea
        - Democratic People's Republic of Korea # North Korea
        - Japan
        - Mongolia
        - South Korea
        - Republic of Korea # South Korea
        - Korea # South Korea
        - Taiwan
        - Taiwan, Province of China # Taiwan
      # South-Eastern Asia:
        - Brunei
        - Brunei Darussalam # Brunei
        - Cambodia
        - Indonesia
        - Laos
        - Lao People's Democratic Republic # Laos
        - Lao # Laos
        - Malaysia
        - Myanmar
        - Burma # Myanmar
        - Philippines
        - Singapore
        - Thailand
        - East Timor
        - Timor-Leste # East Timor
        - Vietnam
        - Viet Nam # Vietnam
      # Southern Asia:
        - Afghanistan
        - Bangladesh
        - Bhutan
        - India
        - Iran
        - Islamic Republic of Iran # Iran
        - Maldives
        - Nepal
        - Pakistan
        - Sri Lanka
      # Western Asia:
        - Armenia
        - Azerbaijan
        - Bahrain
        - Cyprus
        - Georgia
        - Iraq
        - Israel
        - Jordan
        - Kuwait
        - Lebanon
        - Oman
        - Qatar
        - Saudi Arabia
        - Palestine
        - State of Palestine # Palestine
        - Syria
        - Syrian Arab Republic # Syria
        - Turkey
        - Türkiye # Turkey
        - United Arab Emirates
        - Yemen
      Europe:
      # Eastern Europe:
        - Belarus
        - Bulgaria
        - Czech Republic
        - Czechia # Czech Republic
        - Czechoslovakia # Czech Republic
        - Hungary
        - Poland
        - Moldova
        - Republic of Moldova # Moldova
        - Romania
        - Russia
        - Russian Federation # Russia
        - Soviet Union
        - Slovakia
        - Ukraine
      # Northern Europe:
        - Åland Islands
        - Guernsey
        - Jersey
        - Sark
        - Denmark
        - Estonia
        - Faroe Islands
        - Finland
        - Iceland
        - Ireland
        - Northern Ireland
        - Isle of Man
        - Latvia
        - Lithuania
        - Norway
        - Svalbard and Jan Mayen Islands
        - Svalbard and Jan Mayen # Svalbard and Jan Mayen Islands
        - Sweden
        - United Kingdom
      # Southern Europe:
        - Albania
        - Andorra
        - Bosnia and Herzegovina
        - Croatia
        - Gibraltar
        - Greece
        - Kosovo
        - Vatican City
        - Holy See # Vatican City
        - Italy
        - Malta
        - Montenegro
        - North Macedonia
        - Macedonia # North Macedonia
        - Republic of North Macedonia # North Macedonia
        - Portugal
        - San Marino
        - Serbia
        - Serbia and Montenegro
        - Slovenia
        - Spain
        - Yugoslavia
      # Western Europe:
        - Austria
        - Belgium
        - France
        - French Republic # France
        - Germany
        - East Germany
        - Liechtenstein
        - Luxembourg
        - Monaco
        - Netherlands
        - Switzerland
      Oceania:
      # Australia and New Zealand:
        - Australia
        - Christmas Island
        - Cocos (Keeling) Islands
        - Heard Island and McDonald Islands
        - Heard and McDonald Islands # Heard Island and McDonald Islands
        - New Zealand
        - Norfolk Island
      # Melanesia:
        - Fiji
        - New Caledonia
        - Papua New Guinea
        - New Guinea # Papua New Guinea
        - Solomon Islands
        - Vanuatu
      # Micronesia:
        - Guam
        - Kiribati
        - Marshall Islands
        - Micronesia
        - Federated States of Micronesia # Micronesia
        - Nauru
        - Northern Mariana Islands
        - Palau
        - US Minor Outlying Islands
        - United States Minor Outlying Islands # US Minor Outlying Islands
        - United States Outlying Islands # US Minor Outlying Islands
        - U.S. Minor Outlying Islands # US Minor Outlying Islands
        - U.S. Outlying Islands # US Minor Outlying Islands
        - US Outlying Islands # US Minor Outlying Islands
      # Polynesia:
        - American Samoa
        - Cook Islands
        - French Polynesia
        - Niue
        - Pitcairn
        - Pitcairn Islands # Pitcairn
        - Samoa
        - Tokelau
        - Tonga
        - Tuvalu
        - Wallis and Futuna Islands
        - Wallis and Futuna # Wallis and Futuna Islands