[69] Merge remote-tracking branch 'bull/task-create-region-continent-collections' into nightly

pull/1536/head
meisnate12 1 year ago
commit 67bc1ffc6e

@ -0,0 +1,311 @@
##############################################################################
# Continent Collections #
# Created by Adam Pope, bartolomesorianol, & Bullmoose20 #
# 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:
pmm: templates
template_variables:
collection_section: "082"
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_filter
- shared
other_template:
- other_collection
- smart_filter
- shared
template_variables:
search_term:
default: country
image:
default: country/<<style>>/<<original_key_name_encoded>>
style:
default: white
translation_key:
default: country
other: country_other
dynamic:
default: true
include:
- Antarctica
- New Zealand
- Brazil
- China
- South Africa
- United Kingdom
- United States of America
key_name_override:
New Zealand: Oceania
Brazil: South America
China: Asia
South Africa: Africa
United Kingdom: Europe
United States of America: North America
addons:
Antarctica:
- Bouvet Island
China:
- Afghanistan
- Kazakhstan
- Kyrgyzstan
- Tajikistan
- Turkmenistan
- Uzbekistan
- Japan
- Hong Kong
- Macao
- India
- Mongolia
- Pakistan
- Bhutan
- Bangladesh
- Nepal
- Sri Lanka
- Maldives
- Thailand
- Brunei
- Cambodia
- Indonesia
- Lao
- Malaysia
- Myanmar
- Philippines
- Singapore
- Vietnam
- Viet Nam # Duplicating smart filter functionality
- Turkey
- Bahrain
- Cyprus
- Egypt
- Iran
- Iraq
- Israel
- Jordan
- Kuwait
- Lebanon
- Oman
- Palestine
- Qatar
- Saudi Arabia
- Syria
- United Arab Emirates
- Yemen
- Islamic Republic of Iran # Duplicating smart filter functionality
- Taiwan
- Taiwan, Province of China # Duplicating smart filter functionality
- Korea
- Democratic People's Republic of Korea
- North Korea
- Republic of Korea
- South Korea
Brazil:
- Argentina
- Chile
- Paraguay
- Uruguay
- Falkland Islands
- Costa Rica
- Belize
- El Salvador
- Guatemala
- Honduras
- Nicaragua
- Panama
- Peru
- Bolivarian Republic of Venezuela # Duplicating smart filter functionality
- Bolivia
- Colombia
- Ecuador
- Plurinational State of Bolivia # Duplicating smart filter functionality
- Venezuela
- French Guiana
- Guyana
- Suriname
United Kingdom:
- Armenia
- Azerbaijan
- Georgia
- Belgium
- Luxembourg
- Netherlands
- Croatia
- Albania
- Bosnia and Herzegovina
- Bulgaria
- Macedonia
- Montenegro
- Republic of North Macedonia # Duplicating smart filter functionality
- Romania
- Serbia
- Slovenia
- Denmark
- Åland Islands
- Faroe Islands
- Finland
- Greenland
- Iceland
- Norway
- Svalbard and Jan Mayen
- Sweden
- Ireland
- Greece
- Poland
- Belarus
- Czech Republic
- Estonia
- Hungary
- Latvia
- Lithuania
- Moldova
- Slovakia
- Ukraine
- Spain
- Andorra
- Gibraltar
- Portugal
- Austria
- Switzerland
- Liechtenstein
- Russia
- Russian Federation # Duplicating smart filter functionality
- Guernsey
- Gibraltar
- Isle of Man
- Jersey
- Malta
- Germany
- France
- Monaco
- Italy
- Holy See
- Malta
- San Marino
United States of America:
- Anguilla
- Antigua
- Aruba
- Bahamas
- Barbados
- Bermuda
- Bonaire
- Canada
- Cayman Islands
- Cuba
- Curaçao
- Dominica
- Dominican Republic
- Grenada
- Guadeloupe
- Haiti
- Jamaica
- Martinique
- Mexico
- Montserrat
- Puerto Rico
- Saint Barthélemy
- Saint Lucia
- Trinidad and Tobago
- Turks and Caicos
South Africa:
- Chad
- Angola
- Cameroon
- Central African Republic
- Congo
- Democratic Republic of the Congo # Duplicating smart filter functionality
- Equatorial Guinea
- Gabon
- Republic of the Congo
- Sao Tome and Principe
- Kenya
- Burundi
- Comoros
- Djibouti
- Eritrea
- Ethiopia
- Madagascar
- Malawi
- Mauritius
- Mayotte
- Mozambique
- Réunion
- Rwanda
- Seychelles
- Somalia
- South Sudan
- Tanzania
- Uganda
- Zambia
- Zimbabwe
- Morocco
- Algeria
- Egypt
- Libya
- Sudan
- Tunisia
- Nigeria
- Benin
- Burkina Faso
- Cabo Verde
- Côte d'Ivoire
- Gambia
- Ghana
- Guinea
- Guinea-Bissau
- Liberia
- Mali
- Mauritania
- Niger
- Senegal
- Sierra Leone
- Togo
- Botswana
- Eswatini
- Lesotho
- Namibia
New Zealand:
- Australia
- Christmas Island
- Cocos (Keeling) Islands
- New Guinea
- Timor-Leste
- Cook Islands
- Fiji
- French Polynesia
- Guam
- Kiribati
- Marshall Islands
- Micronesia
- Nauru
- New Caledonia
- Niue
- Norfolk Island
- Palau
- Pitcairn
- Samoa
- Solomon Islands
- Tokelau
- Tonga
- Tuvalu
- Vanuatu

@ -44,235 +44,236 @@ dynamic_collections:
dynamic: dynamic:
default: true default: true
include: include:
# - Afghanistan # af - Afghanistan # af
# - Åland Islands # ax - Åland Islands # ax
# - Albania # al - Albania # al
# - Algeria # dz - Algeria # dz
# - Andorra # ad - Andorra # ad
# - Angola # ao - Angola # ao
# - Anguilla # ai - Anguilla # ai
# - Antarctica # aq - Antarctica # aq
# - Antigua # ag - Antigua # ag
- Argentina # ar - Argentina # ar
# - Armenia # am - Armenia # am
# - Aruba # aw - Aruba # aw
- Australia # au - Australia # au
- Austria # at - Austria # at
# - Azerbaijan # az - Azerbaijan # az
- Bahamas # bs - Bahamas # bs
# - Bahrain # bh - Bahrain # bh
# - Bangladesh # bd - Bangladesh # bd
# - Barbados # bb - Barbados # bb
# - Belarus # by - Belarus # by
- Belgium # be - Belgium # be
# - Belize # bz - Belize # bz
# - Benin # bj - Benin # bj
# - Bermuda # bm - Bermuda # bm
# - Bhutan # bt - Bhutan # bt
# - Bolivia # bo - Bolivia # bo
# - Bonaire # bq - Bonaire # bq
# - Bosnia and Herzegovina # ba - Bosnia and Herzegovina # ba
# - Botswana # bw - Botswana # bw
# - Bouvet Island # bv - Bouvet Island # bv
- Brazil # br - Brazil # br
# - Brunei # bn - Brunei # bn
- Bulgaria # bg - Bulgaria # bg
# - Burkina Faso # bf - Burkina Faso # bf
# - Burundi # bi - Burundi # bi
# - Cabo Verde # cv - Cabo Verde # cv
# - Cambodia # kh - Cambodia # kh
# - Cameroon # cm - Cameroon # cm
- Canada # ca - Canada # ca
# - Cayman Islands # ky - Cayman Islands # ky
# - Central African Republic # cf - Central African Republic # cf
# - Chad # td - Chad # td
- Chile # cl - Chile # cl
- China # cn - China # cn
# - Christmas Island # cx - Christmas Island # cx
# - Cocos (Keeling) Islands # cc - Cocos (Keeling) Islands # cc
# - Colombia # co - Colombia # co
# - Comoros # km - Comoros # km
# - Congo # cg - Congo # cg
# - Cook Islands # ck - Cook Islands # ck
- Costa Rica # cr - Costa Rica # cr
# - Côte d'Ivoire # ci - Côte d'Ivoire # ci
- Croatia # hr - Croatia # hr
# - Cuba # cu - Cuba # cu
# - Curaçao # cw - Curaçao # cw
# - Cyprus # cy - Cyprus # cy
- Czech Republic # cz - Czech Republic # cz
- Denmark # dk - Denmark # dk
# - Djibouti # dj - Djibouti # dj
# - Dominica # dm - Dominica # dm
- Dominican Republic # do - Dominican Republic # do
# - Ecuador # ec - Ecuador # ec
- Egypt # eg - Egypt # eg
# - El Salvador # sv - El Salvador # sv
# - Equatorial Guinea # gq - Equatorial Guinea # gq
# - Eritrea # er - Eritrea # er
- Estonia # ee - Estonia # ee
# - Eswatini # sz - Eswatini # sz
# - Ethiopia # et - Ethiopia # et
# - Falkland Islands # fk - Falkland Islands # fk
# - Faroe Islands # fo - Faroe Islands # fo
# - Fiji # fj - Fiji # fj
- Finland # fi - Finland # fi
- France # fr - France # fr
# - French Guiana # gf - French Guiana # gf
# - French Polynesia # pf - French Polynesia # pf
# - Gabon # ga - Gabon # ga
# - Gambia # gm - Gambia # gm
# - Georgia # ge - Georgia # ge
- Germany # de - Germany # de
# - Ghana # gh - Ghana # gh
# - Gibraltar # gi - Gibraltar # gi
- Greece # gr - Greece # gr
# - Greenland # gl - Greenland # gl
# - Grenada # gd - Grenada # gd
# - Guadeloupe # gp - Guadeloupe # gp
# - Guam # gu - Guam # gu
# - Guatemala # gt - Guatemala # gt
# - Guernsey # gg - Guernsey # gg
# - Guinea # gn - Guinea # gn
# - Guinea-Bissau # gw - Guinea-Bissau # gw
# - Guyana # gy - Guyana # gy
# - Haiti # ht - Haiti # ht
# - Holy See # va - Holy See # va
# - Honduras # hn - Honduras # hn
- Hong Kong # hk - Hong Kong # hk
- Hungary # hu - Hungary # hu
- Iceland # is - Iceland # is
- India # in - India # in
- Indonesia # id - Indonesia # id
- Iran # ir - Iran # ir
# - Iraq # iq - Iraq # iq
- Ireland # ie - Ireland # ie
# - Isle of Man # im - Isle of Man # im
- Israel # il - Israel # il
- Italy # it - Italy # it
# - Jamaica # jm - Jamaica # jm
- Japan # jp - Japan # jp
# - Jersey # je - Jersey # je
# - Jordan # jo - Jordan # jo
# - Kazakhstan # kz - Kazakhstan # kz
# - Kenya # ke - Kenya # ke
# - Kiribati # ki - Kiribati # ki
- Korea # kr - Korea # kr
# - Kuwait # kw - Kuwait # kw
# - Kyrgyzstan # kg - Kyrgyzstan # kg
# - Lao # la - Lao # la
- Latvia # lv - Latvia # lv
# - Lebanon # lb - Lebanon # lb
# - Lesotho # ls - Lesotho # ls
# - Liberia # lr - Liberia # lr
# - Libya # ly - Libya # ly
# - Liechtenstein # li - Liechtenstein # li
# - Lithuania # lt - Lithuania # lt
- Luxembourg # lu - Luxembourg # lu
# - Macao # mo - Macao # mo
# - Madagascar # mg - Madagascar # mg
# - Malawi # mw - Malawi # mw
- Malaysia # my - Malaysia # my
# - Maldives # mv - Maldives # mv
# - Mali # ml - Mali # ml
# - Malta # mt - Malta # mt
# - Marshall Islands # mh - Marshall Islands # mh
# - Martinique # mq - Martinique # mq
# - Mauritania # mr - Mauritania # mr
# - Mauritius # mu - Mauritius # mu
# - Mayotte # yt - Mayotte # yt
- Mexico # mx - Mexico # mx
# - Micronesia # fm - Micronesia # fm
# - Moldova # md - Moldova # md
# - Monaco # mc - Monaco # mc
# - Mongolia # mn - Mongolia # mn
# - Montenegro # me - Montenegro # me
# - Montserrat # ms - Montserrat # ms
- Morocco # ma - Morocco # ma
# - Mozambique # mz - Mozambique # mz
# - Myanmar # mm - Myanmar # mm
# - Namibia # na - Namibia # na
# - Nauru # nr - Nauru # nr
# - Nepal # np - Nepal # np
- Netherlands # nl - Netherlands # nl
# - New Caledonia # nc - New Caledonia # nc
- New Zealand # nz - New Zealand # nz
# - Nicaragua # ni - Nicaragua # ni
# - Niger # ne - Niger # ne
# - Nigeria # ng - Nigeria # ng
# - Niue # nu - Niue # nu
# - Norfolk Island # nf - Norfolk Island # nf
# - Macedonia # mk - Macedonia # mk
- Norway # no - Norway # no
# - Oman # om - Oman # om
- Pakistan # pk - Pakistan # pk
# - Palau # pw - Palau # pw
# - Palestine # ps - Palestine # ps
- Panama # pa - Panama # pa
# - New Guinea # pg - New Guinea # pg
# - Paraguay # py - Paraguay # py
- Peru # pe - Peru # pe
- Philippines # ph - Philippines # ph
# - Pitcairn # pn - Pitcairn # pn
- Poland # pl - Poland # pl
- Portugal # pt - Portugal # pt
# - Puerto Rico # pr - Puerto Rico # pr
- Qatar # qa - Qatar # qa
# - Réunion # re - Réunion # re
- Romania # ro - Romania # ro
- Russia # ru - Russia # ru
# - Rwanda # rw - Rwanda # rw
# - Saint Barthélemy # bl - Saint Barthélemy # bl
# - Saint Lucia # lc - Saint Lucia # lc
# - Samoa # ws - Samoa # ws
# - San Marino # sm - San Marino # sm
# - Sao Tome and Principe # st - Sao Tome and Principe # st
- Saudi Arabia # sa - Saudi Arabia # sa
# - Senegal # sn - Senegal # sn
- Serbia # rs - Serbia # rs
# - Seychelles # sc - Seychelles # sc
# - Sierra Leone # sl - Sierra Leone # sl
- Singapore # sg - Singapore # sg
# - Slovakia # sk - Slovakia # sk
# - Slovenia # si - Slovenia # si
# - Solomon Islands # sb - Solomon Islands # sb
# - Somalia # so - Somalia # so
- South Africa # za - South Africa # za
# - South Sudan # ss - South Sudan # ss
- Spain # es - Spain # es
- Sri Lanka # lk - Sri Lanka # lk
# - Sudan # sd - Sudan # sd
# - Suriname # sr - Suriname # sr
- Svalbard and Jan Mayen # sj
- Sweden # se - Sweden # se
- Switzerland # ch - Switzerland # ch
# - Syria # sy - Syria # sy
# - Taiwan # tw - Taiwan # tw
# - Tajikistan # tj - Tajikistan # tj
# - Tanzania # tz - Tanzania # tz
- Thailand # th - Thailand # th
# - Timor-Leste # tl - Timor-Leste # tl
# - Togo # tg - Togo # tg
# - Tokelau # tk - Tokelau # tk
# - Tonga # to - Tonga # to
# - Trinidad and Tobago # tt - Trinidad and Tobago # tt
# - Tunisia # tn - Tunisia # tn
- Turkey # tr - Turkey # tr
# - Turkmenistan # tm - Turkmenistan # tm
# - Turks and Caicos # tc - Turks and Caicos # tc
# - Tuvalu # tv - Tuvalu # tv
# - Uganda # ug - Uganda # ug
- Ukraine # ua - Ukraine # ua
- United Arab Emirates # ae - United Arab Emirates # ae
- United Kingdom # gb - United Kingdom # gb
- United States of America # us - United States of America # us
# - Uruguay # uy - Uruguay # uy
# - Uzbekistan # uz - Uzbekistan # uz
# - Vanuatu # vu - Vanuatu # vu
# - Venezuela # ve - Venezuela # ve
- Vietnam # vn - Vietnam # vn
# - Yemen # ye - Yemen # ye
# - Zambia # zm - Zambia # zm
# - Zimbabwe # zw - Zimbabwe # zw
addons: addons:
Korea: Korea:
- Republic of Korea - Republic of Korea

@ -0,0 +1,383 @@
##############################################################################
# Region Collections #
# Created by Adam Pope, bartolomesorianol, & Bullmoose20 #
# 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/region.html #
##############################################################################
external_templates:
pmm: templates
template_variables:
collection_section: "081"
collections:
Region Collections:
template:
- name: separator
separator: region
key_name: Region
translation_key: separator
dynamic_collections:
Region:
type: country
title_format: <<key_name>>
other_name: Other Regions
template:
- smart_filter
- shared
other_template:
- other_collection
- smart_filter
- shared
template_variables:
search_term:
default: country
image:
default: country/<<style>>/<<original_key_name_encoded>>
style:
default: white
translation_key:
default: country
other: country_other
dynamic:
default: true
include:
- Afghanistan
- Antarctica
- Argentina
- Armenia
- Australia
- Bahamas
- Belgium
- Brazil
- Canada
- Chad
- China
- Costa Rica
- Croatia
- Denmark
- France
- Germany
- Greece
- Hong Kong
- India
- Ireland
- Italy
- Japan
- Kenya
- Korea
- Mexico
- Morocco
- New Zealand
- Nigeria
- Peru
- Poland
- Russia
- South Africa
- Spain
- Switzerland
- Taiwan
- Thailand
- Turkey
- United Kingdom
- United States of America
key_name_override:
Afghanistan: Central Asian
Antarctica: Antarctica Region
Argentina: Southern Cone
Armenia: Caucasian
Australia: Australian
Bahamas: Caribbean
Belgium: Benelux
Brazil: Brazilian
Canada: Canadian
Chad: Central African # Based on UN geoscheme
China: Chinese and Mongolian
Costa Rica: Central American
Croatia: Balkan
Denmark: Nordic
France: French
Germany: German
Greece: Greek
Hong Kong: Hong Kong and Macao
India: South Asian
Ireland: Irish
Italy: Italian
Japan: Japanese
Kenya: Eastern African # Based on UN geoscheme
Korea: Korean
Mexico: Mexican
Morocco: Northern African # Based on UN geoscheme
New Zealand: Pacific Island
Nigeria: Western African # Based on UN geoscheme
Peru: Andean
Poland: Eastern European # Eastern Europe generally considerd to be ex-USSR countries of Russia, Belarus, and Ukraine. This grouping is more ex-iron curtain European countries excluding Russia and Balkans
Russia: Russian
South Africa: Southern African
Spain: Iberian
Switzerland: Central European
Taiwan: Taiwanese
Thailand: South-East Asia
Turkey: Middle Eastern
United Kingdom: UK
United States of America: USA
addons:
# Grouping of countries into sub-regions. Some license has been taken here to ensure all countries are included, and the groupings won't fit well with everyone's collections.
# Western, Southern, and Central Europe, Oceania, and North America could be useful groupings for those libraries with more of an Asian focus, for instance
# Comments added where a decision point might seen as controversial
Afghanistan: # Afghanistan rarely included as part of Central Asia, the 'stans', but often in South Asia
- Kazakhstan
- Kyrgyzstan
- Tajikistan
- Turkmenistan
- Uzbekistan
Argentina:
- Chile
- Paraguay # Not always included as part of Southern Cone
- Uruguay
- Falkland Islands # Also in United Kingdom
Armenia:
- Azerbaijan
- Georgia
Bahamas:
- Anguilla
- Antigua
- Aruba
- Barbados
- Bermuda
- Bonaire
- Cayman Islands
- Cuba
- Curaçao
- Dominica
- Dominican Republic
- Grenada
- Guadeloupe
- Haiti
- Jamaica
- Martinique
- Montserrat
- Puerto Rico
- Saint Barthélemy
- Saint Lucia
- Trinidad and Tobago
- Turks and Caicos
Belgium:
- Luxembourg
- Netherlands
Chad:
- Angola
- Cameroon
- Central African Republic
- Congo
- Democratic Republic of the Congo # Duplicating smart filter functionality
- Equatorial Guinea
- Gabon
- Republic of the Congo
- Sao Tome and Principe
China:
- Mongolia
Costa Rica:
- Belize
- El Salvador
- Guatemala
- Honduras
- Nicaragua
- Panama
Croatia:
- Albania
- Bosnia and Herzegovina
- Bulgaria
- Macedonia
- Montenegro
- Republic of North Macedonia # Duplicating smart filter functionality
- Romania
- Serbia
- Slovenia
Denmark:
- Åland Islands
- Faroe Islands
- Finland
- Greenland
- Iceland
- Norway
- Svalbard and Jan Mayen
- Sweden
Hong Kong:
- Macao
India:
- Pakistan
- Bhutan
- Bangladesh
- Nepal
- Sri Lanka
- Maldives
Kenya:
- Burundi
- Comoros
- Djibouti
- Eritrea
- Ethiopia
- Madagascar
- Malawi
- Mauritius
- Mayotte
- Mozambique
- Réunion
- Rwanda
- Seychelles
- Somalia
- South Sudan
- Tanzania
- Uganda
- Zambia
- Zimbabwe
Morocco:
- Algeria
- Egypt # Also in Middle Eastern
- Libya
- Sudan
- Tunisia
New Zealand:
- Cook Islands
- Fiji
- French Polynesia
- Guam
- Kiribati
- Marshall Islands
- Micronesia
- Nauru
- New Caledonia
- Niue
- Norfolk Island
- Palau
- Pitcairn
- Samoa
- Solomon Islands
- Tokelau
- Tonga
- Tuvalu
- Vanuatu
Nigeria:
- Benin
- Burkina Faso
- Cabo Verde
- Côte d'Ivoire
- Gambia
- Ghana
- Guinea
- Guinea-Bissau
- Liberia
- Mali
- Mauritania
- Niger
- Senegal
- Sierra Leone
- Togo
Peru:
- Bolivarian Republic of Venezuela # Duplicating smart filter functionality
- Bolivia
- Colombia
- Ecuador
- Plurinational State of Bolivia # Duplicating smart filter functionality
- Venezuela
Poland:
- Belarus
- Czech Republic
- Estonia
- Hungary
- Latvia
- Lithuania
- Moldova
- Slovakia
- Ukraine
South Africa:
- Botswana
- Eswatini
- Lesotho
- Namibia
Spain:
- Andorra # Also in French
- Gibraltar # Also in United Kingdom
- Portugal
Switzerland:
- Austria
- Liechtenstein
Thailand:
- Brunei
- Cambodia
- Indonesia
- Lao
- Malaysia
- Myanmar
- Philippines
- Singapore
- Vietnam
- Viet Nam # Duplicating smart filter functionality
Turkey:
- Bahrain
- Cyprus
- Egypt # Also in Northern African
- Iran
- Iraq
- Israel
- Jordan
- Kuwait
- Lebanon
- Oman
- Palestine
- Qatar
- Saudi Arabia
- Syria
- United Arab Emirates
- Yemen
- Islamic Republic of Iran # Duplicating smart filter functionality
# Grouping of micro-states into existing countries. Some are obviously right, others added as they've nowhere else fitting to go.
Antarctica:
- Bouvet Island # Also in Nordic
Australia:
- Christmas Island
- Cocos (Keeling) Islands
- New Guinea # Also in Pacific Islands
- Timor-Leste # Also in Pacific Islands
Brazil:
- French Guiana
- Guyana
- Suriname
France:
- Monaco
- Andorra # Also in Iberian
Italy:
- Holy See
- Malta # Also in United Kingdom and Northern Africa
- San Marino
Korea:
- Democratic People's Republic of Korea
- North Korea
- Republic of Korea # Added as default addon for Korea overridden
- South Korea # Added as default addon for Korea overridden
United Kingdom:
- Falkland Islands # Also in Southern Cone
- Guernsey
- Gibraltar # Also in Iberian
- Isle of Man
- Jersey
- Malta # Also in Italy and Northern African
# Duplicating smart filter functionality
Taiwan:
- Taiwan, Province of China
Russia:
- Russian Federation

