Plex-Meta-Manager/docs/defaults/movie/continent.md

458 lines
17 KiB
Markdown
Raw Normal View History

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