@ -0,0 +1,295 @@
##############################################################################
# Continent Collections #
# Created by Adam Pope, bartolomesorianol, & Bullmoose20 #
# Artwork Credit to Duhniel, Bullmoose20, and Wiki Commons #
# EDITING THIS FILE MAY CAUSE PULLING NEW UPDATES TO FAIL #
# https://metamanager.wiki/en/latest/defaults/show/continent.html #
##############################################################################
external_templates:
pmm: templates
template_variables:
collection_section: "082"
collections:
Continent Collections:
template:
- name: separator
separator: continent
key_name: Continent
translation_key: separator
dynamic_collections:
Continent:
type: origin_country
title_format: <<key_name>>
other_name: Other Continents
template:
- filter
- shared
other_template:
- other_collection
- filter
- shared
template_variables:
filter_term:
default: origin_country
image:
default: country/<<style>>/<<original_key_name_encoded>>
style:
default: white
translation_key:
default: country
other: country_other
dynamic:
default: true
include:
- aq # Antarctica
- nz # New Zealand
- br # Brazil
- cn # China
- za # South Africa
- gb # United Kingdom
- us # United States of America
key_name_override:
nz: Oceania
br: South America
cn: Asia
za: Africa
gb: Europe
us: North America
addons:
aq: # Antarctica
- bv # Bouvet Island
cn: # China - Asia
- af # Afghanistan
- kz # Kazakhstan
- kg # Kyrgyzstan
- tj # Tajikistan
- tm # Turkmenistan
- uz # Uzbekistan
- mn # Mongolia
- in # India
- pk # Pakistan
- bt # Bhutan
- bd # Bangladesh
- np # Nepal
- lk # Sri Lanka
- mv # Maldives
- jp # Japan
- hk # Hong Kong
- mo # Macao
- th # Thailand
- bn # Brunei
- kh # Cambodia
- id # Indonesia
- la # Lao
- my # Malaysia
- mm # Myanmar
- ph # Philippines
- sg # Singapore
- vn # Vietnam
- tr # Turkey
- bh # Bahrain
- cy # Cyprus
- eg # Egypt
- ir # Iran
- iq # Iraq
- il # Israel
- jo # Jordan
- kw # Kuwait
- lb # Lebanon
- om # Oman
- ps # Palestine
- qa # Qatar
- sa # Saudi Arabia
- sy # Syria
- ae # United Arab Emirates
- ye # Yemen
- tw # Taiwan
- kr # Korea
br: # Brazil - South America
- ar # Argentina
- cl # Chile
- py # Paraguay
- uy # Uruguay
- fk # Falkland Islands
- cr # Costa Rica
- bz # Belize
- sv # El Salvador
- gt # Guatemala
- hn # Honduras
- ni # Nicaragua
- pa # Panama
- pe # Peru
- bo # Bolivia
- co # Colombia
- ec # Ecuador
- ve # Venezuela
- gf # French Guiana
- gy # Guyana
- sr # Suriname
gb: # United Kingdom - Europe
- am # Armenia
- az # Azerbaijan
- ge # Georgia
- be # Belgium
- lu # Luxembourg
- nl # Netherlands
- hr # Croatia
- al # Albania
- ba # Bosnia and Herzegovina
- bg # Bulgaria
- mk # Macedonia
- me # Montenegro
- ro # Romania
- rs # Serbia
- si # Slovenia
- dk # Denmark
- ax # Åland Islands
- fo # Faroe Islands
- fi # Finland
- gl # Greenland
- is # Iceland
- no # Norway
- sj # Svalbard and Jan Mayen
- se # Sweden
- ie # Ireland
- gr # Greece
- pl # Poland
- by # Belarus
- cz # Czech Republic
- ee # Estonia
- hu # Hungary
- lv # Latvia
- lt # Lithuania
- md # Moldova
- sk # Slovakia
- ua # Ukraine
- es # Spain
- ad # Andorra
- pt # Portugal
- ch # Switzerland
- at # Austria
- li # Liechtenstein
- ru # Russia
- gg # Guernsey
- gi # Gibraltar
- im # Isle of Man
- je # Jersey
- mt # Malta
- de # Germany
- fr # France
- mc # Monaco
- it # Italy
- va # Holy See
- sm # San Marino
us: # United States of America - North America
- bs # Bahamas
- ai # Anguilla
- ag # Antigua
- aw # Aruba
- bb # Barbados
- bm # Bermuda
- bq # Bonaire
- ky # Cayman Islands
- cu # Cuba
- cw # Curaçao
- dm # Dominica
- do # Dominican Republic
- gd # Grenada
- gp # Guadeloupe
- ht # Haiti
- jm # Jamaica
- mq # Martinique
- ms # Montserrat
- pr # Puerto Rico
- bl # Saint Barthélemy
- lc # Saint Lucia
- tt # Trinidad and Tobago
- tc # Turks and Caicos
- ca # Canada
- mx # Mexico
za: # South Africa - Africa
- td # Chad
- ao # Angola
- cm # Cameroon
- cf # Central African Republic
- cg # Congo
- gq # Equatorial Guinea
- ga # Gabon
- st # Sao Tome and Principe
- ke # Kenya
- bi # Burundi
- km # Comoros
- dj # Djibouti
- er # Eritrea
- et # Ethiopia
- mg # Madagascar
- mw # Malawi
- mu # Mauritius
- yt # Mayotte
- mz # Mozambique
- re # Réunion
- rw # Rwanda
- sc # Seychelles
- so # Somalia
- ss # South Sudan
- tz # Tanzania
- ug # Uganda
- zm # Zambia
- zw # Zimbabwe
- ma # Morocco
- dz # Algeria
- eg # Egypt
- ly # Libya
- sd # Sudan
- tn # Tunisia
- ng # Nigeria
- bj # Benin
- bf # Burkina Faso
- cv # Cabo Verde
- ci # Côte d'Ivoire
- gm # Gambia
- gh # Ghana
- gn # Guinea
- gw # Guinea-Bissau
- lr # Liberia
- ml # Mali
- mr # Mauritania
- ne # Niger
- sn # Senegal
- sl # Sierra Leone
- tg # Togo
- bw # Botswana
- sz # Eswatini
- ls # Lesotho
- na # Namibia
nz: # New Zealand - Oceania
- au # Australia
- cx # Christmas Island
- cc # Cocos (Keeling) Islands
- pg # New Guinea
- tl # Timor-Leste
- ck # Cook Islands
- fj # Fiji
- pf # French Polynesia
- gu # Guam
- ki # Kiribati
- mh # Marshall Islands
- fm # Micronesia
- nr # Nauru
- nc # New Caledonia
- nu # Niue
- nf # Norfolk Island
- pw # Palau
- pn # Pitcairn
- ws # Samoa
- sb # Solomon Islands
- tk # Tokelau
- to # Tonga
- tv # Tuvalu
- vu # Vanuatu

@ -44,234 +44,235 @@ dynamic_collections:
dynamic: dynamic:
default: true default: true
include: include:
# - af # Afghanistan - af # Afghanistan
# - ax # Åland Islands - ax # Åland Islands
# - al # Albania - al # Albania
# - dz # Algeria - dz # Algeria
# - ad # Andorra - ad # Andorra
# - ao # Angola - ao # Angola
# - ai # Anguilla - ai # Anguilla
# - aq # Antarctica - aq # Antarctica
# - ag # Antigua - ag # Antigua
- ar # Argentina - ar # Argentina
# - am # Armenia - am # Armenia
# - aw # Aruba - aw # Aruba
- au # Australia - au # Australia
- at # Austria - at # Austria
# - az # Azerbaijan - az # Azerbaijan
- bs # Bahamas - bs # Bahamas
# - bh # Bahrain - bh # Bahrain
# - bd # Bangladesh - bd # Bangladesh
# - bb # Barbados - bb # Barbados
# - by # Belarus - by # Belarus
- be # Belgium - be # Belgium
# - bz # Belize - bz # Belize
# - bj # Benin - bj # Benin
# - bm # Bermuda - bm # Bermuda
# - bt # Bhutan - bt # Bhutan
# - bo # Bolivia - bo # Bolivia
# - bq # Bonaire - bq # Bonaire
# - ba # Bosnia and Herzegovina - ba # Bosnia and Herzegovina
# - bw # Botswana - bw # Botswana
# - bv # Bouvet Island - bv # Bouvet Island
- br # Brazil - br # Brazil
# - bn # Brunei - bn # Brunei
- bg # Bulgaria - bg # Bulgaria
# - bf # Burkina Faso - bf # Burkina Faso
# - bi # Burundi - bi # Burundi
# - cv # Cabo Verde - cv # Cabo Verde
# - kh # Cambodia - kh # Cambodia
# - cm # Cameroon - cm # Cameroon
- ca # Canada - ca # Canada
# - ky # Cayman Islands - ky # Cayman Islands
# - cf # Central African Republic - cf # Central African Republic
# - td # Chad - td # Chad
- cl # Chile - cl # Chile
- cn # China - cn # China
# - cx # Christmas Island - cx # Christmas Island
# - cc # Cocos (Keeling) Islands - cc # Cocos (Keeling) Islands
# - co # Colombia - co # Colombia
# - km # Comoros - km # Comoros
# - cg # Congo - cg # Congo
# - ck # Cook Islands - ck # Cook Islands
- cr # Costa Rica - cr # Costa Rica
# - ci # Côte d'Ivoire - ci # Côte d'Ivoire
- hr # Croatia - hr # Croatia
# - cu # Cuba - cu # Cuba
# - cw # Curaçao - cw # Curaçao
# - cy # Cyprus - cy # Cyprus
- cz # Czech Republic - cz # Czech Republic
- dk # Denmark - dk # Denmark
# - dj # Djibouti - dj # Djibouti
# - dm # Dominica - dm # Dominica
- do # Dominican Republic - do # Dominican Republic
# - ec # Ecuador - ec # Ecuador
- eg # Egypt - eg # Egypt
# - sv # El Salvador - sv # El Salvador
# - gq # Equatorial Guinea - gq # Equatorial Guinea
# - er # Eritrea - er # Eritrea
- ee # Estonia - ee # Estonia
# - sz # Eswatini - sz # Eswatini
# - et # Ethiopia - et # Ethiopia
# - fk # Falkland Islands - fk # Falkland Islands
# - fo # Faroe Islands - fo # Faroe Islands
# - fj # Fiji - fj # Fiji
- fi # Finland - fi # Finland
- fr # France - fr # France
# - gf # French Guiana - gf # French Guiana
# - pf # French Polynesia - pf # French Polynesia
# - ga # Gabon - ga # Gabon
# - gm # Gambia - gm # Gambia
# - ge # Georgia - ge # Georgia
- de # Germany - de # Germany
# - gh # Ghana - gh # Ghana
# - gi # Gibraltar - gi # Gibraltar
- gr # Greece - gr # Greece
# - gl # Greenland - gl # Greenland
# - gd # Grenada - gd # Grenada
# - gp # Guadeloupe - gp # Guadeloupe
# - gu # Guam - gu # Guam
# - gt # Guatemala - gt # Guatemala
# - gg # Guernsey - gg # Guernsey
# - gn # Guinea - gn # Guinea
# - gw # Guinea-Bissau - gw # Guinea-Bissau
# - gy # Guyana - gy # Guyana
# - ht # Haiti - ht # Haiti
# - va # Holy See - va # Holy See
# - hn # Honduras - hn # Honduras
- hk # Hong Kong - hk # Hong Kong
- hu # Hungary - hu # Hungary
- is # Iceland - is # Iceland
- in # India - in # India
- id # Indonesia - id # Indonesia
- ir # Iran - ir # Iran
# - iq # Iraq - iq # Iraq
- ie # Ireland - ie # Ireland
# - im # Isle of Man - im # Isle of Man
- il # Israel - il # Israel
- it # Italy - it # Italy
# - jm # Jamaica - jm # Jamaica
- jp # Japan - jp # Japan
# - je # Jersey - je # Jersey
# - jo # Jordan - jo # Jordan
# - kz # Kazakhstan - kz # Kazakhstan
# - ke # Kenya - ke # Kenya
# - ki # Kiribati - ki # Kiribati
- kr # Korea - kr # Korea
# - kw # Kuwait - kw # Kuwait
# - kg # Kyrgyzstan - kg # Kyrgyzstan
# - la # Lao - la # Lao
- lv # Latvia - lv # Latvia
# - lb # Lebanon - lb # Lebanon
# - ls # Lesotho - ls # Lesotho
# - lr # Liberia - lr # Liberia
# - ly # Libya - ly # Libya
# - li # Liechtenstein - li # Liechtenstein
# - lt # Lithuania - lt # Lithuania
- lu # Luxembourg - lu # Luxembourg
# - mo # Macao - mo # Macao
# - mg # Madagascar - mg # Madagascar
# - mw # Malawi - mw # Malawi
- my # Malaysia - my # Malaysia
# - mv # Maldives - mv # Maldives
# - ml # Mali - ml # Mali
# - mt # Malta - mt # Malta
# - mh # Marshall Islands - mh # Marshall Islands
# - mq # Martinique - mq # Martinique
# - mr # Mauritania - mr # Mauritania
# - mu # Mauritius - mu # Mauritius
# - yt # Mayotte - yt # Mayotte
- mx # Mexico - mx # Mexico
# - fm # Micronesia - fm # Micronesia
# - md # Moldova - md # Moldova
# - mc # Monaco - mc # Monaco
# - mn # Mongolia - mn # Mongolia
# - me # Montenegro - me # Montenegro
# - ms # Montserrat - ms # Montserrat
- ma # Morocco - ma # Morocco
# - mz # Mozambique - mz # Mozambique
# - mm # Myanmar - mm # Myanmar
# - na # Namibia - na # Namibia
# - nr # Nauru - nr # Nauru
# - np # Nepal - np # Nepal
- nl # Netherlands - nl # Netherlands
# - nc # New Caledonia - nc # New Caledonia
- nz # New Zealand - nz # New Zealand
# - ni # Nicaragua - ni # Nicaragua
# - ne # Niger - ne # Niger
# - ng # Nigeria - ng # Nigeria
# - nu # Niue - nu # Niue
# - nf # Norfolk Island - nf # Norfolk Island
# - mk # Macedonia - mk # Macedonia
- no # Norway - no # Norway
# - om # Oman - om # Oman
- pk # Pakistan - pk # Pakistan
# - pw # Palau - pw # Palau
# - ps # Palestine - ps # Palestine
- pa # Panama - pa # Panama
# - pg # New Guinea - pg # New Guinea
# - py # Paraguay - py # Paraguay
- pe # Peru - pe # Peru
- ph # Philippines - ph # Philippines
# - pn # Pitcairn - pn # Pitcairn
- pl # Poland - pl # Poland
- pt # Portugal - pt # Portugal
# - pr # Puerto Rico - pr # Puerto Rico
- qa # Qatar - qa # Qatar
# - re # Réunion - re # Réunion
- ro # Romania - ro # Romania
- ru # Russia - ru # Russia
# - rw # Rwanda - rw # Rwanda
# - bl # Saint Barthélemy - bl # Saint Barthélemy
# - lc # Saint Lucia - lc # Saint Lucia
# - ws # Samoa - ws # Samoa
# - sm # San Marino - sm # San Marino
# - st # Sao Tome and Principe - st # Sao Tome and Principe
- sa # Saudi Arabia - sa # Saudi Arabia
# - sn # Senegal - sn # Senegal
- rs # Serbia - rs # Serbia
# - sc # Seychelles - sc # Seychelles
# - sl # Sierra Leone - sl # Sierra Leone
- sg # Singapore - sg # Singapore
# - sk # Slovakia - sk # Slovakia
# - si # Slovenia - si # Slovenia
# - sb # Solomon Islands - sb # Solomon Islands
# - so # Somalia - so # Somalia
- za # South Africa - za # South Africa
# - ss # South Sudan - ss # South Sudan
- es # Spain - es # Spain
- lk # Sri Lanka - lk # Sri Lanka
# - sd # Sudan - sd # Sudan
# - sr # Suriname - sr # Suriname
- sj # Svalbard and Jan Mayen
- se # Sweden - se # Sweden
- ch # Switzerland - ch # Switzerland
# - sy # Syria - sy # Syria
# - tw # Taiwan - tw # Taiwan
# - tj # Tajikistan - tj # Tajikistan
# - tz # Tanzania - tz # Tanzania
- th # Thailand - th # Thailand
# - tl # Timor-Leste - tl # Timor-Leste
# - tg # Togo - tg # Togo
# - tk # Tokelau - tk # Tokelau
# - to # Tonga - to # Tonga
# - tt # Trinidad and Tobago - tt # Trinidad and Tobago
# - tn # Tunisia - tn # Tunisia
- tr # Turkey - tr # Turkey
# - tm # Turkmenistan - tm # Turkmenistan
# - tc # Turks and Caicos - tc # Turks and Caicos
# - tv # Tuvalu - tv # Tuvalu
# - ug # Uganda - ug # Uganda
- ua # Ukraine - ua # Ukraine
- ae # United Arab Emirates - ae # United Arab Emirates
- gb # United Kingdom - gb # United Kingdom
- us # United States of America - us # United States of America
# - uy # Uruguay - uy # Uruguay
# - uz # Uzbekistan - uz # Uzbekistan
# - vu # Vanuatu - vu # Vanuatu
# - ve # Venezuela - ve # Venezuela
- vn # Vietnam - vn # Vietnam
# - ye # Yemen - ye # Yemen
# - zm # Zambia - zm # Zambia
# - zw # Zimbabwe - zw # Zimbabwe
key_name_override: key_name_override:
kr: Korea kr: Korea

@ -0,0 +1,365 @@
##############################################################################
# Region Collections #
# Created by Adam Pope, bartolomesorianol, & Bullmoose20 #
# Artwork Credit to Duhniel, Bullmoose20, and Wiki Commons #
# EDITING THIS FILE MAY CAUSE PULLING NEW UPDATES TO FAIL #
# https://metamanager.wiki/en/latest/defaults/show/region.html #
##############################################################################
external_templates:
pmm: templates
template_variables:
collection_section: "081"
collections:
Region Collections:
template:
- name: separator
separator: region
key_name: Region
translation_key: separator
dynamic_collections:
Region:
type: origin_country
title_format: <<key_name>>
other_name: Other Regions
template:
- filter
- shared
other_template:
- other_collection
- filter
- shared
template_variables:
filter_term:
default: origin_country
image:
default: country/<<style>>/<<original_key_name_encoded>>
style:
default: white
translation_key:
default: country
other: country_other
dynamic:
default: true
include:
- af # Afghanistan
- aq # Antarctica
- ar # Argentina
- am # Armenia
- au # Australia
- bs # Bahamas
- be # Belgium
- br # Brazil
- ca # Canada
- td # Chad
- cn # China
- cr # Costa Rica
- hr # Croatia
- dk # Denmark
- fr # France
- de # Germany
- gr # Greece
- hk # Hong Kong
- in # India
- ie # Ireland
- it # Italy
- jp # Japan
- ke # Kenya
- kr # Korea
- mx # Mexico
- ma # Morocco
- nz # New Zealand
- ng # Nigeria
- pe # Peru
- pl # Poland
- ru # Russia
- za # South Africa
- es # Spain
- ch # Switzerland
- tw # Taiwan
- th # Thailand
- tr # Turkey
- gb # United Kingdom
- us # United States of America
key_name_override:
af: Central Asian
aq: Antarctica Region
ar: Southern Cone
am: Caucasian
au: Australian
bs: Caribbean
be: Benelux
br: Brazilian
ca: Canadian
td: Central African # Based on UN geoscheme
cn: Chinese and Mongolian
cr: Central American
hr: Balkan
dk: Nordic
fr: French
de: German
gr: Greek
hk: Hong Kong and Macao
in: South Asian
ie: Irish
it: Italian
jp: Japanese
ke: Eastern African # Based on UN geoscheme
kr: Korean
mx: Mexican
ma: Northern African # Based on UN geoscheme
nz: Pacific Island
ng: Western African # Based on UN geoscheme
pe: Andean
pl: Eastern European # Eastern Europe generally considerd to be ex-USSR countries of Russia, Belarus, and Ukraine. This grouping is more ex-iron curtain European countries excluding Russia and Balkans
ru: Russian
za: Southern African
es: Iberian
ch: Central European
tw: Taiwanese
th: South-East Asia
tr: Middle Eastern
gb: UK
us: USA
addons:
# Grouping of countries into sub-regions. Some license has been taken here to ensure all countries are included, and the groupings won't fit well with everyone's collections.
# Western, Southern, and Central Europe, Oceania, and North America could be useful groupings for those libraries with more of an Asian focus, for instance
# Comments added where a decision point might seen as controversial
af: # Afghanistan rarely included as part of Central Asia, the 'stans', but often in South Asia
- kz # Kazakhstan
- kg # Kyrgyzstan
- tj # Tajikistan
- tm # Turkmenistan
- uz # Uzbekistan
ar: # Argentina
- cl # Chile
- py # Paraguay # Not always included as part of Southern Cone
- uy # Uruguay
- fk # Falkland Islands # Also in United Kingdom
am: # Armenia
- az # Azerbaijan
- ge # Georgia
bs: # Bahamas
- ai # Anguilla
- ag # Antigua
- aw # Aruba
- bb # Barbados
- bm # Bermuda
- bq # Bonaire
- ky # Cayman Islands
- cu # Cuba
- cw # Curaçao
- dm # Dominica
- do # Dominican Republic
- gd # Grenada
- gp # Guadeloupe
- ht # Haiti
- jm # Jamaica
- mq # Martinique
- ms # Montserrat
- pr # Puerto Rico
- bl # Saint Barthélemy
- lc # Saint Lucia
- tt # Trinidad and Tobago
- tc # Turks and Caicos
be: # Belgium
- lu # Luxembourg
- nl # Netherlands
td: # Chad
- ao # Angola
- cm # Cameroon
- cf # Central African Republic
- cg # Congo
- gq # Equatorial Guinea
- ga # Gabon
- st # Sao Tome and Principe
cn: # China
- mn # Mongolia
cr: # Costa Rica
- bz # Belize
- sv # El Salvador
- gt # Guatemala
- hn # Honduras
- ni # Nicaragua
- pa # Panama
hr: # Croatia
- al # Albania
- ba # Bosnia and Herzegovina
- bg # Bulgaria
- mk # Macedonia
- me # Montenegro
- ro # Romania
- rs # Serbia
- si # Slovenia
dk: # Denmark
- ax # Åland Islands
- fo # Faroe Islands
- fi # Finland
- gl # Greenland
- is # Iceland
- no # Norway
- sj # Svalbard and Jan Mayen
- se # Sweden
hk: # Hong Kong
- mo # Macao
in: # India
- pk # Pakistan
- bt # Bhutan
- bd # Bangladesh
- np # Nepal
- lk # Sri Lanka
- mv # Maldives
ke: # Kenya
- bi # Burundi
- km # Comoros
- dj # Djibouti
- er # Eritrea
- et # Ethiopia
- mg # Madagascar
- mw # Malawi
- mu # Mauritius
- yt # Mayotte
- mz # Mozambique
- re # Réunion
- rw # Rwanda
- sc # Seychelles
- so # Somalia
- ss # South Sudan
- tz # Tanzania
- ug # Uganda
- zm # Zambia
- zw # Zimbabwe
ma: # Morocco
- dz # Algeria
- eg # Egypt # Also in Middle Eastern
- ly # Libya
- sd # Sudan
- tn # Tunisia
nz: # New Zealand
- ck # Cook Islands
- fj # Fiji
- pf # French Polynesia
- gu # Guam
- ki # Kiribati
- mh # Marshall Islands
- fm # Micronesia
- nr # Nauru
- nc # New Caledonia
- nu # Niue
- nf # Norfolk Island
- pw # Palau
- pn # Pitcairn
- ws # Samoa
- sb # Solomon Islands
- tk # Tokelau
- to # Tonga
- tv # Tuvalu
- vu # Vanuatu
ng: # Nigeria
- bj # Benin
- bf # Burkina Faso
- cv # Cabo Verde
- ci # Côte d'Ivoire
- gm # Gambia
- gh # Ghana
- gn # Guinea
- gw # Guinea-Bissau
- lr # Liberia
- ml # Mali
- mr # Mauritania
- ne # Niger
- sn # Senegal
- sl # Sierra Leone
- tg # Togo
pe: # Peru
- bo # Bolivia
- co # Colombia
- ec # Ecuador
- ve # Venezuela
pl: # Poland
- by # Belarus
- cz # Czech Republic
- ee # Estonia
- hu # Hungary
- lv # Latvia
- lt # Lithuania
- md # Moldova
- sk # Slovakia
- ua # Ukraine
za: # South Africa
- bw # Botswana
- sz # Eswatini
- ls # Lesotho
- na # Namibia
es: # Spain
- ad # Andorra # Also in French
- gi # Gibraltar # Also in United Kingdom
- pt # Portugal
ch: # Switzerland
- at # Austria
- li # Liechtenstein
th: # Thailand
- bn # Brunei
- kh # Cambodia
- id # Indonesia
- la # Lao
- my # Malaysia
- mm # Myanmar
- ph # Philippines
- sg # Singapore
- vn # Vietnam
tr: # Turkey
- bh # Bahrain
- cy # Cyprus
- eg # Egypt # Also in Northern African
- ir # Iran
- iq # Iraq
- il # Israel
- jo # Jordan
- kw # Kuwait
- lb # Lebanon
- om # Oman
- ps # Palestine
- qa # Qatar
- sa # Saudi Arabia
- sy # Syria
- ae # United Arab Emirates
- ye # Yemen
# Grouping of micro-states into existing countries. Some are obviously right, others added as they've nowhere else fitting to go.
aq: # Antarctica
- bv # Bouvet Island # Also in Nordic
au: # Australia
- cx # Christmas Island
- cc # Cocos (Keeling) Islands
- pg # New Guinea # Also in Pacific Islands
- tl # Timor-Leste # Also in Pacific Islands
br: # Brazil
- gf # French Guiana
- gy # Guyana
- sr # Suriname
fr: # France
- mc # Monaco
- ad # Andorra # Also in Iberian
it: # Italy
- va # Holy See
- mt # Malta # Also in United Kingdom and Northern Africa
- sm # San Marino
gb: # United Kingdom
- fk # Falkland Islands # Also in Southern Cone
- gg # Guernsey
- gi # Gibraltar # Also in Iberian
- im # Isle of Man
- je # Jersey
- mt # Malta # Also in Italy and Northern African

@ -258,6 +258,8 @@ html_theme_options = {
("Content Ratings (US)", "defaults/movie/content_rating_us"), ("Content Ratings (US)", "defaults/movie/content_rating_us"),
("Content Ratings (UK)", "defaults/both/content_rating_uk"), ("Content Ratings (UK)", "defaults/both/content_rating_uk"),
("Countries", "defaults/movie/country"), ("Countries", "defaults/movie/country"),
("Regions", "defaults/movie/region"),
("Continents", "defaults/movie/continent"),
("Decades", "defaults/movie/decade"), ("Decades", "defaults/movie/decade"),
("Directors", "defaults/movie/director"), ("Directors", "defaults/movie/director"),
("Franchises", "defaults/movie/franchise"), ("Franchises", "defaults/movie/franchise"),
@ -284,6 +286,8 @@ html_theme_options = {
("US Content Ratings", "defaults/show/content_rating_us"), ("US Content Ratings", "defaults/show/content_rating_us"),
("UK Content Ratings", "defaults/both/content_rating_uk"), ("UK Content Ratings", "defaults/both/content_rating_uk"),
("Countries", "defaults/show/country"), ("Countries", "defaults/show/country"),
("Regions", "defaults/show/region"),
("Continents", "defaults/show/continent"),
("Decades", "defaults/show/decade"), ("Decades", "defaults/show/decade"),
("Franchises", "defaults/show/franchise"), ("Franchises", "defaults/show/franchise"),
("Genres", "defaults/both/genre"), ("Genres", "defaults/both/genre"),

@ -52,6 +52,8 @@ These collections are applied by calling the below paths into the `metadata_path
| [Content Rating (UK)](both/content_rating_uk) | `content_rating_uk` | U, PG, 12A | &#9989; | &#9989; | | [Content Rating (UK)](both/content_rating_uk) | `content_rating_uk` | U, PG, 12A | &#9989; | &#9989; |
| Content Rating (US) [Movie](movie/content_rating_us)/[Show](show/content_rating_us) | `content_rating_us` | G, PG, NC-17 | &#9989; | &#9989; | | Content Rating (US) [Movie](movie/content_rating_us)/[Show](show/content_rating_us) | `content_rating_us` | G, PG, NC-17 | &#9989; | &#9989; |
| Country [Movie](movie/country)/[Show](show/country) | `country` | Belgium, India | &#9989; | &#9989; | | Country [Movie](movie/country)/[Show](show/country) | `country` | Belgium, India | &#9989; | &#9989; |
| Region [Movie](movie/region)/[Show](show/region) | `region` | Iberia, Balkans | &#9989; | &#9989; |
| Continent [Movie](movie/continent)/[Show](show/continent) | `continent` | Asia, North America | &#9989; | &#9989; |
| Decade [Movie](movie/decade)/[Show](show/decade) | `decade` | Best of 2012, Best of 2022 | &#9989; | &#9989; | | Decade [Movie](movie/decade)/[Show](show/decade) | `decade` | Best of 2012, Best of 2022 | &#9989; | &#9989; |
| [Director](movie/director) | `director` | Steven Spielberg (Director), Olivia Wilde (Director) | &#9989; | &#10060; | | [Director](movie/director) | `director` | Steven Spielberg (Director), Olivia Wilde (Director) | &#9989; | &#10060; |
| Franchise [Movie](movie/franchise)/[Show](show/franchise) | `franchise` | Star Wars: Skywalker Saga, Godzilla (Anime) | &#9989; | &#9989; | | Franchise [Movie](movie/franchise)/[Show](show/franchise) | `franchise` | Star Wars: Skywalker Saga, Godzilla (Anime) | &#9989; | &#9989; |

@ -73,6 +73,8 @@ This is the default PMM collection ordering:
| `studio` | `070` | | `studio` | `070` |
| `studio_anime` | `070` | | `studio_anime` | `070` |
| `country` | `080` | | `country` | `080` |
| `region` | `081` |
| `continent` | `082` |
| `based` | `085` | | `based` | `085` |
| `audio_language` | `090` | | `audio_language` | `090` |
| `subtitle_language` | `095` | | `subtitle_language` | `095` |

Binary file not shown.

After

Width:  |  Height:  |  Size: 187 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 215 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 160 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 178 KiB

@ -0,0 +1,366 @@
# Continent Collections
The `continent` Default Metadata File is used to dynamically create collections based on the countries within your library. The collection aims to be inclusive, with all 230 countries incorporated into seven continents.
**This file has a Show Library [Counterpart](../show/continent).**
![](../images/continent1.png)
## Requirements & Recommendations
Supported Library Types: Movie
## Collections Section 082
| Collection | Key | Description |
|:------------------------------------------------|:------------------------------------------------|:----------------------------------------------------------------------------|
| `Continent Collections` | `separator` | [Separator Collection](../separators) to denote the Section of Collections. |
| `<<Continent>>`<br>**Example:** `South America` | `<<Continent>>`<br>**Example:** `South America` | Collection of Movies that have this Continent. |
| `Other Continents` | `other` | Collection of Movies that are in other uncommon Continents. |
## Config
The below YAML in your config.yml will create the collections:
```yaml
libraries:
Movies:
metadata_path:
- pmm: continent
```
## Color Style
Below is a screenshot of the alternative Color (`color`) style which can be set via the `style` template variable.
![](../images/continent2.png)
## Template Variables
Template Variables can be used to manipulate the file in various ways to slightly change how it works without having to make your own local copy.
Note that the `template_variables:` section only needs to be used if you do want to actually change how the defaults work. Any value not specified is its default value if it has one if not it's just ignored.
All [Shared Collection Variables](../collection_variables) are available as well as the additional Variables below which can be used to customize the file.
This file contains a [Separator](../separators) so all [Shared Separator Variables](../separators.md#shared-separator-variables) are available as well.
| Variable | Description & Values |
|:------------------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `style` | **Description:** Controls the visual theme of the collections created<table class="clearTable"><tr><th>Values:</th></tr><tr><td><code>white</code></td><td>White Theme</td></tr><tr><td><code>color</code></td><td>Color Theme</td></tr></table> |
| `limit` | **Description:** Changes the Builder Limit for all collections in a Defaults file.<br>**Values:** Number Greater then 0 |
| `limit_<<key>>`<sup>1</sup> | **Description:** Changes the Builder Limit of the specified key's collection.<br>**Default:** `limit`<br>**Values:** Number Greater then 0 |
| `sort_by` | **Description:** Changes the Smart Filter Sort for all collections in a Defaults file.<br>**Default:** `release.desc`<br>**Values:** [Any `smart_filter` Sort Option](../../metadata/builders/smart.md#sort-options) |
| `sort_by_<<key>>`<sup>1</sup> | **Description:** Changes the Smart Filter Sort of the specified key's collection.<br>**Default:** `sort_by`<br>**Values:** [Any `smart_filter` Sort Option](../../metadata/builders/smart.md#sort-options) |
| `include` | **Description:** Overrides the [default include list](#default-include).<br>**Values:** List of Countries found in your library |
| `exclude` | **Description:** Exclude these Countries from creating a Dynamic Collection.<br>**Values:** List of Countries found in your library |
| `addons` | **Description:** Overrides the [default addons dictionary](#default-addons). Defines how multiple keys can be combined under a parent key. The parent key doesn't have to already exist in Plex<br>**Values:** Dictionary List of Countries found in your library |
| `append_include` | **Description:** Appends to the [default include list](#default-include).<br>**Values:** List of Countries found in your library |
| `append_addons` | **Description:** Appends to the [default addons dictionary](#default-addons).<br>**Values:** Dictionary List of Countries found in your library |
| `name_format` | **Description:** Changes the title format of the Dynamic Collections.<br>**Default:** `<<key_name>>`<br>**Values:** Any string with `<<key_name>>` in it. |
| `summary_format` | **Description:** Changes the summary format of the Dynamic Collections.<br>**Default:** `<<library_translationU>>s filmed in <<key_name>>.`<br>**Values:** Any string. |
1. Each default collection has a `key` that when calling to effect a specific collection you must replace `<<key>>` with when calling.
The below is an example config.yml extract with some Template Variables added in to change how the file works.
```yaml
libraries:
Movies:
metadata_path:
- pmm: continent
template_variables:
use_other: false
use_separator: false
style: color
sep_style: purple
exclude:
- Europe
sort_by: title.asc
```
## Default values
The following yml is provided for reference to show what values will be in use if you do no customization. If you want to customize these values, use the methods described above. These do not show how to change a name or a list.
### Default `include`
```yaml
# List of countries other countries will be grouped into
include:
- Antarctica
- New Zealand
- Brazil
- China
- South Africa
- United Kingdom
- United States of America
# renaming of the above countries to continents
key_name_override:
New Zealand: Oceania
Brazil: South America
China: Asia
South Africa: Africa
United Kingdom: Europe
United States of America: North America
# Grouping of countries into continents
addons:
Antarctica:
- Bouvet Island
China:
- Afghanistan
- Kazakhstan
- Kyrgyzstan
- Tajikistan
- Turkmenistan
- Uzbekistan
- Japan
- Hong Kong
- Macao
- India
- Mongolia
- Pakistan
- Bhutan
- Bangladesh
- Nepal
- Sri Lanka
- Maldives
- Thailand
- Brunei
- Cambodia
- Indonesia
- Lao
- Malaysia
- Myanmar
- Philippines
- Singapore
- Vietnam
- Viet Nam # Duplicating smart filter functionality
- Turkey
- Bahrain
- Cyprus
- Egypt
- Iran
- Iraq
- Israel
- Jordan
- Kuwait
- Lebanon
- Oman
- Palestine
- Qatar
- Saudi Arabia
- Syria
- United Arab Emirates
- Yemen
- Islamic Republic of Iran # Duplicating smart filter functionality
- Taiwan
- Taiwan, Province of China # Duplicating smart filter functionality
- Korea
- Democratic People's Republic of Korea
- North Korea
- Republic of Korea
- South Korea
Brazil:
- Argentina
- Chile
- Paraguay
- Uruguay
- Falkland Islands
- Costa Rica
- Belize
- El Salvador
- Guatemala
- Honduras
- Nicaragua
- Panama
- Peru
- Bolivarian Republic of Venezuela # Duplicating smart filter functionality
- Bolivia
- Colombia
- Ecuador
- Plurinational State of Bolivia # Duplicating smart filter functionality
- Venezuela
- French Guiana
- Guyana
- Suriname
United Kingdom:
- Armenia
- Azerbaijan
- Georgia
- Belgium
- Luxembourg
- Netherlands
- Croatia
- Albania
- Bosnia and Herzegovina
- Bulgaria
- Macedonia
- Montenegro
- Republic of North Macedonia # Duplicating smart filter functionality
- Romania
- Serbia
- Slovenia
- Denmark
- Åland Islands
- Faroe Islands
- Finland
- Greenland
- Iceland
- Norway
- Svalbard and Jan Mayen
- Sweden
- Ireland
- Greece
- Poland
- Belarus
- Czech Republic
- Estonia
- Hungary
- Latvia
- Lithuania
- Moldova
- Slovakia
- Ukraine
- Spain
- Andorra
- Gibraltar
- Portugal
- Austria
- Switzerland
- Liechtenstein
- Russia
- Russian Federation # Duplicating smart filter functionality
- Guernsey
- Gibraltar
- Isle of Man
- Jersey
- Malta
- Germany
- France
- Monaco
- Italy
- Holy See
- Malta
- San Marino
United States of America:
- Anguilla
- Antigua
- Aruba
- Bahamas
- Barbados
- Bermuda
- Bonaire
- Canada
- Cayman Islands
- Cuba
- Curaçao
- Dominica
- Dominican Republic
- Grenada
- Guadeloupe
- Haiti
- Jamaica
- Martinique
- Mexico
- Montserrat
- Puerto Rico
- Saint Barthélemy
- Saint Lucia
- Trinidad and Tobago
- Turks and Caicos
South Africa:
- Chad
- Angola
- Cameroon
- Central African Republic
- Congo
- Democratic Republic of the Congo # Duplicating smart filter functionality
- Equatorial Guinea
- Gabon
- Republic of the Congo
- Sao Tome and Principe
- Kenya
- Burundi
- Comoros
- Djibouti
- Eritrea
- Ethiopia
- Madagascar
- Malawi
- Mauritius
- Mayotte
- Mozambique
- Réunion
- Rwanda
- Seychelles
- Somalia
- South Sudan
- Tanzania
- Uganda
- Zambia
- Zimbabwe
- Morocco
- Algeria
- Egypt
- Libya
- Sudan
- Tunisia
- Nigeria
- Benin
- Burkina Faso
- Cabo Verde
- Côte d'Ivoire
- Gambia
- Ghana
- Guinea
- Guinea-Bissau
- Liberia
- Mali
- Mauritania
- Niger
- Senegal
- Sierra Leone
- Togo
- Botswana
- Eswatini
- Lesotho
- Namibia
New Zealand:
- Australia
- Christmas Island
- Cocos (Keeling) Islands
- New Guinea
- Timor-Leste
- Cook Islands
- Fiji
- French Polynesia
- Guam
- Kiribati
- Marshall Islands
- Micronesia
- Nauru
- New Caledonia
- Niue
- Norfolk Island
- Palau
- Pitcairn
- Samoa
- Solomon Islands
- Tokelau
- Tonga
- Tuvalu
- Vanuatu
```

@ -0,0 +1,361 @@
# Continent Collections
The `continent` Default Metadata File is used to dynamically create collections based on the countries items are tagged with in your library. The collection aims to be inclusive, with all 230 countries incorporated into seven continents.
**This file has a Show Library [Counterpart](../show/continent).**
![](../images/continent1.png)
## Requirements & Recommendations
Supported Library Types: Movie
## Collections Section 082
| Collection | Key | Description |
|:------------------------------------------------|:------------------------------------------------|:----------------------------------------------------------------------------|
| `Continent Collections` | `separator` | [Separator Collection](../separators) to denote the Section of Collections. |
| `<<Continent>>`<br>**Example:** `South America` | `<<Continent>>`<br>**Example:** `South America` | Collection of Movies that have this Continent. |
| `Other Continents` | `other` | Collection of Movies that are in other uncommon Continents. |
## Config
The below YAML in your config.yml will create the collections:
```yaml
libraries:
Movies:
metadata_path:
- pmm: continent
```
## Color Style
Below is a screenshot of the alternative Color (`color`) style which can be set via the `style` template variable.
![](../images/continent2.png)
## Template Variables
Template Variables can be used to manipulate the file in various ways to slightly change how it works without having to make your own local copy.
Note that the `template_variables:` section only needs to be used if you do want to actually change how the defaults work. Any value not specified is its default value if it has one if not it's just ignored.
All [Shared Collection Variables](../collection_variables) are available as well as the additional Variables below which can be used to customize the file.
This file contains a [Separator](../separators) so all [Shared Separator Variables](../separators.md#shared-separator-variables) are available as well.
| Variable | Description & Values |
|:------------------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `style` | **Description:** Controls the visual theme of the collections created<table class="clearTable"><tr><th>Values:</th></tr><tr><td><code>white</code></td><td>White Theme</td></tr><tr><td><code>color</code></td><td>Color Theme</td></tr></table> |
| `limit` | **Description:** Changes the Builder Limit for all collections in a Defaults file.<br>**Values:** Number Greater then 0 |
| `limit_<<key>>`<sup>1</sup> | **Description:** Changes the Builder Limit of the specified key's collection.<br>**Default:** `limit`<br>**Values:** Number Greater then 0 |
| `sort_by` | **Description:** Changes the Smart Filter Sort for all collections in a Defaults file.<br>**Default:** `release.desc`<br>**Values:** [Any `smart_filter` Sort Option](../../metadata/builders/smart.md#sort-options) |
| `sort_by_<<key>>`<sup>1</sup> | **Description:** Changes the Smart Filter Sort of the specified key's collection.<br>**Default:** `sort_by`<br>**Values:** [Any `smart_filter` Sort Option](../../metadata/builders/smart.md#sort-options) |
| `include` | **Description:** Overrides the [default include list](#default-include).<br>**Values:** List of Countries found in your library |
| `exclude` | **Description:** Exclude these Countries from creating a Dynamic Collection.<br>**Values:** List of Countries found in your library |
| `addons` | **Description:** Overrides the [default addons dictionary](#default-addons). Defines how multiple keys can be combined under a parent key. The parent key doesn't have to already exist in Plex<br>**Values:** Dictionary List of Countries found in your library |
| `append_include` | **Description:** Appends to the [default include list](#default-include).<br>**Values:** List of Countries found in your library |
| `append_addons` | **Description:** Appends to the [default addons dictionary](#default-addons).<br>**Values:** Dictionary List of Countries found in your library |
| `name_format` | **Description:** Changes the title format of the Dynamic Collections.<br>**Default:** `<<key_name>>`<br>**Values:** Any string with `<<key_name>>` in it. |
| `summary_format` | **Description:** Changes the summary format of the Dynamic Collections.<br>**Default:** `<<library_translationU>>s filmed in <<key_name>>.`<br>**Values:** Any string. |
1. Each default collection has a `key` that when calling to effect a specific collection you must replace `<<key>>` with when calling.
The below is an example config.yml extract with some Template Variables added in to change how the file works.
```yaml
libraries:
Movies:
metadata_path:
- pmm: continent
template_variables:
use_other: false
use_separator: false
sep_style: purple
exclude:
- Europe
sort_by: title.asc
```
## Default values
The following yml is provided for reference to show what values will be in use if you do no customization. If you want to customize these values, use the methods described above. These do not show how to change a name or a list.
### Default `include`
```yaml
# List of countries other countries will be grouped into
include:
- Antarctica
- New Zealand
- Brazil
- China
- South Africa
- United Kingdom
- United States of America
# renaming of the above countries to continents
key_name_override:
New Zealand: Oceania
Brazil: South America
China: Asia
South Africa: Africa
United Kingdom: Europe
United States of America: North America
# Grouping of countries into continents
addons:
Antarctica:
- Bouvet Island
China:
- Kazakhstan
- Kyrgyzstan
- Tajikistan
- Turkmenistan
- Uzbekistan
- Japan
- Hong Kong
- Macao
- India
- Mongolia
- Pakistan
- Bhutan
- Bangladesh
- Nepal
- Sri Lanka
- Maldives
- Thailand
- Brunei
- Cambodia
- Indonesia
- Lao
- Malaysia
- Myanmar
- Philippines
- Singapore
- Vietnam
- Viet Nam # Duplicating smart filter functionality
- Turkey
- Bahrain
- Cyprus
- Egypt
- Iran
- Iraq
- Israel
- Jordan
- Kuwait
- Lebanon
- Oman
- Palestine
- Qatar
- Saudi Arabia
- Syria
- United Arab Emirates
- Yemen
- Islamic Republic of Iran # Duplicating smart filter functionality
- Taiwan
- Taiwan, Province of China # Duplicating smart filter functionality
- Korea
- Democratic People's Republic of Korea
- North Korea
- Republic of Korea
- South Korea
Brazil:
- Argentina
- Chile
- Paraguay
- Uruguay
- Falkland Islands
- Costa Rica
- Belize
- El Salvador
- Guatemala
- Honduras
- Nicaragua
- Panama
- Peru
- Bolivarian Republic of Venezuela # Duplicating smart filter functionality
- Bolivia
- Colombia
- Ecuador
- Plurinational State of Bolivia # Duplicating smart filter functionality
- Venezuela
- French Guiana
- Guyana
- Suriname
United Kingdom:
- Azerbaijan
- Georgia
- Belgium
- Luxembourg
- Netherlands
- Croatia
- Albania
- Bosnia and Herzegovina
- Bulgaria
- Macedonia
- Montenegro
- Republic of North Macedonia # Duplicating smart filter functionality
- Romania
- Serbia
- Slovenia
- Denmark
- Åland Islands
- Faroe Islands
- Finland
- Greenland
- Iceland
- Norway
- Svalbard and Jan Mayen
- Sweden
- Ireland
- Greece
- Poland
- Belarus
- Czech Republic
- Estonia
- Hungary
- Latvia
- Lithuania
- Moldova
- Slovakia
- Ukraine
- Spain
- Andorra
- Gibraltar
- Portugal
- Austria
- Switzerland
- Liechtenstein
- Russia
- Russian Federation # Duplicating smart filter functionality
- Guernsey
- Gibraltar
- Isle of Man
- Jersey
- Malta
- Germany
- France
- Monaco
- Italy
- Holy See
- Malta
- San Marino
United States of America:
- Anguilla
- Antigua
- Aruba
- Barbados
- Bermuda
- Bonaire
- Canada
- Cayman Islands
- Cuba
- Curaçao
- Dominica
- Dominican Republic
- Grenada
- Guadeloupe
- Haiti
- Jamaica
- Martinique
- Mexico
- Montserrat
- Puerto Rico
- Saint Barthélemy
- Saint Lucia
- Trinidad and Tobago
- Turks and Caicos
South Africa:
- Angola
- Cameroon
- Central African Republic
- Congo
- Democratic Republic of the Congo # Duplicating smart filter functionality
- Equatorial Guinea
- Gabon
- Republic of the Congo
- Sao Tome and Principe
- Kenya
- Burundi
- Comoros
- Djibouti
- Eritrea
- Ethiopia
- Madagascar
- Malawi
- Mauritius
- Mayotte
- Mozambique
- Réunion
- Rwanda
- Seychelles
- Somalia
- South Sudan
- Tanzania
- Uganda
- Zambia
- Zimbabwe
- Morocco
- Algeria
- Egypt
- Libya
- Sudan
- Tunisia
- Nigeria
- Benin
- Burkina Faso
- Cabo Verde
- Côte d'Ivoire
- Gambia
- Ghana
- Guinea
- Guinea-Bissau
- Liberia
- Mali
- Mauritania
- Niger
- Senegal
- Sierra Leone
- Togo
- Botswana
- Eswatini
- Lesotho
- Namibia
New Zealand:
- Australia
- Christmas Island
- Cocos (Keeling) Islands
- New Guinea
- Timor-Leste
- Cook Islands
- Fiji
- French Polynesia
- Guam
- Kiribati
- Marshall Islands
- Micronesia
- Nauru
- New Caledonia
- Niue
- Norfolk Island
- Palau
- Pitcairn
- Samoa
- Solomon Islands
- Tokelau
- Tonga
- Tuvalu
- Vanuatu
```

@ -72,6 +72,7 @@ libraries:
template_variables: template_variables:
use_other: false use_other: false
use_separator: false use_separator: false
style: color
sep_style: purple sep_style: purple
exclude: exclude:
- France - France
@ -86,235 +87,236 @@ These are lists provided for reference to show what values will be in use if you
```yaml ```yaml
include: include:
# - Afghanistan # af - Afghanistan # af
# - Åland Islands # ax - Åland Islands # ax
# - Albania # al - Albania # al
# - Algeria # dz - Algeria # dz
# - Andorra # ad - Andorra # ad
# - Angola # ao - Angola # ao
# - Anguilla # ai - Anguilla # ai
# - Antarctica # aq - Antarctica # aq
# - Antigua # ag - Antigua # ag
- Argentina # ar - Argentina # ar
# - Armenia # am - Armenia # am
# - Aruba # aw - Aruba # aw
- Australia # au - Australia # au
- Austria # at - Austria # at
# - Azerbaijan # az - Azerbaijan # az
- Bahamas # bs - Bahamas # bs
# - Bahrain # bh - Bahrain # bh
# - Bangladesh # bd - Bangladesh # bd
# - Barbados # bb - Barbados # bb
# - Belarus # by - Belarus # by
- Belgium # be - Belgium # be
# - Belize # bz - Belize # bz
# - Benin # bj - Benin # bj
# - Bermuda # bm - Bermuda # bm
# - Bhutan # bt - Bhutan # bt
# - Bolivia # bo - Bolivia # bo
# - Bonaire # bq - Bonaire # bq
# - Bosnia and Herzegovina # ba - Bosnia and Herzegovina # ba
# - Botswana # bw - Botswana # bw
# - Bouvet Island # bv - Bouvet Island # bv
- Brazil # br - Brazil # br
# - Brunei # bn - Brunei # bn
- Bulgaria # bg - Bulgaria # bg
# - Burkina Faso # bf - Burkina Faso # bf
# - Burundi # bi - Burundi # bi
# - Cabo Verde # cv - Cabo Verde # cv
# - Cambodia # kh - Cambodia # kh
# - Cameroon # cm - Cameroon # cm
- Canada # ca - Canada # ca
# - Cayman Islands # ky - Cayman Islands # ky
# - Central African Republic # cf - Central African Republic # cf
# - Chad # td - Chad # td
- Chile # cl - Chile # cl
- China # cn - China # cn
# - Christmas Island # cx - Christmas Island # cx
# - Cocos (Keeling) Islands # cc - Cocos (Keeling) Islands # cc
# - Colombia # co - Colombia # co
# - Comoros # km - Comoros # km
# - Congo # cg - Congo # cg
# - Cook Islands # ck - Cook Islands # ck
- Costa Rica # cr - Costa Rica # cr
# - Côte d'Ivoire # ci - Côte d'Ivoire # ci
- Croatia # hr - Croatia # hr
# - Cuba # cu - Cuba # cu
# - Curaçao # cw - Curaçao # cw
# - Cyprus # cy - Cyprus # cy
- Czech Republic # cz - Czech Republic # cz
- Denmark # dk - Denmark # dk
# - Djibouti # dj - Djibouti # dj
# - Dominica # dm - Dominica # dm
- Dominican Republic # do - Dominican Republic # do
# - Ecuador # ec - Ecuador # ec
- Egypt # eg - Egypt # eg
# - El Salvador # sv - El Salvador # sv
# - Equatorial Guinea # gq - Equatorial Guinea # gq
# - Eritrea # er - Eritrea # er
- Estonia # ee - Estonia # ee
# - Eswatini # sz - Eswatini # sz
# - Ethiopia # et - Ethiopia # et
# - Falkland Islands # fk - Falkland Islands # fk
# - Faroe Islands # fo - Faroe Islands # fo
# - Fiji # fj - Fiji # fj
- Finland # fi - Finland # fi
- France # fr - France # fr
# - French Guiana # gf - French Guiana # gf
# - French Polynesia # pf - French Polynesia # pf
# - Gabon # ga - Gabon # ga
# - Gambia # gm - Gambia # gm
# - Georgia # ge - Georgia # ge
- Germany # de - Germany # de
# - Ghana # gh - Ghana # gh
# - Gibraltar # gi - Gibraltar # gi
- Greece # gr - Greece # gr
# - Greenland # gl - Greenland # gl
# - Grenada # gd - Grenada # gd
# - Guadeloupe # gp - Guadeloupe # gp
# - Guam # gu - Guam # gu
# - Guatemala # gt - Guatemala # gt
# - Guernsey # gg - Guernsey # gg
# - Guinea # gn - Guinea # gn
# - Guinea-Bissau # gw - Guinea-Bissau # gw
# - Guyana # gy - Guyana # gy
# - Haiti # ht - Haiti # ht
# - Holy See # va - Holy See # va
# - Honduras # hn - Honduras # hn
- Hong Kong # hk - Hong Kong # hk
- Hungary # hu - Hungary # hu
- Iceland # is - Iceland # is
- India # in - India # in
- Indonesia # id - Indonesia # id
- Iran # ir - Iran # ir
# - Iraq # iq - Iraq # iq
- Ireland # ie - Ireland # ie
# - Isle of Man # im - Isle of Man # im
- Israel # il - Israel # il
- Italy # it - Italy # it
# - Jamaica # jm - Jamaica # jm
- Japan # jp - Japan # jp
# - Jersey # je - Jersey # je
# - Jordan # jo - Jordan # jo
# - Kazakhstan # kz - Kazakhstan # kz
# - Kenya # ke - Kenya # ke
# - Kiribati # ki - Kiribati # ki
- Korea # kr - Korea # kr
# - Kuwait # kw - Kuwait # kw
# - Kyrgyzstan # kg - Kyrgyzstan # kg
# - Lao # la - Lao # la
- Latvia # lv - Latvia # lv
# - Lebanon # lb - Lebanon # lb
# - Lesotho # ls - Lesotho # ls
# - Liberia # lr - Liberia # lr
# - Libya # ly - Libya # ly
# - Liechtenstein # li - Liechtenstein # li
# - Lithuania # lt - Lithuania # lt
- Luxembourg # lu - Luxembourg # lu
# - Macao # mo - Macao # mo
# - Madagascar # mg - Madagascar # mg
# - Malawi # mw - Malawi # mw
- Malaysia # my - Malaysia # my
# - Maldives # mv - Maldives # mv
# - Mali # ml - Mali # ml
# - Malta # mt - Malta # mt
# - Marshall Islands # mh - Marshall Islands # mh
# - Martinique # mq - Martinique # mq
# - Mauritania # mr - Mauritania # mr
# - Mauritius # mu - Mauritius # mu
# - Mayotte # yt - Mayotte # yt
- Mexico # mx - Mexico # mx
# - Micronesia # fm - Micronesia # fm
# - Moldova # md - Moldova # md
# - Monaco # mc - Monaco # mc
# - Mongolia # mn - Mongolia # mn
# - Montenegro # me - Montenegro # me
# - Montserrat # ms - Montserrat # ms
- Morocco # ma - Morocco # ma
# - Mozambique # mz - Mozambique # mz
# - Myanmar # mm - Myanmar # mm
# - Namibia # na - Namibia # na
# - Nauru # nr - Nauru # nr
# - Nepal # np - Nepal # np
- Netherlands # nl - Netherlands # nl
# - New Caledonia # nc - New Caledonia # nc
- New Zealand # nz - New Zealand # nz
# - Nicaragua # ni - Nicaragua # ni
# - Niger # ne - Niger # ne
# - Nigeria # ng - Nigeria # ng
# - Niue # nu - Niue # nu
# - Norfolk Island # nf - Norfolk Island # nf
# - Macedonia # mk - Macedonia # mk
- Norway # no - Norway # no
# - Oman # om - Oman # om
- Pakistan # pk - Pakistan # pk
# - Palau # pw - Palau # pw
# - Palestine # ps - Palestine # ps
- Panama # pa - Panama # pa
# - New Guinea # pg - New Guinea # pg
# - Paraguay # py - Paraguay # py
- Peru # pe - Peru # pe
- Philippines # ph - Philippines # ph
# - Pitcairn # pn - Pitcairn # pn
- Poland # pl - Poland # pl
- Portugal # pt - Portugal # pt
# - Puerto Rico # pr - Puerto Rico # pr
- Qatar # qa - Qatar # qa
# - Réunion # re - Réunion # re
- Romania # ro - Romania # ro
- Russia # ru - Russia # ru
# - Rwanda # rw - Rwanda # rw
# - Saint Barthélemy # bl - Saint Barthélemy # bl
# - Saint Lucia # lc - Saint Lucia # lc
# - Samoa # ws - Samoa # ws
# - San Marino # sm - San Marino # sm
# - Sao Tome and Principe # st - Sao Tome and Principe # st
- Saudi Arabia # sa - Saudi Arabia # sa
# - Senegal # sn - Senegal # sn
- Serbia # rs - Serbia # rs
# - Seychelles # sc - Seychelles # sc
# - Sierra Leone # sl - Sierra Leone # sl
- Singapore # sg - Singapore # sg
# - Slovakia # sk - Slovakia # sk
# - Slovenia # si - Slovenia # si
# - Solomon Islands # sb - Solomon Islands # sb
# - Somalia # so - Somalia # so
- South Africa # za - South Africa # za
# - South Sudan # ss - South Sudan # ss
- Spain # es - Spain # es
- Sri Lanka # lk - Sri Lanka # lk
# - Sudan # sd - Sudan # sd
# - Suriname # sr - Suriname # sr
- Svalbard and Jan Mayen # sj
- Sweden # se - Sweden # se
- Switzerland # ch - Switzerland # ch
# - Syria # sy - Syria # sy
# - Taiwan # tw - Taiwan # tw
# - Tajikistan # tj - Tajikistan # tj
# - Tanzania # tz - Tanzania # tz
- Thailand # th - Thailand # th
# - Timor-Leste # tl - Timor-Leste # tl
# - Togo # tg - Togo # tg
# - Tokelau # tk - Tokelau # tk
# - Tonga # to - Tonga # to
# - Trinidad and Tobago # tt - Trinidad and Tobago # tt
# - Tunisia # tn - Tunisia # tn
- Turkey # tr - Turkey # tr
# - Turkmenistan # tm - Turkmenistan # tm
# - Turks and Caicos # tc - Turks and Caicos # tc
# - Tuvalu # tv - Tuvalu # tv
# - Uganda # ug - Uganda # ug
- Ukraine # ua - Ukraine # ua
- United Arab Emirates # ae - United Arab Emirates # ae
- United Kingdom # gb - United Kingdom # gb
- United States of America # us - United States of America # us
# - Uruguay # uy - Uruguay # uy
# - Uzbekistan # uz - Uzbekistan # uz
# - Vanuatu # vu - Vanuatu # vu
# - Venezuela # ve - Venezuela # ve
- Vietnam # vn - Vietnam # vn
# - Yemen # ye - Yemen # ye
# - Zambia # zm - Zambia # zm
# - Zimbabwe # zw - Zimbabwe # zw
``` ```
### Default `addons` ### Default `addons`

@ -0,0 +1,429 @@
# Region Collections
The `region` Default Metadata File is used to dynamically create collections based on the countries within your library. The collection aims to be inclusive, with all 230 countries incorporated into 39 countries or collections of countries. Some care has been taken to ensure all countries are included, and the groupings won't fit well with everyone's collections. Western and Southern Europe, Oceania, and North America could be useful groupings for those libraries with more of an Asian focus, for instance. Please see the comments in the yml below where a decision point might be seen as controversial. You are welcome to edit this to fit your own audience's needs.
**This file has a Show Library [Counterpart](../show/region).**
![](../images/region1.png)
## Requirements & Recommendations
Supported Library Types: Movie
## Collections Section 081
| Collection | Key | Description |
|:--------------------------------------|:----------------------------------------|:----------------------------------------------------------------------------|
| `Region Collections` | `separator` | [Separator Collection](../separators) to denote the Section of Collections. |
| `<<Region>>`<br>**Example:** `Nordic` | `<<Region>>`<br>**Example:** `Nordic` | Collection of Movies that have been tagged with countries in this region. |
| `Other Regions` | `other` | Collection of Movies that are in other uncommon Regions. |
## Config
The below YAML in your config.yml will create the collections:
```yaml
libraries:
Movies:
metadata_path:
- pmm: region
```
## Color Style
Below is a screenshot of the alternative Color (`color`) style which can be set via the `style` template variable.
![](../images/region2.png)
## Template Variables
Template Variables can be used to manipulate the file in various ways to slightly change how it works without having to make your own local copy.
Note that the `template_variables:` section only needs to be used if you do want to actually change how the defaults work. Any value not specified is its default value if it has one if not it's just ignored.
All [Shared Collection Variables](../collection_variables) are available as well as the additional Variables below which can be used to customize the file.
This file contains a [Separator](../separators) so all [Shared Separator Variables](../separators.md#shared-separator-variables) are available as well.
| Variable | Description & Values |
|:------------------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `style` | **Description:** Controls the visual theme of the collections created<table class="clearTable"><tr><th>Values:</th></tr><tr><td><code>white</code></td><td>White Theme</td></tr><tr><td><code>color</code></td><td>Color Theme</td></tr></table> |
| `limit` | **Description:** Changes the Builder Limit for all collections in a Defaults file.<br>**Values:** Number Greater then 0 |
| `limit_<<key>>`<sup>1</sup> | **Description:** Changes the Builder Limit of the specified key's collection.<br>**Default:** `limit`<br>**Values:** Number Greater then 0 |
| `sort_by` | **Description:** Changes the Smart Filter Sort for all collections in a Defaults file.<br>**Default:** `release.desc`<br>**Values:** [Any `smart_filter` Sort Option](../../metadata/builders/smart.md#sort-options) |
| `sort_by_<<key>>`<sup>1</sup> | **Description:** Changes the Smart Filter Sort of the specified key's collection.<br>**Default:** `sort_by`<br>**Values:** [Any `smart_filter` Sort Option](../../metadata/builders/smart.md#sort-options) |
| `include` | **Description:** Overrides the [default include list](#default-include).<br>**Values:** List of Countries found in your library |
| `exclude` | **Description:** Exclude these Countries from creating a Dynamic Collection.<br>**Values:** List of Countries found in your library |
| `addons` | **Description:** Overrides the [default addons dictionary](#default-addons). Defines how multiple keys can be combined under a parent key. The parent key doesn't have to already exist in Plex<br>**Values:** Dictionary List of Countries found in your library |
| `append_include` | **Description:** Appends to the [default include list](#default-include).<br>**Values:** List of Countries found in your library |
| `append_addons` | **Description:** Appends to the [default addons dictionary](#default-addons).<br>**Values:** Dictionary List of Countries found in your library |
| `name_format` | **Description:** Changes the title format of the Dynamic Collections.<br>**Default:** `<<key_name>>`<br>**Values:** Any string with `<<key_name>>` in it. |
| `summary_format` | **Description:** Changes the summary format of the Dynamic Collections.<br>**Default:** `<<library_translationU>>s filmed in <<key_name>>.`<br>**Values:** Any string. |
1. Each default collection has a `key` that when calling to effect a specific collection you must replace `<<key>>` with when calling.
The below is an example config.yml extract with some Template Variables added in to change how the file works.
```yaml
libraries:
Movies:
metadata_path:
- pmm: region
template_variables:
use_other: false
use_separator: false
style: color
sep_style: purple
exclude:
- French
sort_by: title.asc
```
## Default values
The following yaml is provided for reference to show what values will be in use if you do no customization. If you want to customize these values, use the methods described above. These do not show how to change a name or a list.
### Default `include`
```yaml
# List of countries other countries will be grouped into
include:
- Afghanistan
- Antarctica
- Argentina
- Armenia
- Australia
- Bahamas
- Belgium
- Brazil
- Canada
- Chad
- China
- Costa Rica
- Croatia
- Denmark
- France
- Germany
- Greece
- Hong Kong
- India
- Ireland
- Italy
- Japan
- Kenya
- Korea
- Mexico
- Morocco
- New Zealand
- Nigeria
- Peru
- Poland
- Russia
- South Africa
- Spain
- Switzerland
- Taiwan
- Thailand
- Turkey
- United Kingdom
- United States of America
# renaming of the above countries
key_name_override:
Afghanistan: Central Asian
Antarctica: Antarctica Region
Argentina: Southern Cone
Armenia: Caucasian
Australia: Australian
Bahamas: Caribbean
Belgium: Benelux
Brazil: Brazilian
Canada: Canadian
Chad: Central African # Based on UN geoscheme
China: Chinese and Mongolian
Costa Rica: Central American
Croatia: Balkan
Denmark: Nordic
France: French
Japan: Japanese
Germany: German
Greece: Greek
Hong Kong: Hong Kong and Macao
India: South Asian
Ireland: Irish
Italy: Italian
Kenya: Eastern African # Based on UN geoscheme
Korea: Korean
Mexico: Mexican
Morocco: Northern African # Based on UN geoscheme
New Zealand: Pacific Island
Nigeria: Western African # Based on UN geoscheme
Peru: Andean
Poland: Eastern European # Eastern European generally considerd to be ex-USSR countries of Russia, Belarus, and Ukraine. This grouping is more ex-iron curtain European countries excluding Russia and Balkans
Russia: Russian
South Africa: Southern African
Spain: Iberian
Switzerland: Central European
Taiwan: Taiwanese
Thailand: South-East Asia
Turkey: Middle Eastern
United Kingdom: UK
United States of America: USA
addons:
# Grouping of countries into sub-regions. Some license has been taken here to ensure all countries are included, and the groupings won't fit well with everyone's collections.
# Western, Southern, and Central Europe, Oceania, and North America could be useful groupings for those libraries with more of an Asian focus, for instance
# Comments added where a decision point might seen as controversial
Afghanistan: # Afghanistan rarely included as part of Central Asian, the 'stans', but often in South Asian
- Kazakhstan
- Kyrgyzstan
- Tajikistan
- Turkmenistan
- Uzbekistan
Argentina:
- Chile
- Paraguay # Not always included as part of Southern Cone
- Uruguay
- Falkland Islands # Also in UK
Armenia:
- Azerbaijan
- Georgia
Bahamas:
- Anguilla
- Antigua
- Aruba
- Barbados
- Bermuda
- Bonaire
- Cayman Islands
- Cuba
- Curaçao
- Dominica
- Dominican Republic
- Grenada
- Guadeloupe
- Haiti
- Jamaica
- Martinique
- Montserrat
- Puerto Rico
- Saint Barthélemy
- Saint Lucia
- Trinidad and Tobago
- Turks and Caicos
Belgium:
- Luxembourg
- Netherlands
Chad:
- Angola
- Cameroon
- Central African Republic
- Congo
- Democratic Republic of the Congo # Duplicating smart filter functionality
- Equatorial Guinea
- Gabon
- Republic of the Congo
- Sao Tome and Principe
Costa Rica:
- Belize
- El Salvador
- Guatemala
- Honduras
- Nicaragua
- Panama
Croatia:
- Albania
- Bosnia and Herzegovina
- Bulgaria
- Macedonia
- Montenegro
- Republic of North Macedonia # Duplicating smart filter functionality
- Romania
- Serbia
- Slovenia
Denmark:
- Åland Islands
- Faroe Islands
- Finland
- Greenland
- Iceland
- Norway
- Svalbard and Jan Mayen
- Sweden
India:
- Pakistan
- Bhutan
- Bangladesh
- Nepal
- Sri Lanka
- Maldives
Kenya:
- Burundi
- Comoros
- Djibouti
- Eritrea
- Ethiopia
- Madagascar
- Malawi
- Mauritius
- Mayotte
- Mozambique
- Réunion
- Rwanda
- Seychelles
- Somalia
- South Sudan
- Tanzania
- Uganda
- Zambia
- Zimbabwe
Morocco:
- Algeria
- Egypt # Also in Middle Eastern
- Libya
- Sudan
- Tunisia
New Zealand:
- Cook Islands
- Fiji
- French Polynesia
- Guam
- Kiribati
- Marshall Islands
- Micronesia
- Nauru
- New Caledonia
- Niue
- Norfolk Island
- Palau
- Pitcairn
- Samoa
- Solomon Islands
- Tokelau
- Tonga
- Tuvalu
- Vanuatu
Nigeria:
- Benin
- Burkina Faso
- Cabo Verde
- Côte d'Ivoire
- Gambia
- Ghana
- Guinea
- Guinea-Bissau
- Liberia
- Mali
- Mauritania
- Niger
- Senegal
- Sierra Leone
- Togo
Peru:
- Bolivarian Republic of Venezuela # Duplicating smart filter functionality
- Bolivia
- Colombia
- Ecuador
- Plurinational State of Bolivia # Duplicating smart filter functionality
- Venezuela
Poland:
- Belarus
- Czech Republic
- Estonia
- Hungary
- Latvia
- Lithuania
- Moldova
- Slovakia
- Ukraine
South Africa:
- Botswana
- Eswatini
- Lesotho
- Namibia
Spain:
- Andorra # Also in French
- Gibraltar # Also in UK
- Portugal
Switzerland:
- Austria
- Liechtenstein
Thailand:
- Brunei
- Cambodia
- Indonesia
- Lao
- Malaysia
- Myanmar
- Philippines
- Singapore
- Vietnam
- Viet Nam # Duplicating smart filter functionality
Turkey:
- Bahrain
- Cyprus
- Egypt # Also in Northern African
- Iran
- Iraq
- Israel
- Jordan
- Kuwait
- Lebanon
- Oman
- Palestine
- Qatar
- Saudi Arabia
- Syria
- United Arab Emirates
- Yemen
- Islamic Republic of Iran # Duplicating smart filter functionality
# Grouping of micro-states into existing countries. Some are obviously right, others added as they've nowhere else fitting to go.
Antarctica:
- Bouvet Island # Also in Nordic
Australia:
- Christmas Island
- Cocos (Keeling) Islands
- New Guinea # Also in Pacific Island
- Timor-Leste # Also in Pacific Island
Brazil:
- French Guiana
- Guyana
- Suriname
France:
- Monaco
- Andorra # Also in Iberian
Italy:
- Holy See
- Malta # Also in UK and Northern African
- San Marino
Korea:
- Democratic People's Republic of Korea
- North Korea
- Republic of Korea # Added as default addon for Korea overridden
- South Korea # Added as default addon for Korea overridden
United Kingdom:
- Falkland Islands # Also in Southern Cone
- Guernsey
- Gibraltar # Also in Iberian
- Isle of Man
- Jersey
- Malta # Also in Italian and Northern African
# Duplicating smart filter functionality
Taiwan:
- Taiwan, Province of China
Russia:
- Russian Federation
```

@ -0,0 +1,428 @@
# Region Collections
The `region` Default Metadata File is used to dynamically create collections based on the countries items are tagged with in your library. The collection aims to be inclusive, with all 230 countries incorporated into 39 countries or collections of countries. Some license has been taken to ensure all countries are included, and the groupings won't fit well with everyone's collections. Western and Southern Europe, Oceania, and North America could be useful groupings for those libraries with more of an Asian focus, for instance. Please see the comments in the yml below where a decision point might seen as controversial. You are welcome to edit this to fit your own audience's needs.
**This file has a Show Library [Counterpart](../show/region).**
![](../images/region1.png)
## Requirements & Recommendations
Supported Library Types: Movie
## Collections Section 081
| Collection | Key | Description |
|:----------------------------------------|:----------------------------------------|:----------------------------------------------------------------------------|
| `Region Collections` | `separator` | [Separator Collection](../separators) to denote the Section of Collections. |
| `<<Region>>`<br>**Example:** `Nordic` | `<<Region>>`<br>**Example:** `Nordic` | Collection of Movies that have been tagged with countries in this region. |
| `Other Regions` | `other` | Collection of Movies that are in other uncommon Regions. |
## Config
The below YAML in your config.yml will create the collections:
```yaml
libraries:
Movies:
metadata_path:
- pmm: region
```
## Color Style
Below is a screenshot of the alternative Color (`color`) style which can be set via the `style` template variable.
![](../images/region2.png)
## Template Variables
Template Variables can be used to manipulate the file in various ways to slightly change how it works without having to make your own local copy.
Note that the `template_variables:` section only needs to be used if you do want to actually change how the defaults work. Any value not specified is its default value if it has one if not it's just ignored.
All [Shared Collection Variables](../collection_variables) are available as well as the additional Variables below which can be used to customize the file.
This file contains a [Separator](../separators) so all [Shared Separator Variables](../separators.md#shared-separator-variables) are available as well.
| Variable | Description & Values |
|:------------------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `style` | **Description:** Controls the visual theme of the collections created<table class="clearTable"><tr><th>Values:</th></tr><tr><td><code>white</code></td><td>White Theme</td></tr><tr><td><code>color</code></td><td>Color Theme</td></tr></table> |
| `limit` | **Description:** Changes the Builder Limit for all collections in a Defaults file.<br>**Values:** Number Greater then 0 |
| `limit_<<key>>`<sup>1</sup> | **Description:** Changes the Builder Limit of the specified key's collection.<br>**Default:** `limit`<br>**Values:** Number Greater then 0 |
| `sort_by` | **Description:** Changes the Smart Filter Sort for all collections in a Defaults file.<br>**Default:** `release.desc`<br>**Values:** [Any `smart_filter` Sort Option](../../metadata/builders/smart.md#sort-options) |
| `sort_by_<<key>>`<sup>1</sup> | **Description:** Changes the Smart Filter Sort of the specified key's collection.<br>**Default:** `sort_by`<br>**Values:** [Any `smart_filter` Sort Option](../../metadata/builders/smart.md#sort-options) |
| `include` | **Description:** Overrides the [default include list](#default-include).<br>**Values:** List of Countries found in your library |
| `exclude` | **Description:** Exclude these Countries from creating a Dynamic Collection.<br>**Values:** List of Countries found in your library |
| `addons` | **Description:** Overrides the [default addons dictionary](#default-addons). Defines how multiple keys can be combined under a parent key. The parent key doesn't have to already exist in Plex<br>**Values:** Dictionary List of Countries found in your library |
| `append_include` | **Description:** Appends to the [default include list](#default-include).<br>**Values:** List of Countries found in your library |
| `append_addons` | **Description:** Appends to the [default addons dictionary](#default-addons).<br>**Values:** Dictionary List of Countries found in your library |
| `name_format` | **Description:** Changes the title format of the Dynamic Collections.<br>**Default:** `<<key_name>>`<br>**Values:** Any string with `<<key_name>>` in it. |
| `summary_format` | **Description:** Changes the summary format of the Dynamic Collections.<br>**Default:** `<<library_translationU>>s filmed in <<key_name>>.`<br>**Values:** Any string. |
1. Each default collection has a `key` that when calling to effect a specific collection you must replace `<<key>>` with when calling.
The below is an example config.yml extract with some Template Variables added in to change how the file works.
```yaml
libraries:
Movies:
metadata_path:
- pmm: region
template_variables:
use_other: false
use_separator: false
sep_style: purple
exclude:
- French
sort_by: title.asc
```
## Default values
The following yaml is provided for reference to show what values will be in use if you do no customization. If you want to customize these values, use the methods described above. These do not show how to change a name or a list.
### Default `include`
```yaml
# List of countries other countries will be grouped into
include:
- Afghanistan
- Antarctica
- Argentina
- Armenia
- Australia
- Bahamas
- Belgium
- Brazil
- Canada
- Chad
- China
- Costa Rica
- Croatia
- Denmark
- France
- Germany
- Greece
- Hong Kong
- India
- Ireland
- Italy
- Japan
- Kenya
- Korea
- Mexico
- Morocco
- New Zealand
- Nigeria
- Peru
- Poland
- Russia
- South Africa
- Spain
- Switzerland
- Taiwan
- Thailand
- Turkey
- United Kingdom
- United States of America
# renaming of the above countries
key_name_override:
Afghanistan: Central Asian
Antarctica: Antarctica Region
Argentina: Southern Cone
Armenia: Caucasian
Australia: Australian
Bahamas: Caribbean
Belgium: Benelux
Brazil: Brazilian
Canada: Canadian
Chad: Central African # Based on UN geoscheme
China: Chinese and Mongolian
Costa Rica: Central American
Croatia: Balkan
Denmark: Nordic
France: French
Japan: Japanese
Germany: German
Greece: Greek
Hong Kong: Hong Kong and Macao
India: South Asian
Ireland: Irish
Italy: Italian
Kenya: Eastern African # Based on UN geoscheme
Korea: Korean
Mexico: Mexican
Morocco: Northern African # Based on UN geoscheme
New Zealand: Pacific Island
Nigeria: Western African # Based on UN geoscheme
Peru: Andean
Poland: Eastern European # Eastern European generally considerd to be ex-USSR countries of Russia, Belarus, and Ukraine. This grouping is more ex-iron curtain European countries excluding Russia and Balkans
Russia: Russian
South Africa: Southern African
Spain: Iberian
Switzerland: Central European
Taiwan: Taiwanese
Thailand: South-East Asia
Turkey: Middle Eastern
United Kingdom: UK
United States of America: USA
addons:
# Grouping of countries into sub-regions. Some license has been taken here to ensure all countries are included, and the groupings won't fit well with everyone's collections.
# Western, Southern, and Central Europe, Oceania, and North America could be useful groupings for those libraries with more of an Asian focus, for instance
# Comments added where a decision point might seen as controversial
Afghanistan: # Afghanistan rarely included as part of Central Asian, the 'stans', but often in South Asian
- Kazakhstan
- Kyrgyzstan
- Tajikistan
- Turkmenistan
- Uzbekistan
Argentina:
- Chile
- Paraguay # Not always included as part of Southern Cone
- Uruguay
- Falkland Islands # Also in UK
Armenia:
- Azerbaijan
- Georgia
Bahamas:
- Anguilla
- Antigua
- Aruba
- Barbados
- Bermuda
- Bonaire
- Cayman Islands
- Cuba
- Curaçao
- Dominica
- Dominican Republic
- Grenada
- Guadeloupe
- Haiti
- Jamaica
- Martinique
- Montserrat
- Puerto Rico
- Saint Barthélemy
- Saint Lucia
- Trinidad and Tobago
- Turks and Caicos
Belgium:
- Luxembourg
- Netherlands
Chad:
- Angola
- Cameroon
- Central African Republic
- Congo
- Democratic Republic of the Congo # Duplicating smart filter functionality
- Equatorial Guinea
- Gabon
- Republic of the Congo
- Sao Tome and Principe
Costa Rica:
- Belize
- El Salvador
- Guatemala
- Honduras
- Nicaragua
- Panama
Croatia:
- Albania
- Bosnia and Herzegovina
- Bulgaria
- Macedonia
- Montenegro
- Republic of North Macedonia # Duplicating smart filter functionality
- Romania
- Serbia
- Slovenia
Denmark:
- Åland Islands
- Faroe Islands
- Finland
- Greenland
- Iceland
- Norway
- Svalbard and Jan Mayen
- Sweden
India:
- Pakistan
- Bhutan
- Bangladesh
- Nepal
- Sri Lanka
- Maldives
Kenya:
- Burundi
- Comoros
- Djibouti
- Eritrea
- Ethiopia
- Madagascar
- Malawi
- Mauritius
- Mayotte
- Mozambique
- Réunion
- Rwanda
- Seychelles
- Somalia
- South Sudan
- Tanzania
- Uganda
- Zambia
- Zimbabwe
Morocco:
- Algeria
- Egypt # Also in Middle Eastern
- Libya
- Sudan
- Tunisia
New Zealand:
- Cook Islands
- Fiji
- French Polynesia
- Guam
- Kiribati
- Marshall Islands
- Micronesia
- Nauru
- New Caledonia
- Niue
- Norfolk Island
- Palau
- Pitcairn
- Samoa
- Solomon Islands
- Tokelau
- Tonga
- Tuvalu
- Vanuatu
Nigeria:
- Benin
- Burkina Faso
- Cabo Verde
- Côte d'Ivoire
- Gambia
- Ghana
- Guinea
- Guinea-Bissau
- Liberia
- Mali
- Mauritania
- Niger
- Senegal
- Sierra Leone
- Togo
Peru:
- Bolivarian Republic of Venezuela # Duplicating smart filter functionality
- Bolivia
- Colombia
- Ecuador
- Plurinational State of Bolivia # Duplicating smart filter functionality
- Venezuela
Poland:
- Belarus
- Czech Republic
- Estonia
- Hungary
- Latvia
- Lithuania
- Moldova
- Slovakia
- Ukraine
South Africa:
- Botswana
- Eswatini
- Lesotho
- Namibia
Spain:
- Andorra # Also in French
- Gibraltar # Also in UK
- Portugal
Switzerland:
- Austria
- Liechtenstein
Thailand:
- Brunei
- Cambodia
- Indonesia
- Lao
- Malaysia
- Myanmar
- Philippines
- Singapore
- Vietnam
- Viet Nam # Duplicating smart filter functionality
Turkey:
- Bahrain
- Cyprus
- Egypt # Also in Northern African
- Iran
- Iraq
- Israel
- Jordan
- Kuwait
- Lebanon
- Oman
- Palestine
- Qatar
- Saudi Arabia
- Syria
- United Arab Emirates
- Yemen
- Islamic Republic of Iran # Duplicating smart filter functionality
# Grouping of micro-states into existing countries. Some are obviously right, others added as they've nowhere else fitting to go.
Antarctica:
- Bouvet Island # Also in Nordic
Australia:
- Christmas Island
- Cocos (Keeling) Islands
- New Guinea # Also in Pacific Island
- Timor-Leste # Also in Pacific Island
Brazil:
- French Guiana
- Guyana
- Suriname
France:
- Monaco
- Andorra # Also in Iberian
Italy:
- Holy See
- Malta # Also in UK and Northern African
- San Marino
Korea:
- Democratic People's Republic of Korea
- North Korea
- Republic of Korea # Added as default addon for Korea overridden
- South Korea # Added as default addon for Korea overridden
United Kingdom:
- Falkland Islands # Also in Southern Cone
- Guernsey
- Gibraltar # Also in Iberian
- Isle of Man
- Jersey
- Malta # Also in Italian and Northern African
# Duplicating smart filter functionality
Taiwan:
- Taiwan, Province of China
Russia:
- Russian Federation
```

@ -0,0 +1,353 @@
# Continent Collections
The `continent` Default Metadata File is used to dynamically create collections based on the countries within your library. The collection aims to be inclusive, with all 230 countries incorporated into seven continents.
**This file has a Movie Library [Counterpart](../movie/continent).**
![](../images/continent1.png)
## Requirements & Recommendations
Supported Library Types: Show
## Collections Section 082
| Collection | Key | Description |
|:------------------------------------------------|:---------------------------------------------------|:----------------------------------------------------------------------------|
| `Continent Collections` | `separator` | [Separator Collection](../separators) to denote the Section of Collections. |
| `<<Continent>>`<br>**Example:** `South America` | `<<2 digit ISO 3166-1 code>>`<br>**Example:** `br` | Collection of TV Shows that have this Continent. |
| `Other Continents` | `other` | Collection of TV Shows that are in other uncommon Continents. |
## Config
The below YAML in your config.yml will create the collections:
```yaml
libraries:
TV Shows:
metadata_path:
- pmm: continent
```
## Color Style
Below is a screenshot of the alternative Color (`color`) style which can be set via the `style` template variable.
![](../images/continent2.png)
## Template Variables
Template Variables can be used to manipulate the file in various ways to slightly change how it works without having to make your own local copy.
Note that the `template_variables:` section only needs to be used if you do want to actually change how the defaults work. Any value not specified is its default value if it has one if not it's just ignored.
All [Shared Collection Variables](../collection_variables) are available as well as the additional Variables below which can be used to customize the file.
This file contains a [Separator](../separators) so all [Shared Separator Variables](../separators.md#shared-separator-variables) are available as well.
| Variable | Description & Values |
|:--------------------------------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `style` | **Description:** Controls the visual theme of the collections created<table class="clearTable"><tr><th>Values:</th></tr><tr><td><code>white</code></td><td>White Theme</td></tr><tr><td><code>color</code></td><td>Color Theme</td></tr></table> |
| `limit` | **Description:** Changes the Builder Limit for all collections in a Defaults file.<br>**Values:** Number Greater then 0 |
| `limit_<<key>>`<sup>1</sup> | **Description:** Changes the Builder Limit of the specified key's collection.<br>**Default:** `limit`<br>**Values:** Number Greater then 0 |
| `sync_mode` | **Description:** Changes the Sync Mode for all collections in a Defaults file.<br>**Default:** `sync`<br>**Values:**<table class="clearTable"><tr><td>`sync`</td><td>Add and Remove Items based on Builders</td></tr><tr><td>`append`</td><td>Only Add Items based on Builders</td></tr></table> |
| `sync_mode_<<key>>`<sup>1</sup> | **Description:** Changes the Sync Mode of the specified key's collection.<br>**Default:** `sync_mode`<br>**Values:**<table class="clearTable"><tr><td>`sync`</td><td>Add and Remove Items based on Builders</td></tr><tr><td>`append`</td><td>Only Add Items based on Builders</td></tr></table> |
| `sort_by` | **Description:** Changes the Smart Filter Sort for all collections in a Defaults file.<br>**Default:** `release.desc`<br>**Values:** [Any `smart_filter` Sort Option](../../metadata/builders/smart.md#sort-options) |
| `sort_by_<<key>>`<sup>1</sup> | **Description:** Changes the Smart Filter Sort of the specified key's collection.<br>**Default:** `sort_by`<br>**Values:** [Any `smart_filter` Sort Option](../../metadata/builders/smart.md#sort-options) |
| `include` | **Description:** Overrides the [default include list](#default-include).<br>**Values:** List of [2 digit ISO 3166-1 codes](https://en.wikipedia.org/wiki/List_of_ISO_3166_continent_codes) |
| `exclude` | **Description:** Exclude these Countries from creating a Dynamic Collection.<br>**Values:** List of [2 digit ISO 3166-1 codes](https://en.wikipedia.org/wiki/List_of_ISO_3166_continent_codes) |
| `addons` | **Description:** Defines how multiple keys can be combined under a parent key. The parent key doesn't have to already exist in Plex<br>**Values:** Dictionary List of [2 digit ISO 3166-1 codes](https://en.wikipedia.org/wiki/List_of_ISO_3166_continent_codes) |
| `append_include` | **Description:** Appends to the [default include list](#default-include).<br>**Values:** List of [2 digit ISO 3166-1 codes](https://en.wikipedia.org/wiki/List_of_ISO_3166_continent_codes) |
| `key_name_override` | **Description:** Overrides the [default key_name_override dictionary](#default-key_name_override).<br>**Values:** Dictionary with `key: new_key_name` entries |
| `name_format` | **Description:** Changes the title format of the Dynamic Collections.<br>**Default:** `<<key_name>>`<br>**Values:** Any string with `<<key_name>>` in it. |
| `summary_format` | **Description:** Changes the summary format of the Dynamic Collections.<br>**Default:** `<<library_translationU>>s filmed in <<key_name>>.`<br>**Values:** Any string. |
1. Each default collection has a `key` that when calling to effect a specific collection you must replace `<<key>>` with when calling.
The below is an example config.yml extract with some Template Variables added in to change how the file works.
```yaml
libraries:
TV Shows:
metadata_path:
- pmm: continent
template_variables:
use_other: false
use_separator: false
style: color
sep_style: purple
exclude:
- nz
sort_by: title.asc
```
## Default values
These are lists provided for reference to show what values will be in use if you do no customization. If you want to customize these values, use the methods described above. These do not show how to change a name or a list.
### Default `include`
```yaml
# Countries where other countries will be grouped into
include:
- aq # Antarctica
- nz # New Zealand
- br # Brazil
- cn # China
- za # South Africa
- gb # United Kingdom
- us # United States of America
```
### Default `key_name_override`
```yaml
# Name changes for the above countries
key_name_override:
nz: Oceania
br: South America
cn: Asia
za: Africa
gb: Europe
us: North America
```
### Default `addons`
```yaml
# Grouping of countries into continents
addons:
aq: # Antarctica
- bv # Bouvet Island
cn: # China - Asia
- af # Afghanistan
- kz # Kazakhstan
- kg # Kyrgyzstan
- tj # Tajikistan
- tm # Turkmenistan
- uz # Uzbekistan
- mn # Mongolia
- in # India
- pk # Pakistan
- bt # Bhutan
- bd # Bangladesh
- np # Nepal
- lk # Sri Lanka
- mv # Maldives
- jp # Japan
- hk # Hong Kong
- mo # Macao
- th # Thailand
- bn # Brunei
- kh # Cambodia
- id # Indonesia
- la # Lao
- my # Malaysia
- mm # Myanmar
- ph # Philippines
- sg # Singapore
- vn # Vietnam
- tr # Turkey
- bh # Bahrain
- cy # Cyprus
- eg # Egypt
- ir # Iran
- iq # Iraq
- il # Israel
- jo # Jordan
- kw # Kuwait
- lb # Lebanon
- om # Oman
- ps # Palestine
- qa # Qatar
- sa # Saudi Arabia
- sy # Syria
- ae # United Arab Emirates
- ye # Yemen
- tw # Taiwan
- kr # Korea
br: # Brazil - South America
- ar # Argentina
- cl # Chile
- py # Paraguay
- uy # Uruguay
- fk # Falkland Islands
- cr # Costa Rica
- bz # Belize
- sv # El Salvador
- gt # Guatemala
- hn # Honduras
- ni # Nicaragua
- pa # Panama
- pe # Peru
- bo # Bolivia
- co # Colombia
- ec # Ecuador
- ve # Venezuela
- gf # French Guiana
- gy # Guyana
- sr # Suriname
gb: # United Kingdom - Europe
- am # Armenia
- az # Azerbaijan
- ge # Georgia
- be # Belgium
- lu # Luxembourg
- nl # Netherlands
- hr # Croatia
- al # Albania
- ba # Bosnia and Herzegovina
- bg # Bulgaria
- mk # Macedonia
- me # Montenegro
- ro # Romania
- rs # Serbia
- si # Slovenia
- dk # Denmark
- ax # Åland Islands
- fo # Faroe Islands
- fi # Finland
- gl # Greenland
- is # Iceland
- no # Norway
- sj # Svalbard and Jan Mayen
- se # Sweden
- ie # Ireland
- gr # Greece
- pl # Poland
- by # Belarus
- cz # Czech Republic
- ee # Estonia
- hu # Hungary
- lv # Latvia
- lt # Lithuania
- md # Moldova
- sk # Slovakia
- ua # Ukraine
- es # Spain
- ad # Andorra
- pt # Portugal
- ch # Switzerland
- at # Austria
- li # Liechtenstein
- ru # Russia
- gg # Guernsey
- gi # Gibraltar
- im # Isle of Man
- je # Jersey
- mt # Malta
- de # Germany
- fr # France
- mc # Monaco
- it # Italy
- va # Holy See
- sm # San Marino
us: # United States of America - North America
- bs # Bahamas
- ai # Anguilla
- ag # Antigua
- aw # Aruba
- bb # Barbados
- bm # Bermuda
- bq # Bonaire
- ky # Cayman Islands
- cu # Cuba
- cw # Curaçao
- dm # Dominica
- do # Dominican Republic
- gd # Grenada
- gp # Guadeloupe
- ht # Haiti
- jm # Jamaica
- mq # Martinique
- ms # Montserrat
- pr # Puerto Rico
- bl # Saint Barthélemy
- lc # Saint Lucia
- tt # Trinidad and Tobago
- tc # Turks and Caicos
- ca # Canada
- mx # Mexico
za: # South Africa - Africa
- td # Chad
- ao # Angola
- cm # Cameroon
- cf # Central African Republic
- cg # Congo
- gq # Equatorial Guinea
- ga # Gabon
- st # Sao Tome and Principe
- ke # Kenya
- bi # Burundi
- km # Comoros
- dj # Djibouti
- er # Eritrea
- et # Ethiopia
- mg # Madagascar
- mw # Malawi
- mu # Mauritius
- yt # Mayotte
- mz # Mozambique
- re # Réunion
- rw # Rwanda
- sc # Seychelles
- so # Somalia
- ss # South Sudan
- tz # Tanzania
- ug # Uganda
- zm # Zambia
- zw # Zimbabwe
- ma # Morocco
- dz # Algeria
- eg # Egypt
- ly # Libya
- sd # Sudan
- tn # Tunisia
- ng # Nigeria
- bj # Benin
- bf # Burkina Faso
- cv # Cabo Verde
- ci # Côte d'Ivoire
- gm # Gambia
- gh # Ghana
- gn # Guinea
- gw # Guinea-Bissau
- lr # Liberia
- ml # Mali
- mr # Mauritania
- ne # Niger
- sn # Senegal
- sl # Sierra Leone
- tg # Togo
- bw # Botswana
- sz # Eswatini
- ls # Lesotho
- na # Namibia
nz: # New Zealand - Oceania
- au # Australia
- cx # Christmas Island
- cc # Cocos (Keeling) Islands
- pg # New Guinea
- tl # Timor-Leste
- ck # Cook Islands
- fj # Fiji
- pf # French Polynesia
- gu # Guam
- ki # Kiribati
- mh # Marshall Islands
- fm # Micronesia
- nr # Nauru
- nc # New Caledonia
- nu # Niue
- nf # Norfolk Island
- pw # Palau
- pn # Pitcairn
- ws # Samoa
- sb # Solomon Islands
- tk # Tokelau
- to # Tonga
- tv # Tuvalu
- vu # Vanuatu
```

@ -0,0 +1,352 @@
# Continent Collections
The `continent` Default Metadata File is used to dynamically create collections based on the countries items are tagged with in your library. The collection aims to be inclusive, with all 230 countries incorporated into seven continents.
**This file has a Movie Library [Counterpart](../movie/continent).**
![](../images/continent1.png)
## Requirements & Recommendations
Supported Library Types: Show
## Collections Section 082
| Collection | Key | Description |
|:----------------------------------------|:---------------------------------------------------|:----------------------------------------------------------------------------|
| `Continent Collections` | `separator` | [Separator Collection](../separators) to denote the Section of Collections. |
| `<<Continent>>`<br>**Example:** `South America` | `<<2 digit ISO 3166-1 code>>`<br>**Example:** `br` | Collection of TV Shows that have this Continent. |
| `Other Continents` | `other` | Collection of TV Shows that are in other uncommon Continents. |
## Config
The below YAML in your config.yml will create the collections:
```yaml
libraries:
TV Shows:
metadata_path:
- pmm: continent
```
## Color Style
Below is a screenshot of the alternative Color (`color`) style which can be set via the `style` template variable.
![](../images/continent2.png)
## Template Variables
Template Variables can be used to manipulate the file in various ways to slightly change how it works without having to make your own local copy.
Note that the `template_variables:` section only needs to be used if you do want to actually change how the defaults work. Any value not specified is its default value if it has one if not it's just ignored.
All [Shared Collection Variables](../collection_variables) are available as well as the additional Variables below which can be used to customize the file.
This file contains a [Separator](../separators) so all [Shared Separator Variables](../separators.md#shared-separator-variables) are available as well.
| Variable | Description & Values |
|:--------------------------------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `style` | **Description:** Controls the visual theme of the collections created<table class="clearTable"><tr><th>Values:</th></tr><tr><td><code>white</code></td><td>White Theme</td></tr><tr><td><code>color</code></td><td>Color Theme</td></tr></table> |
| `limit` | **Description:** Changes the Builder Limit for all collections in a Defaults file.<br>**Values:** Number Greater then 0 |
| `limit_<<key>>`<sup>1</sup> | **Description:** Changes the Builder Limit of the specified key's collection.<br>**Default:** `limit`<br>**Values:** Number Greater then 0 |
| `sync_mode` | **Description:** Changes the Sync Mode for all collections in a Defaults file.<br>**Default:** `sync`<br>**Values:**<table class="clearTable"><tr><td>`sync`</td><td>Add and Remove Items based on Builders</td></tr><tr><td>`append`</td><td>Only Add Items based on Builders</td></tr></table> |
| `sync_mode_<<key>>`<sup>1</sup> | **Description:** Changes the Sync Mode of the specified key's collection.<br>**Default:** `sync_mode`<br>**Values:**<table class="clearTable"><tr><td>`sync`</td><td>Add and Remove Items based on Builders</td></tr><tr><td>`append`</td><td>Only Add Items based on Builders</td></tr></table> |
| `sort_by` | **Description:** Changes the Smart Filter Sort for all collections in a Defaults file.<br>**Default:** `release.desc`<br>**Values:** [Any `smart_filter` Sort Option](../../metadata/builders/smart.md#sort-options) |
| `sort_by_<<key>>`<sup>1</sup> | **Description:** Changes the Smart Filter Sort of the specified key's collection.<br>**Default:** `sort_by`<br>**Values:** [Any `smart_filter` Sort Option](../../metadata/builders/smart.md#sort-options) |
| `include` | **Description:** Overrides the [default include list](#default-include).<br>**Values:** List of [2 digit ISO 3166-1 codes](https://en.wikipedia.org/wiki/List_of_ISO_3166_continent_codes) |
| `exclude` | **Description:** Exclude these Countries from creating a Dynamic Collection.<br>**Values:** List of [2 digit ISO 3166-1 codes](https://en.wikipedia.org/wiki/List_of_ISO_3166_continent_codes) |
| `addons` | **Description:** Defines how multiple keys can be combined under a parent key. The parent key doesn't have to already exist in Plex<br>**Values:** Dictionary List of [2 digit ISO 3166-1 codes](https://en.wikipedia.org/wiki/List_of_ISO_3166_continent_codes) |
| `append_include` | **Description:** Appends to the [default include list](#default-include).<br>**Values:** List of [2 digit ISO 3166-1 codes](https://en.wikipedia.org/wiki/List_of_ISO_3166_continent_codes) |
| `key_name_override` | **Description:** Overrides the [default key_name_override dictionary](#default-key_name_override).<br>**Values:** Dictionary with `key: new_key_name` entries |
| `name_format` | **Description:** Changes the title format of the Dynamic Collections.<br>**Default:** `<<key_name>>`<br>**Values:** Any string with `<<key_name>>` in it. |
| `summary_format` | **Description:** Changes the summary format of the Dynamic Collections.<br>**Default:** `<<library_translationU>>s filmed in <<key_name>>.`<br>**Values:** Any string. |
1. Each default collection has a `key` that when calling to effect a specific collection you must replace `<<key>>` with when calling.
The below is an example config.yml extract with some Template Variables added in to change how the file works.
```yaml
libraries:
TV Shows:
metadata_path:
- pmm: continent
template_variables:
use_other: false
use_separator: false
sep_style: purple
exclude:
- nz
sort_by: title.asc
```
## Default values
These are lists provided for reference to show what values will be in use if you do no customization. If you want to customize these values, use the methods described above. These do not show how to change a name or a list.
### Default `include`
```yaml
# Countries where other countries will be grouped into
include:
- aq # Antarctica
- nz # New Zealand
- br # Brazil
- cn # China
- za # South Africa
- gb # United Kingdom
- us # United States of America
```
### Default `key_name_override`
```yaml
# Name changes for the above countries
key_name_override:
nz: Oceania
br: South America
cn: Asia
za: Africa
gb: Europe
us: North America
```
### Default `addons`
```yaml
# Grouping of countries into continents
addons:
aq: # Antarctica
- bv # Bouvet Island
cn: # China - Asia
- af # Afghanistan
- kz # Kazakhstan
- kg # Kyrgyzstan
- tj # Tajikistan
- tm # Turkmenistan
- uz # Uzbekistan
- mn # Mongolia
- in # India
- pk # Pakistan
- bt # Bhutan
- bd # Bangladesh
- np # Nepal
- lk # Sri Lanka
- mv # Maldives
- jp # Japan
- hk # Hong Kong
- mo # Macao
- th # Thailand
- bn # Brunei
- kh # Cambodia
- id # Indonesia
- la # Lao
- my # Malaysia
- mm # Myanmar
- ph # Philippines
- sg # Singapore
- vn # Vietnam
- tr # Turkey
- bh # Bahrain
- cy # Cyprus
- eg # Egypt
- ir # Iran
- iq # Iraq
- il # Israel
- jo # Jordan
- kw # Kuwait
- lb # Lebanon
- om # Oman
- ps # Palestine
- qa # Qatar
- sa # Saudi Arabia
- sy # Syria
- ae # United Arab Emirates
- ye # Yemen
- tw # Taiwan
- kr # Korea
br: # Brazil - South America
- ar # Argentina
- cl # Chile
- py # Paraguay
- uy # Uruguay
- fk # Falkland Islands
- cr # Costa Rica
- bz # Belize
- sv # El Salvador
- gt # Guatemala
- hn # Honduras
- ni # Nicaragua
- pa # Panama
- pe # Peru
- bo # Bolivia
- co # Colombia
- ec # Ecuador
- ve # Venezuela
- gf # French Guiana
- gy # Guyana
- sr # Suriname
gb: # United Kingdom - Europe
- am # Armenia
- az # Azerbaijan
- ge # Georgia
- be # Belgium
- lu # Luxembourg
- nl # Netherlands
- hr # Croatia
- al # Albania
- ba # Bosnia and Herzegovina
- bg # Bulgaria
- mk # Macedonia
- me # Montenegro
- ro # Romania
- rs # Serbia
- si # Slovenia
- dk # Denmark
- ax # Åland Islands
- fo # Faroe Islands
- fi # Finland
- gl # Greenland
- is # Iceland
- no # Norway
- sj # Svalbard and Jan Mayen
- se # Sweden
- ie # Ireland
- gr # Greece
- pl # Poland
- by # Belarus
- cz # Czech Republic
- ee # Estonia
- hu # Hungary
- lv # Latvia
- lt # Lithuania
- md # Moldova
- sk # Slovakia
- ua # Ukraine
- es # Spain
- ad # Andorra
- pt # Portugal
- ch # Switzerland
- at # Austria
- li # Liechtenstein
- ru # Russia
- gg # Guernsey
- gi # Gibraltar
- im # Isle of Man
- je # Jersey
- mt # Malta
- de # Germany
- fr # France
- mc # Monaco
- it # Italy
- va # Holy See
- sm # San Marino
us: # United States of America - North America
- bs # Bahamas
- ai # Anguilla
- ag # Antigua
- aw # Aruba
- bb # Barbados
- bm # Bermuda
- bq # Bonaire
- ky # Cayman Islands
- cu # Cuba
- cw # Curaçao
- dm # Dominica
- do # Dominican Republic
- gd # Grenada
- gp # Guadeloupe
- ht # Haiti
- jm # Jamaica
- mq # Martinique
- ms # Montserrat
- pr # Puerto Rico
- bl # Saint Barthélemy
- lc # Saint Lucia
- tt # Trinidad and Tobago
- tc # Turks and Caicos
- ca # Canada
- mx # Mexico
za: # South Africa - Africa
- td # Chad
- ao # Angola
- cm # Cameroon
- cf # Central African Republic
- cg # Congo
- gq # Equatorial Guinea
- ga # Gabon
- st # Sao Tome and Principe
- ke # Kenya
- bi # Burundi
- km # Comoros
- dj # Djibouti
- er # Eritrea
- et # Ethiopia
- mg # Madagascar
- mw # Malawi
- mu # Mauritius
- yt # Mayotte
- mz # Mozambique
- re # Réunion
- rw # Rwanda
- sc # Seychelles
- so # Somalia
- ss # South Sudan
- tz # Tanzania
- ug # Uganda
- zm # Zambia
- zw # Zimbabwe
- ma # Morocco
- dz # Algeria
- eg # Egypt
- ly # Libya
- sd # Sudan
- tn # Tunisia
- ng # Nigeria
- bj # Benin
- bf # Burkina Faso
- cv # Cabo Verde
- ci # Côte d'Ivoire
- gm # Gambia
- gh # Ghana
- gn # Guinea
- gw # Guinea-Bissau
- lr # Liberia
- ml # Mali
- mr # Mauritania
- ne # Niger
- sn # Senegal
- sl # Sierra Leone
- tg # Togo
- bw # Botswana
- sz # Eswatini
- ls # Lesotho
- na # Namibia
nz: # New Zealand - Oceania
- au # Australia
- cx # Christmas Island
- cc # Cocos (Keeling) Islands
- pg # New Guinea
- tl # Timor-Leste
- ck # Cook Islands
- fj # Fiji
- pf # French Polynesia
- gu # Guam
- ki # Kiribati
- mh # Marshall Islands
- fm # Micronesia
- nr # Nauru
- nc # New Caledonia
- nu # Niue
- nf # Norfolk Island
- pw # Palau
- pn # Pitcairn
- ws # Samoa
- sb # Solomon Islands
- tk # Tokelau
- to # Tonga
- tv # Tuvalu
- vu # Vanuatu
```

@ -74,6 +74,7 @@ libraries:
template_variables: template_variables:
use_other: false use_other: false
use_separator: false use_separator: false
style: color
sep_style: purple sep_style: purple
exclude: exclude:
- fr - fr
@ -88,235 +89,236 @@ These are lists provided for reference to show what values will be in use if you
```yaml ```yaml
include: include:
# - af # Afghanistan - af # Afghanistan
# - ax # Åland Islands - ax # Åland Islands
# - al # Albania - al # Albania
# - dz # Algeria - dz # Algeria
# - ad # Andorra - ad # Andorra
# - ao # Angola - ao # Angola
# - ai # Anguilla - ai # Anguilla
# - aq # Antarctica - aq # Antarctica
# - ag # Antigua - ag # Antigua
- ar # Argentina - ar # Argentina
# - am # Armenia - am # Armenia
# - aw # Aruba - aw # Aruba
- au # Australia - au # Australia
- at # Austria - at # Austria
# - az # Azerbaijan - az # Azerbaijan
- bs # Bahamas - bs # Bahamas
# - bh # Bahrain - bh # Bahrain
# - bd # Bangladesh - bd # Bangladesh
# - bb # Barbados - bb # Barbados
# - by # Belarus - by # Belarus
- be # Belgium - be # Belgium
# - bz # Belize - bz # Belize
# - bj # Benin - bj # Benin
# - bm # Bermuda - bm # Bermuda
# - bt # Bhutan - bt # Bhutan
# - bo # Bolivia - bo # Bolivia
# - bq # Bonaire - bq # Bonaire
# - ba # Bosnia and Herzegovina - ba # Bosnia and Herzegovina
# - bw # Botswana - bw # Botswana
# - bv # Bouvet Island - bv # Bouvet Island
- br # Brazil - br # Brazil
# - bn # Brunei - bn # Brunei
- bg # Bulgaria - bg # Bulgaria
# - bf # Burkina Faso - bf # Burkina Faso
# - bi # Burundi - bi # Burundi
# - cv # Cabo Verde - cv # Cabo Verde
# - kh # Cambodia - kh # Cambodia
# - cm # Cameroon - cm # Cameroon
- ca # Canada - ca # Canada
# - ky # Cayman Islands - ky # Cayman Islands
# - cf # Central African Republic - cf # Central African Republic
# - td # Chad - td # Chad
- cl # Chile - cl # Chile
- cn # China - cn # China
# - cx # Christmas Island - cx # Christmas Island
# - cc # Cocos (Keeling) Islands - cc # Cocos (Keeling) Islands
# - co # Colombia - co # Colombia
# - km # Comoros - km # Comoros
# - cg # Congo - cg # Congo
# - ck # Cook Islands - ck # Cook Islands
- cr # Costa Rica - cr # Costa Rica
# - ci # Côte d'Ivoire - ci # Côte d'Ivoire
- hr # Croatia - hr # Croatia
# - cu # Cuba - cu # Cuba
# - cw # Curaçao - cw # Curaçao
# - cy # Cyprus - cy # Cyprus
- cz # Czech Republic - cz # Czech Republic
- dk # Denmark - dk # Denmark
# - dj # Djibouti - dj # Djibouti
# - dm # Dominica - dm # Dominica
- do # Dominican Republic - do # Dominican Republic
# - ec # Ecuador - ec # Ecuador
- eg # Egypt - eg # Egypt
# - sv # El Salvador - sv # El Salvador
# - gq # Equatorial Guinea - gq # Equatorial Guinea
# - er # Eritrea - er # Eritrea
- ee # Estonia - ee # Estonia
# - sz # Eswatini - sz # Eswatini
# - et # Ethiopia - et # Ethiopia
# - fk # Falkland Islands - fk # Falkland Islands
# - fo # Faroe Islands - fo # Faroe Islands
# - fj # Fiji - fj # Fiji
- fi # Finland - fi # Finland
- fr # France - fr # France
# - gf # French Guiana - gf # French Guiana
# - pf # French Polynesia - pf # French Polynesia
# - ga # Gabon - ga # Gabon
# - gm # Gambia - gm # Gambia
# - ge # Georgia - ge # Georgia
- de # Germany - de # Germany
# - gh # Ghana - gh # Ghana
# - gi # Gibraltar - gi # Gibraltar
- gr # Greece - gr # Greece
# - gl # Greenland - gl # Greenland
# - gd # Grenada - gd # Grenada
# - gp # Guadeloupe - gp # Guadeloupe
# - gu # Guam - gu # Guam
# - gt # Guatemala - gt # Guatemala
# - gg # Guernsey - gg # Guernsey
# - gn # Guinea - gn # Guinea
# - gw # Guinea-Bissau - gw # Guinea-Bissau
# - gy # Guyana - gy # Guyana
# - ht # Haiti - ht # Haiti
# - va # Holy See - va # Holy See
# - hn # Honduras - hn # Honduras
- hk # Hong Kong - hk # Hong Kong
- hu # Hungary - hu # Hungary
- is # Iceland - is # Iceland
- in # India - in # India
- id # Indonesia - id # Indonesia
- ir # Iran - ir # Iran
# - iq # Iraq - iq # Iraq
- ie # Ireland - ie # Ireland
# - im # Isle of Man - im # Isle of Man
- il # Israel - il # Israel
- it # Italy - it # Italy
# - jm # Jamaica - jm # Jamaica
- jp # Japan - jp # Japan
# - je # Jersey - je # Jersey
# - jo # Jordan - jo # Jordan
# - kz # Kazakhstan - kz # Kazakhstan
# - ke # Kenya - ke # Kenya
# - ki # Kiribati - ki # Kiribati
- kr # Korea - kr # Korea
# - kw # Kuwait - kw # Kuwait
# - kg # Kyrgyzstan - kg # Kyrgyzstan
# - la # Lao - la # Lao
- lv # Latvia - lv # Latvia
# - lb # Lebanon - lb # Lebanon
# - ls # Lesotho - ls # Lesotho
# - lr # Liberia - lr # Liberia
# - ly # Libya - ly # Libya
# - li # Liechtenstein - li # Liechtenstein
# - lt # Lithuania - lt # Lithuania
- lu # Luxembourg - lu # Luxembourg
# - mo # Macao - mo # Macao
# - mg # Madagascar - mg # Madagascar
# - mw # Malawi - mw # Malawi
- my # Malaysia - my # Malaysia
# - mv # Maldives - mv # Maldives
# - ml # Mali - ml # Mali
# - mt # Malta - mt # Malta
# - mh # Marshall Islands - mh # Marshall Islands
# - mq # Martinique - mq # Martinique
# - mr # Mauritania - mr # Mauritania
# - mu # Mauritius - mu # Mauritius
# - yt # Mayotte - yt # Mayotte
- mx # Mexico - mx # Mexico
# - fm # Micronesia - fm # Micronesia
# - md # Moldova - md # Moldova
# - mc # Monaco - mc # Monaco
# - mn # Mongolia - mn # Mongolia
# - me # Montenegro - me # Montenegro
# - ms # Montserrat - ms # Montserrat
- ma # Morocco - ma # Morocco
# - mz # Mozambique - mz # Mozambique
# - mm # Myanmar - mm # Myanmar
# - na # Namibia - na # Namibia
# - nr # Nauru - nr # Nauru
# - np # Nepal - np # Nepal
- nl # Netherlands - nl # Netherlands
# - nc # New Caledonia - nc # New Caledonia
- nz # New Zealand - nz # New Zealand
# - ni # Nicaragua - ni # Nicaragua
# - ne # Niger - ne # Niger
# - ng # Nigeria - ng # Nigeria
# - nu # Niue - nu # Niue
# - nf # Norfolk Island - nf # Norfolk Island
# - mk # Macedonia - mk # Macedonia
- no # Norway - no # Norway
# - om # Oman - om # Oman
- pk # Pakistan - pk # Pakistan
# - pw # Palau - pw # Palau
# - ps # Palestine - ps # Palestine
- pa # Panama - pa # Panama
# - pg # New Guinea - pg # New Guinea
# - py # Paraguay - py # Paraguay
- pe # Peru - pe # Peru
- ph # Philippines - ph # Philippines
# - pn # Pitcairn - pn # Pitcairn
- pl # Poland - pl # Poland
- pt # Portugal - pt # Portugal
# - pr # Puerto Rico - pr # Puerto Rico
- qa # Qatar - qa # Qatar
# - re # Réunion - re # Réunion
- ro # Romania - ro # Romania
- ru # Russia - ru # Russia
# - rw # Rwanda - rw # Rwanda
# - bl # Saint Barthélemy - bl # Saint Barthélemy
# - lc # Saint Lucia - lc # Saint Lucia
# - ws # Samoa - ws # Samoa
# - sm # San Marino - sm # San Marino
# - st # Sao Tome and Principe - st # Sao Tome and Principe
- sa # Saudi Arabia - sa # Saudi Arabia
# - sn # Senegal - sn # Senegal
- rs # Serbia - rs # Serbia
# - sc # Seychelles - sc # Seychelles
# - sl # Sierra Leone - sl # Sierra Leone
- sg # Singapore - sg # Singapore
# - sk # Slovakia - sk # Slovakia
# - si # Slovenia - si # Slovenia
# - sb # Solomon Islands - sb # Solomon Islands
# - so # Somalia - so # Somalia
- za # South Africa - za # South Africa
# - ss # South Sudan - ss # South Sudan
- es # Spain - es # Spain
- lk # Sri Lanka - lk # Sri Lanka
# - sd # Sudan - sd # Sudan
# - sr # Suriname - sj # Svalbard and Jan Mayen
- sr # Suriname
- se # Sweden - se # Sweden
- ch # Switzerland - ch # Switzerland
# - sy # Syria - sy # Syria
# - tw # Taiwan - tw # Taiwan
# - tj # Tajikistan - tj # Tajikistan
# - tz # Tanzania - tz # Tanzania
- th # Thailand - th # Thailand
# - tl # Timor-Leste - tl # Timor-Leste
# - tg # Togo - tg # Togo
# - tk # Tokelau - tk # Tokelau
# - to # Tonga - to # Tonga
# - tt # Trinidad and Tobago - tt # Trinidad and Tobago
# - tn # Tunisia - tn # Tunisia
- tr # Turkey - tr # Turkey
# - tm # Turkmenistan - tm # Turkmenistan
# - tc # Turks and Caicos - tc # Turks and Caicos
# - tv # Tuvalu - tv # Tuvalu
# - ug # Uganda - ug # Uganda
- ua # Ukraine - ua # Ukraine
- ae # United Arab Emirates - ae # United Arab Emirates
- gb # United Kingdom - gb # United Kingdom
- us # United States of America - us # United States of America
# - uy # Uruguay - uy # Uruguay
# - uz # Uzbekistan - uz # Uzbekistan
# - vu # Vanuatu - vu # Vanuatu
# - ve # Venezuela - ve # Venezuela
- vn # Vietnam - vn # Vietnam
# - ye # Yemen - ye # Yemen
# - zm # Zambia - zm # Zambia
# - zw # Zimbabwe - zw # Zimbabwe
``` ```
### Default `key_name_override` ### Default `key_name_override`

@ -0,0 +1,419 @@
# Region Collections
The `region` Default Metadata File is used to dynamically create collections based on the countries within your library. The collection aims to be inclusive, with all 230 countries incorporated into 39 countries or collections of countries. Some care has been taken to ensure all countries are included, and the groupings won't fit well with everyone's collections. Western and Southern Europe, Oceania, and North America could be useful groupings for those libraries with more of an Asian focus, for instance. Please see the comments in the yml below where a decision point might be seen as controversial. You are welcome to edit this to fit your own audience's needs.
**This file has a Movie Library [Counterpart](../movie/region).**
![](../images/region1.png)
## Requirements & Recommendations
Supported Library Types: Show
## Collections Section 081
| Collection | Key | Description |
|:-----------------------------------|:---------------------------------------------------|:----------------------------------------------------------------------------|
| `Region Collections` | `separator` | [Separator Collection](../separators) to denote the Section of Collections. |
| `<<Region>>`<br>**Example:** `de` | `<<2 digit ISO 3166-1 code>>`<br>**Example:** `de` | Collection of TV Shows that have this Region. |
| `Other Regions` | `other` | Collection of TV Shows that are in other uncommon Regions. |
## Config
The below YAML in your config.yml will create the collections:
```yaml
libraries:
TV Shows:
metadata_path:
- pmm: region
```
## Color Style
Below is a screenshot of the alternative Color (`color`) style which can be set via the `style` template variable.
![](../images/region2.png)
## Template Variables
Template Variables can be used to manipulate the file in various ways to slightly change how it works without having to make your own local copy.
Note that the `template_variables:` section only needs to be used if you do want to actually change how the defaults work. Any value not specified is its default value if it has one if not it's just ignored.
All [Shared Collection Variables](../collection_variables) are available as well as the additional Variables below which can be used to customize the file.
This file contains a [Separator](../separators) so all [Shared Separator Variables](../separators.md#shared-separator-variables) are available as well.
| Variable | Description & Values |
|:--------------------------------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `style` | **Description:** Controls the visual theme of the collections created<table class="clearTable"><tr><th>Values:</th></tr><tr><td><code>white</code></td><td>White Theme</td></tr><tr><td><code>color</code></td><td>Color Theme</td></tr></table> |
| `limit` | **Description:** Changes the Builder Limit for all collections in a Defaults file.<br>**Values:** Number Greater then 0 |
| `limit_<<key>>`<sup>1</sup> | **Description:** Changes the Builder Limit of the specified key's collection.<br>**Default:** `limit`<br>**Values:** Number Greater then 0 |
| `sync_mode` | **Description:** Changes the Sync Mode for all collections in a Defaults file.<br>**Default:** `sync`<br>**Values:**<table class="clearTable"><tr><td>`sync`</td><td>Add and Remove Items based on Builders</td></tr><tr><td>`append`</td><td>Only Add Items based on Builders</td></tr></table> |
| `sync_mode_<<key>>`<sup>1</sup> | **Description:** Changes the Sync Mode of the specified key's collection.<br>**Default:** `sync_mode`<br>**Values:**<table class="clearTable"><tr><td>`sync`</td><td>Add and Remove Items based on Builders</td></tr><tr><td>`append`</td><td>Only Add Items based on Builders</td></tr></table> |
| `sort_by` | **Description:** Changes the Smart Filter Sort for all collections in a Defaults file.<br>**Default:** `release.desc`<br>**Values:** [Any `smart_filter` Sort Option](../../metadata/builders/smart.md#sort-options) |
| `sort_by_<<key>>`<sup>1</sup> | **Description:** Changes the Smart Filter Sort of the specified key's collection.<br>**Default:** `sort_by`<br>**Values:** [Any `smart_filter` Sort Option](../../metadata/builders/smart.md#sort-options) |
| `include` | **Description:** Overrides the [default include list](#default-include).<br>**Values:** List of [2 digit ISO 3166-1 codes](https://en.wikipedia.org/wiki/List_of_ISO_3166_region_codes) |
| `exclude` | **Description:** Exclude these Countries from creating a Dynamic Collection.<br>**Values:** List of [2 digit ISO 3166-1 codes](https://en.wikipedia.org/wiki/List_of_ISO_3166_region_codes) |
| `addons` | **Description:** Defines how multiple keys can be combined under a parent key. The parent key doesn't have to already exist in Plex<br>**Values:** Dictionary List of [2 digit ISO 3166-1 codes](https://en.wikipedia.org/wiki/List_of_ISO_3166_region_codes) |
| `append_include` | **Description:** Appends to the [default include list](#default-include).<br>**Values:** List of [2 digit ISO 3166-1 codes](https://en.wikipedia.org/wiki/List_of_ISO_3166_region_codes) |
| `key_name_override` | **Description:** Overrides the [default key_name_override dictionary](#default-key_name_override).<br>**Values:** Dictionary with `key: new_key_name` entries |
| `name_format` | **Description:** Changes the title format of the Dynamic Collections.<br>**Default:** `<<key_name>>`<br>**Values:** Any string with `<<key_name>>` in it. |
| `summary_format` | **Description:** Changes the summary format of the Dynamic Collections.<br>**Default:** `<<library_translationU>>s filmed in <<key_name>>.`<br>**Values:** Any string. |
1. Each default collection has a `key` that when calling to effect a specific collection you must replace `<<key>>` with when calling.
The below is an example config.yml extract with some Template Variables added in to change how the file works.
```yaml
libraries:
TV Shows:
metadata_path:
- pmm: region
template_variables:
use_other: false
use_separator: false
style: color
sep_style: purple
exclude:
- fr
sort_by: title.asc
```
## Default values
These are lists provided for reference to show what values will be in use if you do no customization. If you want to customize these values, use the methods described above. These do not show how to change a name or a list.
### Default `include`
```yaml
# List of countries other countries will be grouped into
include:
- af # Afghanistan
- aq # Antarctica
- ar # Argentina
- am # Armenia
- au # Australia
- bs # Bahamas
- be # Belgium
- br # Brazil
- ca # Canada
- td # Chad
- cn # China
- cr # Costa Rica
- hr # Croatia
- dk # Denmark
- fr # France
- de # Germany
- gr # Greece
- hk # Hong Kong
- in # India
- ie # Ireland
- it # Italy
- jp # Japan
- ke # Kenya
- kr # Korea
- mx # Mexico
- ma # Morocco
- nz # New Zealand
- ng # Nigeria
- pe # Peru
- pl # Poland
- ru # Russia
- za # South Africa
- es # Spain
- ch # Switzerland
- tw # Taiwan
- th # Thailand
- tr # Turkey
- gb # United Kingdom
- us # United States of America
```
### Default `key_name_override`
```yaml
# Renaming of the above countries
key_name_override:
af: Central Asian
aq: Antarctica Region
ar: Southern Cone
am: Caucasian
au: Australian
bs: Caribbean
be: Benelux
br: Brazilian
ca: Canadian
td: Central African # Based on UN geoscheme
cn: Chinese and Mongolian
cr: Central American
hr: Balkan
dk: Nordic
fr: French
de: German
gr: Greek
hk: Hong Kong and Macao
in: South Asian
ie: Irish
it: Italian
jp: Japanese
ke: Eastern African # Based on UN geoscheme
kr: Korean
mx: Mexican
ma: Northern African # Based on UN geoscheme
nz: Pacific Island
ng: Western African # Based on UN geoscheme
pe: Andean
pl: Eastern European # Eastern Europe generally considerd to be ex-USSR countries of Russia, Belarus, and Ukraine. This grouping is more ex-iron curtain European countries excluding Russia and Balkans
ru: Russian
za: Southern African
es: Iberian
ch: Central European
tw: Taiwanese
th: South-East Asia
tr: Middle Eastern
gb: UK
us: USA
```
### Default `addons`
```yaml
addons:
# Grouping of countries into sub-regions. Some license has been taken here to ensure all countries are included, and the groupings won't fit well with everyone's collections.
# Western, Southern, and Central Europe, Oceania, and North America could be useful groupings for those libraries with more of an Asian focus, for instance
# Comments added where a decision point might seem controversial
af: # Afghanistan # Rarely included as part of Central Asia, the 'stans', but often in South Asia
- kz # Kazakhstan
- kg # Kyrgyzstan
- tj # Tajikistan
- tm # Turkmenistan
- uz # Uzbekistan
ar: # Argentina
- cl # Chile
- py # Paraguay # Not always included as part of Southern Cone
- uy # Uruguay
- fk # Falkland Islands # Also in UK
am: # Armenia
- az # Azerbaijan
- ge # Georgia
bs: # Bahamas
- ai # Anguilla
- ag # Antigua
- aw # Aruba
- bb # Barbados
- bm # Bermuda
- bq # Bonaire
- ky # Cayman Islands
- cu # Cuba
- cw # Curaçao
- dm # Dominica
- do # Dominican Republic
- gd # Grenada
- gp # Guadeloupe
- ht # Haiti
- jm # Jamaica
- mq # Martinique
- ms # Montserrat
- pr # Puerto Rico
- bl # Saint Barthélemy
- lc # Saint Lucia
- tt # Trinidad and Tobago
- tc # Turks and Caicos
be: # Belgium
- lu # Luxembourg
- nl # Netherlands
td: # Chad
- ao # Angola
- cm # Cameroon
- cf # Central African Republic
- cg # Congo
- gq # Equatorial Guinea
- ga # Gabon
- st # Sao Tome and Principe
cn: # China
- mn # Mongolia
cr: # Costa Rica
- bz # Belize
- sv # El Salvador
- gt # Guatemala
- hn # Honduras
- ni # Nicaragua
- pa # Panama
hr: # Croatia
- al # Albania
- ba # Bosnia and Herzegovina
- bg # Bulgaria
- mk # Macedonia
- me # Montenegro
- ro # Romania
- rs # Serbia
- si # Slovenia
dk: # Denmark
- ax # Åland Islands
- fo # Faroe Islands
- fi # Finland
- gl # Greenland
- is # Iceland
- no # Norway
- sj # Svalbard and Jan Mayen
- se # Sweden
hk: # Hong Kong
- mo # Macao
in: # India
- pk # Pakistan
- bt # Bhutan
- bd # Bangladesh
- np # Nepal
- lk # Sri Lanka
- mv # Maldives
ke: # Kenya
- bi # Burundi
- km # Comoros
- dj # Djibouti
- er # Eritrea
- et # Ethiopia
- mg # Madagascar
- mw # Malawi
- mu # Mauritius
- yt # Mayotte
- mz # Mozambique
- re # Réunion
- rw # Rwanda
- sc # Seychelles
- so # Somalia
- ss # South Sudan
- tz # Tanzania
- ug # Uganda
- zm # Zambia
- zw # Zimbabwe
ma: # Morocco
- dz # Algeria
- eg # Egypt # Also in Middle Eastern
- ly # Libya
- sd # Sudan
- tn # Tunisia
nz: # New Zealand
- ck # Cook Islands
- fj # Fiji
- pf # French Polynesia
- gu # Guam
- ki # Kiribati
- mh # Marshall Islands
- fm # Micronesia
- nr # Nauru
- nc # New Caledonia
- nu # Niue
- nf # Norfolk Island
- pw # Palau
- pn # Pitcairn
- ws # Samoa
- sb # Solomon Islands
- tk # Tokelau
- to # Tonga
- tv # Tuvalu
- vu # Vanuatu
ng: # Nigeria
- bj # Benin
- bf # Burkina Faso
- cv # Cabo Verde
- ci # Côte d'Ivoire
- gm # Gambia
- gh # Ghana
- gn # Guinea
- gw # Guinea-Bissau
- lr # Liberia
- ml # Mali
- mr # Mauritania
- ne # Niger
- sn # Senegal
- sl # Sierra Leone
- tg # Togo
pe: # Peru
- bo # Bolivia
- co # Colombia
- ec # Ecuador
- ve # Venezuela
pl: # Poland
- by # Belarus
- cz # Czech Republic
- ee # Estonia
- hu # Hungary
- lv # Latvia
- lt # Lithuania
- md # Moldova
- sk # Slovakia
- ua # Ukraine
za: # South Africa
- bw # Botswana
- sz # Eswatini
- ls # Lesotho
- na # Namibia
es: # Spain
- ad # Andorra # Also in French
- gi # Gibraltar # Also in United Kingdom
- pt # Portugal
ch: # Switzerland
- at # Austria
- li # Liechtenstein
th: # Thailand
- bn # Brunei
- kh # Cambodia
- id # Indonesia
- la # Lao
- my # Malaysia
- mm # Myanmar
- ph # Philippines
- sg # Singapore
- vn # Vietnam
tr: # Turkey
- bh # Bahrain
- cy # Cyprus
- eg # Egypt # Also in Northern African
- ir # Iran
- iq # Iraq
- il # Israel
- jo # Jordan
- kw # Kuwait
- lb # Lebanon
- om # Oman
- ps # Palestine
- qa # Qatar
- sa # Saudi Arabia
- sy # Syria
- ae # United Arab Emirates
- ye # Yemen
# Grouping of micro-states into existing countries. Some are obviously right, others added as they've nowhere else fitting to go.
aq: # Antarctica
- bv # Bouvet Island # Also in Nordic
au: # Australia
- cx # Christmas Island
- cc # Cocos (Keeling) Islands
- pg # New Guinea # Also in Pacific Island
- tl # Timor-Leste # Also in Pacific Island
br: # Brazil
- gf # French Guiana
- gy # Guyana
- sr # Suriname
fr: # France
- mc # Monaco
- ad # Andorra # Also in Iberian
it: # Italy
- va # Holy See
- mt # Malta # Also in UK and Northern Africa
- sm # San Marino
gb: # United Kingdom
- fk # Falkland Islands # Also in Southern Cone
- gg # Guernsey
- gi # Gibraltar # Also in Iberian
- im # Isle of Man
- je # Jersey
- mt # Malta # Also in Italian and Northern African
```

@ -0,0 +1,418 @@
# Region Collections
The `region` Default Metadata File is used to dynamically create collections based on the countries items are tagged within your library. The collection aims to be inclusive, with all 230 countries incorporated into 39 regions or collections of countries. Some care has been taken to ensure all countries are included, and the groupings won't fit well with everyone's collections. Western and Southern Europe, Oceania, and North America could be useful groupings for those libraries with more of an Asian focus, for instance. Please see the comments in the yml below where a decision point might seem controversial. You are welcome to edit this to fit your own audience's needs.
**This file has a Movie Library [Counterpart](../movie/region).**
![](../images/region1.png)
## Requirements & Recommendations
Supported Library Types: Show
## Collections Section 081
| Collection | Key | Description |
|:----------------------------------------|:---------------------------------------------------|:----------------------------------------------------------------------------|
| `Region Collections` | `separator` | [Separator Collection](../separators) to denote the Section of Collections. |
| `<<Region>>`<br>**Example:** `de` | `<<2 digit ISO 3166-1 code>>`<br>**Example:** `de` | Collection of TV Shows that have this Region. |
| `Other Regions` | `other` | Collection of TV Shows that are in other uncommon Regions. |
## Config
The below YAML in your config.yml will create the collections:
```yaml
libraries:
TV Shows:
metadata_path:
- pmm: region
```
## Color Style
Below is a screenshot of the alternative Color (`color`) style which can be set via the `style` template variable.
![](../images/region2.png)
## Template Variables
Template Variables can be used to manipulate the file in various ways to slightly change how it works without having to make your own local copy.
Note that the `template_variables:` section only needs to be used if you do want to actually change how the defaults work. Any value not specified is its default value if it has one if not it's just ignored.
All [Shared Collection Variables](../collection_variables) are available as well as the additional Variables below which can be used to customize the file.
This file contains a [Separator](../separators) so all [Shared Separator Variables](../separators.md#shared-separator-variables) are available as well.
| Variable | Description & Values |
|:--------------------------------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `style` | **Description:** Controls the visual theme of the collections created<table class="clearTable"><tr><th>Values:</th></tr><tr><td><code>white</code></td><td>White Theme</td></tr><tr><td><code>color</code></td><td>Color Theme</td></tr></table> |
| `limit` | **Description:** Changes the Builder Limit for all collections in a Defaults file.<br>**Values:** Number Greater then 0 |
| `limit_<<key>>`<sup>1</sup> | **Description:** Changes the Builder Limit of the specified key's collection.<br>**Default:** `limit`<br>**Values:** Number Greater then 0 |
| `sync_mode` | **Description:** Changes the Sync Mode for all collections in a Defaults file.<br>**Default:** `sync`<br>**Values:**<table class="clearTable"><tr><td>`sync`</td><td>Add and Remove Items based on Builders</td></tr><tr><td>`append`</td><td>Only Add Items based on Builders</td></tr></table> |
| `sync_mode_<<key>>`<sup>1</sup> | **Description:** Changes the Sync Mode of the specified key's collection.<br>**Default:** `sync_mode`<br>**Values:**<table class="clearTable"><tr><td>`sync`</td><td>Add and Remove Items based on Builders</td></tr><tr><td>`append`</td><td>Only Add Items based on Builders</td></tr></table> |
| `sort_by` | **Description:** Changes the Smart Filter Sort for all collections in a Defaults file.<br>**Default:** `release.desc`<br>**Values:** [Any `smart_filter` Sort Option](../../metadata/builders/smart.md#sort-options) |
| `sort_by_<<key>>`<sup>1</sup> | **Description:** Changes the Smart Filter Sort of the specified key's collection.<br>**Default:** `sort_by`<br>**Values:** [Any `smart_filter` Sort Option](../../metadata/builders/smart.md#sort-options) |
| `include` | **Description:** Overrides the [default include list](#default-include).<br>**Values:** List of [2 digit ISO 3166-1 codes](https://en.wikipedia.org/wiki/List_of_ISO_3166_region_codes) |
| `exclude` | **Description:** Exclude these Countries from creating a Dynamic Collection.<br>**Values:** List of [2 digit ISO 3166-1 codes](https://en.wikipedia.org/wiki/List_of_ISO_3166_region_codes) |
| `addons` | **Description:** Defines how multiple keys can be combined under a parent key. The parent key doesn't have to already exist in Plex<br>**Values:** Dictionary List of [2 digit ISO 3166-1 codes](https://en.wikipedia.org/wiki/List_of_ISO_3166_region_codes) |
| `append_include` | **Description:** Appends to the [default include list](#default-include).<br>**Values:** List of [2 digit ISO 3166-1 codes](https://en.wikipedia.org/wiki/List_of_ISO_3166_region_codes) |
| `key_name_override` | **Description:** Overrides the [default key_name_override dictionary](#default-key_name_override).<br>**Values:** Dictionary with `key: new_key_name` entries |
| `name_format` | **Description:** Changes the title format of the Dynamic Collections.<br>**Default:** `<<key_name>>`<br>**Values:** Any string with `<<key_name>>` in it. |
| `summary_format` | **Description:** Changes the summary format of the Dynamic Collections.<br>**Default:** `<<library_translationU>>s filmed in <<key_name>>.`<br>**Values:** Any string. |
1. Each default collection has a `key` that when calling to effect a specific collection you must replace `<<key>>` with when calling.
The below is an example config.yml extract with some Template Variables added in to change how the file works.
```yaml
libraries:
TV Shows:
metadata_path:
- pmm: region
template_variables:
use_other: false
use_separator: false
sep_style: purple
exclude:
- fr
sort_by: title.asc
```
## Default values
These are lists provided for reference to show what values will be in use if you do no customization. If you want to customize these values, use the methods described above. These do not show how to change a name or a list.
### Default `include`
```yaml
# List of countries other countries will be grouped into
include:
- af # Afghanistan
- aq # Antarctica
- ar # Argentina
- am # Armenia
- au # Australia
- bs # Bahamas
- be # Belgium
- br # Brazil
- ca # Canada
- td # Chad
- cn # China
- cr # Costa Rica
- hr # Croatia
- dk # Denmark
- fr # France
- de # Germany
- gr # Greece
- hk # Hong Kong
- in # India
- ie # Ireland
- it # Italy
- jp # Japan
- ke # Kenya
- kr # Korea
- mx # Mexico
- ma # Morocco
- nz # New Zealand
- ng # Nigeria
- pe # Peru
- pl # Poland
- ru # Russia
- za # South Africa
- es # Spain
- ch # Switzerland
- tw # Taiwan
- th # Thailand
- tr # Turkey
- gb # United Kingdom
- us # United States of America
```
### Default `key_name_override`
```yaml
# Renaming of the above countries
key_name_override:
af: Central Asian
aq: Antarctica Region
ar: Southern Cone
am: Caucasian
au: Australian
bs: Caribbean
be: Benelux
br: Brazilian
ca: Canadian
td: Central African # Based on UN geoscheme
cn: Chinese and Mongolian
cr: Central American
hr: Balkan
dk: Nordic
fr: French
de: German
gr: Greek
hk: Hong Kong and Macao
in: South Asian
ie: Irish
it: Italian
jp: Japanese
ke: Eastern African # Based on UN geoscheme
kr: Korean
mx: Mexican
ma: Northern African # Based on UN geoscheme
nz: Pacific Island
ng: Western African # Based on UN geoscheme
pe: Andean
pl: Eastern European # Eastern Europe generally considerd to be ex-USSR countries of Russia, Belarus, and Ukraine. This grouping is more ex-iron curtain European countries excluding Russia and Balkans
ru: Russian
za: Southern African
es: Iberian
ch: Central European
tw: Taiwanese
th: South-East Asia
tr: Middle Eastern
gb: UK
us: USA
```
### Default `addons`
```yaml
addons:
# Grouping of countries into sub-regions. Some license has been taken here to ensure all countries are included, and the groupings won't fit well with everyone's collections.
# Western, Southern, and Central Europe, Oceania, and North America could be useful groupings for those libraries with more of an Asian focus, for instance
# Comments added where a decision point might seem controversial
af: # Afghanistan # Rarely included as part of Central Asia, the 'stans', but often in South Asia
- kz # Kazakhstan
- kg # Kyrgyzstan
- tj # Tajikistan
- tm # Turkmenistan
- uz # Uzbekistan
ar: # Argentina
- cl # Chile
- py # Paraguay # Not always included as part of Southern Cone
- uy # Uruguay
- fk # Falkland Islands # Also in UK
am: # Armenia
- az # Azerbaijan
- ge # Georgia
bs: # Bahamas
- ai # Anguilla
- ag # Antigua
- aw # Aruba
- bb # Barbados
- bm # Bermuda
- bq # Bonaire
- ky # Cayman Islands
- cu # Cuba
- cw # Curaçao
- dm # Dominica
- do # Dominican Republic
- gd # Grenada
- gp # Guadeloupe
- ht # Haiti
- jm # Jamaica
- mq # Martinique
- ms # Montserrat
- pr # Puerto Rico
- bl # Saint Barthélemy
- lc # Saint Lucia
- tt # Trinidad and Tobago
- tc # Turks and Caicos
be: # Belgium
- lu # Luxembourg
- nl # Netherlands
td: # Chad
- ao # Angola
- cm # Cameroon
- cf # Central African Republic
- cg # Congo
- gq # Equatorial Guinea
- ga # Gabon
- st # Sao Tome and Principe
cn: # China
- mn # Mongolia
cr: # Costa Rica
- bz # Belize
- sv # El Salvador
- gt # Guatemala
- hn # Honduras
- ni # Nicaragua
- pa # Panama
hr: # Croatia
- al # Albania
- ba # Bosnia and Herzegovina
- bg # Bulgaria
- mk # Macedonia
- me # Montenegro
- ro # Romania
- rs # Serbia
- si # Slovenia
dk: # Denmark
- ax # Åland Islands
- fo # Faroe Islands
- fi # Finland
- gl # Greenland
- is # Iceland
- no # Norway
- sj # Svalbard and Jan Mayen
- se # Sweden
hk: # Hong Kong
- mo # Macao
in: # India
- pk # Pakistan
- bt # Bhutan
- bd # Bangladesh
- np # Nepal
- lk # Sri Lanka
- mv # Maldives
ke: # Kenya
- bi # Burundi
- km # Comoros
- dj # Djibouti
- er # Eritrea
- et # Ethiopia
- mg # Madagascar
- mw # Malawi
- mu # Mauritius
- yt # Mayotte
- mz # Mozambique
- re # Réunion
- rw # Rwanda
- sc # Seychelles
- so # Somalia
- ss # South Sudan
- tz # Tanzania
- ug # Uganda
- zm # Zambia
- zw # Zimbabwe
ma: # Morocco
- dz # Algeria
- eg # Egypt # Also in Middle Eastern
- ly # Libya
- sd # Sudan
- tn # Tunisia
nz: # New Zealand
- ck # Cook Islands
- fj # Fiji
- pf # French Polynesia
- gu # Guam
- ki # Kiribati
- mh # Marshall Islands
- fm # Micronesia
- nr # Nauru
- nc # New Caledonia
- nu # Niue
- nf # Norfolk Island
- pw # Palau
- pn # Pitcairn
- ws # Samoa
- sb # Solomon Islands
- tk # Tokelau
- to # Tonga
- tv # Tuvalu
- vu # Vanuatu
ng: # Nigeria
- bj # Benin
- bf # Burkina Faso
- cv # Cabo Verde
- ci # Côte d'Ivoire
- gm # Gambia
- gh # Ghana
- gn # Guinea
- gw # Guinea-Bissau
- lr # Liberia
- ml # Mali
- mr # Mauritania
- ne # Niger
- sn # Senegal
- sl # Sierra Leone
- tg # Togo
pe: # Peru
- bo # Bolivia
- co # Colombia
- ec # Ecuador
- ve # Venezuela
pl: # Poland
- by # Belarus
- cz # Czech Republic
- ee # Estonia
- hu # Hungary
- lv # Latvia
- lt # Lithuania
- md # Moldova
- sk # Slovakia
- ua # Ukraine
za: # South Africa
- bw # Botswana
- sz # Eswatini
- ls # Lesotho
- na # Namibia
es: # Spain
- ad # Andorra # Also in French
- gi # Gibraltar # Also in United Kingdom
- pt # Portugal
ch: # Switzerland
- at # Austria
- li # Liechtenstein
th: # Thailand
- bn # Brunei
- kh # Cambodia
- id # Indonesia
- la # Lao
- my # Malaysia
- mm # Myanmar
- ph # Philippines
- sg # Singapore
- vn # Vietnam
tr: # Turkey
- bh # Bahrain
- cy # Cyprus
- eg # Egypt # Also in Northern African
- ir # Iran
- iq # Iraq
- il # Israel
- jo # Jordan
- kw # Kuwait
- lb # Lebanon
- om # Oman
- ps # Palestine
- qa # Qatar
- sa # Saudi Arabia
- sy # Syria
- ae # United Arab Emirates
- ye # Yemen
# Grouping of micro-states into existing countries. Some are obviously right, others added as they've nowhere else fitting to go.
aq: # Antarctica
- bv # Bouvet Island # Also in Nordic
au: # Australia
- cx # Christmas Island
- cc # Cocos (Keeling) Islands
- pg # New Guinea # Also in Pacific Island
- tl # Timor-Leste # Also in Pacific Island
br: # Brazil
- gf # French Guiana
- gy # Guyana
- sr # Suriname
fr: # France
- mc # Monaco
- ad # Andorra # Also in Iberian
it: # Italy
- va # Holy See
- mt # Malta # Also in UK and Northern Africa
- sm # San Marino
gb: # United Kingdom
- fk # Falkland Islands # Also in Southern Cone
- gg # Guernsey
- gi # Gibraltar # Also in Iberian
- im # Isle of Man
- je # Jersey
- mt # Malta # Also in Italian and Northern African
```
Loading…
Cancel
Save