Merge branch 'meisnate12:defaults' into defaults

pull/1068/head
cpt-kuesel 2 years ago committed by GitHub
commit 06ef2aaf67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1 +1 @@
1.17.3-develop62 1.17.3-develop64

@ -49,4 +49,5 @@ dynamic_collections:
- arr - arr
- custom - custom
template_variables: template_variables:
translation_key: bafta_year translation_key:
default: bafta_year

@ -75,4 +75,5 @@ dynamic_collections:
- arr - arr
- custom - custom
template_variables: template_variables:
translation_key: cannes_year translation_key:
default: cannes_year

@ -69,7 +69,8 @@ dynamic_collections:
- arr - arr
- custom - custom
template_variables: template_variables:
translation_key: choice_year translation_key:
default: choice_year
url: url:
2019: critics 2019: critics
2018: critics 2018: critics

@ -66,4 +66,5 @@ dynamic_collections:
- arr - arr
- custom - custom
template_variables: template_variables:
translation_key: emmy_year translation_key:
default: emmy_year

@ -81,4 +81,5 @@ dynamic_collections:
- arr - arr
- custom - custom
template_variables: template_variables:
translation_key: golden_year translation_key:
default: golden_year

@ -89,4 +89,5 @@ dynamic_collections:
- arr - arr
- custom - custom
template_variables: template_variables:
translation_key: oscars_year translation_key:
default: oscars_year

@ -59,4 +59,5 @@ dynamic_collections:
- arr - arr
- custom - custom
template_variables: template_variables:
translation_key: spirit_year translation_key:
default: spirit_year

@ -75,4 +75,5 @@ dynamic_collections:
- arr - arr
- custom - custom
template_variables: template_variables:
translation_key: sundance_year translation_key:
default: sundance_year

@ -65,5 +65,6 @@ dynamic_collections:
- translation - translation
- shared - shared
template_variables: template_variables:
translation_key: actor translation_key:
default: actor

@ -60,12 +60,14 @@ dynamic_collections:
- audio_language_dynamic - audio_language_dynamic
- translation - translation
- shared - shared
template_variables:
translation_key: audio_language
other_template: other_template:
- other_collection - other_collection
- audio_language_dynamic - audio_language_dynamic
- shared - shared
template_variables:
translation_key:
default: audio_language
other: audio_language_other
include: include:
- ab # Abkhazian - ab # Abkhazian
- aa # Afar - aa # Afar

@ -57,7 +57,7 @@ collections:
dynamic_collections: dynamic_collections:
UK Content Rating: UK Content Rating:
type: content_rating type: content_rating
title_format: <<key_name>> title_format: <<key_name>> <<library_type>>s
other_name: Other Ratings other_name: Other Ratings
template: template:
- content_rating_dynamic - content_rating_dynamic
@ -69,7 +69,9 @@ dynamic_collections:
- content_rating_dynamic - content_rating_dynamic
- shared - shared
template_variables: template_variables:
translation_key: content_rating_uk translation_key:
default: content_rating_uk
other: content_rating_uk_other
include: include:
- U - U
- PG - PG

@ -26,10 +26,13 @@
############################################################# #############################################################
external_templates: external_templates:
git: PMM/templates pmm: templates
template_variables: template_variables:
collection_section: "06" collection_section: "06"
translations:
pmm: translations
templates: templates:
genre_dynamic: genre_dynamic:
default: default:
@ -49,10 +52,14 @@ collections:
dynamic_collections: dynamic_collections:
Genre: Genre:
type: genre type: genre
title_format: <<key_name>> title_format: <<key_name>> <<library_type>>s
template: template:
- genre_dynamic - genre_dynamic
- translation
- shared - shared
template_variables:
translation_key:
default: genre
title_override: title_override:
Biography: Biopic Biography: Biopic
addons: addons:

@ -26,10 +26,13 @@
############################################################# #############################################################
external_templates: external_templates:
git: PMM/templates pmm: templates
template_variables: template_variables:
collection_section: 15 collection_section: 15
translations:
pmm: translations
templates: templates:
resolution_dynamic: resolution_dynamic:
default: default:
@ -52,7 +55,11 @@ dynamic_collections:
title_format: <<key_name>> <<library_type>>s title_format: <<key_name>> <<library_type>>s
template: template:
- resolution_dynamic - resolution_dynamic
- translation
- shared - shared
template_variables:
translation_key:
default: resolution
addons: addons:
1080: 1080:
- 2k - 2k

@ -28,10 +28,13 @@
############################################################# #############################################################
external_templates: external_templates:
git: PMM/templates pmm: templates
template_variables: template_variables:
collection_section: 15 collection_section: 15
translations:
pmm: translations
templates: templates:
resolution_dynamic: resolution_dynamic:
default: default:
@ -55,11 +58,16 @@ dynamic_collections:
other_name: Other Resolutions other_name: Other Resolutions
template: template:
- resolution_dynamic - resolution_dynamic
- translation
- shared - shared
other_template: other_template:
- other_collection - other_collection
- resolution_dynamic - resolution_dynamic
- shared - shared
template_variables:
translation_key:
default: resolution_standards
other: resolution_standards_other
include: include:
- 480 - 480
- 720 - 720

@ -72,10 +72,14 @@
############################################################# #############################################################
external_templates: external_templates:
git: PMM/templates pmm: templates
template_variables: template_variables:
collection_section: "03" collection_section: "03"
translations:
pmm: translations
templates: templates:
streaming: streaming:
default: default:
@ -112,9 +116,12 @@ dynamic_collections:
amazon: Prime Video amazon: Prime Video
title_format: <<key_name>> <<library_type>>s title_format: <<key_name>> <<library_type>>s
template_variables: template_variables:
translation_key:
default: streaming
use: use:
hayu: show hayu: show
template: template:
- streaming - streaming
- translation
- shared - shared
- arr - arr

@ -26,10 +26,13 @@
############################################################# #############################################################
external_templates: external_templates:
git: PMM/templates pmm: templates
template_variables: template_variables:
collection_section: "07" collection_section: "07"
translations:
pmm: translations
templates: templates:
studio_dynamic: studio_dynamic:
default: default:
@ -55,7 +58,13 @@ dynamic_collections:
title_format: <<key_name>> title_format: <<key_name>>
template: template:
- studio_dynamic - studio_dynamic
- translation
- shared - shared
template_variables:
translation_key:
default: studio
contains:
20th Century Studios: 20th Century
include: include:
- 20th Century Studios - 20th Century Studios
- Amazon Studios - Amazon Studios
@ -167,7 +176,4 @@ dynamic_collections:
- Walt Disney Animation Studios - Walt Disney Animation Studios
Warner Bros. Pictures: Warner Bros. Pictures:
- Warner - Warner
- Warner Animation Group - Warner Animation Group
template_variables:
contains:
20th Century Studios: 20th Century

@ -28,10 +28,13 @@
############################################################# #############################################################
external_templates: external_templates:
git: PMM/templates pmm: templates
template_variables: template_variables:
collection_section: 11 collection_section: 11
translations:
pmm: translations
templates: templates:
subtitle_language_dynamic: subtitle_language_dynamic:
default: default:
@ -55,11 +58,17 @@ dynamic_collections:
other_name: Other Subtitles other_name: Other Subtitles
template: template:
- subtitle_language_dynamic - subtitle_language_dynamic
- translation
- shared - shared
other_template: other_template:
- other_collection - other_collection
- subtitle_language_dynamic - subtitle_language_dynamic
- translation
- shared - shared
template_variables:
translation_key:
default: subtitle_language
other: subtitle_language_other
include: include:
- ab # Abkhazian - ab # Abkhazian
- aa # Afar - aa # Afar

@ -30,10 +30,13 @@
############################################################# #############################################################
external_templates: external_templates:
git: PMM/templates pmm: templates
template_variables: template_variables:
collection_section: 13 collection_section: 13
translations:
pmm: translations
templates: templates:
year_dynamic: year_dynamic:
default: default:
@ -62,4 +65,8 @@ dynamic_collections:
ending: current_year ending: current_year
template: template:
- year_dynamic - year_dynamic
- translation
- shared - shared
template_variables:
translation_key:
default: year

@ -60,42 +60,28 @@
############################################################# #############################################################
external_templates: external_templates:
git: PMM/templates pmm: templates
template_variables: template_variables:
collection_section: "01" collection_section: "01"
templates: translations:
pmm: translations
popular:
default:
limit_popular: 100
summary_popular: A collection of the most popular Anime according to AniList.
anilist_popular: <<limit_popular>>
summary: <<summary_<<key>>>>
top: templates:
default:
limit_top: 100
summary_top: A collection of the top rated Anime according to AniList.
anilist_top_rated: <<limit_top>>
summary: <<summary_<<key>>>>
trending: anilist:
default: default:
limit_trending: 100 limit_<<key>>: 100
summary_trending: A collection of trending Anime according to AniList. chart: <<key>>
anilist_trending: <<limit_trending>> anilist_<<chart>>: <<limit_<<key>>>>
summary: <<summary_<<key>>>>
season: season:
default: default:
limit_trending: 100 limit_trending: 100
summary_season: A collection of Anime from the Current Season according to AniList.
anilist_search: anilist_search:
season: current season: current
year: year:
sort_by: popular sort_by: popular
summary: <<summary_<<key>>>>
collections: collections:
@ -103,28 +89,35 @@ collections:
variables: variables:
key: popular key: popular
template: template:
- name: popular - name: anilist
- name: shared - name: shared
- name: arr - name: arr
- name: custom - name: custom
- name: translation
translation_key: anilist_popular
AniList Top Rated: AniList Top Rated:
variables: variables:
key: top key: top
template: template:
- name: top - name: anilist
chart: top_rated
- name: shared - name: shared
- name: arr - name: arr
- name: custom - name: custom
- name: translation
translation_key: anilist_top_rated
AniList Trending: AniList Trending:
variables: variables:
key: trending key: trending
template: template:
- name: trending - name: anilist
- name: shared - name: shared
- name: arr - name: arr
- name: custom - name: custom
- name: translation
translation_key: anilist_trending
AniList Season: AniList Season:
variables: variables:
@ -134,3 +127,5 @@ collections:
- name: shared - name: shared
- name: arr - name: arr
- name: custom - name: custom
- name: translation
translation_key: anilist_season

@ -47,16 +47,17 @@
############################################################# #############################################################
external_templates: external_templates:
git: PMM/templates pmm: templates
template_variables: template_variables:
collection_section: "01" collection_section: "01"
translations:
pmm: translations
templates: templates:
released: released:
default: default:
in_the_last_released: 90 in_the_last_released: 90
summary_released: A collection of newly-released <<library_type>>s
summary: <<summary_<<key>>>>
smart_filter: smart_filter:
all: all:
release: <<in_the_last_released>> release: <<in_the_last_released>>
@ -64,8 +65,6 @@ templates:
episodes: episodes:
default: default:
in_the_last_episodes: 7 in_the_last_episodes: 7
summary_episodes: A collection of newly-released <<library_type>>s
summary: <<summary_<<key>>>>
smart_filter: smart_filter:
type: episodes type: episodes
all: all:
@ -84,6 +83,8 @@ collections:
template: template:
- name: released - name: released
- name: shared - name: shared
- name: translation
translation_key: basic_released
New Episodes: New Episodes:
variables: variables:
@ -92,3 +93,5 @@ collections:
- name: episodes - name: episodes
- name: shared - name: shared
allowed_libraries: show allowed_libraries: show
- name: translation
translation_key: basic_episodes

@ -57,17 +57,17 @@
############################################################# #############################################################
external_templates: external_templates:
git: PMM/templates pmm: templates
template_variables: template_variables:
collection_section: "01" collection_section: "01"
translations:
pmm: translations
templates: templates:
imdb: imdb:
default:
summary_<<key>>: "List of <<collection_name>> <<library_type>>s"
imdb_chart: <<chart>>_<<library_type>>s imdb_chart: <<chart>>_<<library_type>>s
summary: <<summary_<<key>>>>
collections: collections:
@ -80,6 +80,8 @@ collections:
- name: shared - name: shared
- name: arr - name: arr
- name: custom - name: custom
- name: translation
translation_key: imdb_popular
IMDb Top 250: IMDb Top 250:
variables: variables:
@ -90,6 +92,8 @@ collections:
- name: shared - name: shared
- name: arr - name: arr
- name: custom - name: custom
- name: translation
translation_key: imdb_top
IMDb Lowest Rated: IMDb Lowest Rated:
variables: variables:
@ -100,3 +104,5 @@ collections:
allowed_libraries: movie allowed_libraries: movie
- name: arr - name: arr
- name: custom - name: custom
- name: translation
translation_key: imdb_lowest

@ -61,48 +61,28 @@
############################################################# #############################################################
external_templates: external_templates:
git: PMM/templates pmm: templates
template_variables: template_variables:
collection_section: "01" collection_section: "01"
templates: translations:
pmm: translations
popular:
default:
limit_popular: 100
summary_popular: A collection of the most popular Anime according to MyAnimeList.
mal_popular: <<limit_popular>>
summary: <<summary_<<key>>>>
favorited: templates:
default:
limit_favorited: 100
summary_favorited: A collection of the Most Favorited Anime according to MyAnimeList.
mal_favorite: <<limit_favorited>>
summary: <<summary_<<key>>>>
top:
default:
limit_top: 100
summary_top: A collection of the Top Rated Anime according to MyAnimeList.
mal_all: <<limit_top>>
summary: <<summary_<<key>>>>
airing: mal:
default: default:
limit_airing: 100 limit_<<key>>: 100
summary_airing: A collection of the Top Rated Anime Currently Airing according to MyAnimeList. chart: <<key>>
mal_airing: <<limit_airing>> mal_<<chart>>: <<limit_<<key>>>>
summary: <<summary_<<key>>>>
season: season:
default: default:
limit_airing: 100 limit_season: 100
summary_season: A collection of Anime from the Current Season according to MyAnimeList.
mal_season: mal_season:
season: current season: current
sort_by: score sort_by: score
summary: <<summary_<<key>>>> limit: <<limit_season>>
collections: collections:
@ -110,37 +90,47 @@ collections:
variables: variables:
key: popular key: popular
template: template:
- name: popular - name: mal
- name: shared - name: shared
- name: arr - name: arr
- name: custom - name: custom
- name: translation
translation_key: mal_popular
MyAnimeList Favorited: MyAnimeList Favorited:
variables: variables:
key: favorited key: favorited
template: template:
- name: favorited - name: mal
chart: favorite
- name: shared - name: shared
- name: arr - name: arr
- name: custom - name: custom
- name: translation
translation_key: mal_favorited
MyAnimeList Top Rated: MyAnimeList Top Rated:
variables: variables:
key: top key: top
template: template:
- name: top - name: mal
chart: all
- name: shared - name: shared
- name: arr - name: arr
- name: custom - name: custom
- name: translation
translation_key: mal_top
MyAnimeList Top Airing: MyAnimeList Top Airing:
variables: variables:
key: airing key: airing
template: template:
- name: airing - name: mal
- name: shared - name: shared
- name: arr - name: arr
- name: custom - name: custom
- name: translation
translation_key: mal_airing
MyAnimeList Season: MyAnimeList Season:
variables: variables:
@ -150,3 +140,5 @@ collections:
- name: shared - name: shared
- name: arr - name: arr
- name: custom - name: custom
- name: translation
translation_key: mal_season

@ -58,33 +58,21 @@
############################################################# #############################################################
external_templates: external_templates:
git: PMM/templates pmm: templates
template_variables: template_variables:
collection_section: "01" collection_section: "01"
translations:
pmm: translations
templates: templates:
anidb: anidb:
default: default:
limit_anidb: 30 limit_anidb: 30
summary_anidb: A collection of Popular Anime on AniDB
summary: <<summary_<<key>>>>
anidb_popular: <<limit_anidb>> anidb_popular: <<limit_anidb>>
commonsense: commonsense:
default:
summary_commonsense: A collection of Common Sense <<library_type>>s. Common Sense recognizes outstanding entertainment with an official seal for quality and impact. Common Sense Selections include age-appropriate media with the potential to spark family conversations, entertain families of all kinds, and have a positive, lasting effect on society.
mdblist_list: https://mdblist.com/lists/plexmetamanager/cssfamilies<<library_type>>s mdblist_list: https://mdblist.com/lists/plexmetamanager/cssfamilies<<library_type>>s
summary: <<summary_<<key>>>>
stevenlu:
default:
summary_stevenlu: A collection of StevenLu's Most Popular Movies
summary: <<summary_<<key>>>>
pirated:
default:
summary_pirated: TorrentFreak.com's Weekly Top Ten Pirated Movies
summary: <<summary_<<key>>>>
collections: collections:
AniDB Popular: AniDB Popular:
@ -95,6 +83,8 @@ collections:
- name: shared - name: shared
- name: arr - name: arr
- name: custom - name: custom
- name: translation
translation_key: anidb_popular
Common Sense Selection: Common Sense Selection:
variables: variables:
@ -104,25 +94,29 @@ collections:
- name: shared - name: shared
- name: arr - name: arr
- name: custom - name: custom
- name: translation
translation_key: commonsense_selection
StevenLu's Popular Movies: StevenLu's Popular Movies:
variables: variables:
key: stevenlu key: stevenlu
stevenlu_popular: true stevenlu_popular: true
template: template:
- name: stevenlu
- name: shared - name: shared
allowed_libraries: movie allowed_libraries: movie
- name: arr - name: arr
- name: custom - name: custom
- name: translation
translation_key: stevenlu_popular
Top 10 Pirated Movies of the Week: Top 10 Pirated Movies of the Week:
variables: variables:
key: pirated key: pirated
mdblist_list: https://mdblist.com/lists/hdlists/top-ten-pirated-movies-of-the-week-torrent-freak-com/ mdblist_list: https://mdblist.com/lists/hdlists/top-ten-pirated-movies-of-the-week-torrent-freak-com/
template: template:
- name: pirated
- name: shared - name: shared
allowed_libraries: movie allowed_libraries: movie
- name: arr - name: arr
- name: custom - name: custom
- name: translation
translation_key: pirated_popular

@ -50,27 +50,27 @@
############################################################# #############################################################
external_templates: external_templates:
git: PMM/templates pmm: templates
template_variables: template_variables:
collection_section: "01" collection_section: "01"
translations:
pmm: translations
templates: templates:
tautulli_popular: tautulli_popular:
default: default:
list_days_popular: 30 list_days_popular: 30
list_size_popular: 20 list_size_popular: 20
summary_popular: A collection of <<library_type>>s Popular on Plex
summary: <<summary_<<key>>>>
tautulli_popular: tautulli_popular:
list_days: <<list_days_popular>> list_days: <<list_days_popular>>
list_size: <<list_size_popular>> list_size: <<list_size_popular>>
list_buffer: 20 list_buffer: 20
tautulli_watched: tautulli_watched:
default: default:
list_days_watched: 30 list_days_watched: 30
list_size_watched: 20 list_size_watched: 20
summary_watched: A collection of Top <<library_type>>s Watched on Plex
summary: <<summary_<<key>>>>
tautulli_watched: tautulli_watched:
list_days: <<list_days_watched>> list_days: <<list_days_watched>>
list_size: <<list_size_watched>> list_size: <<list_size_watched>>
@ -85,6 +85,8 @@ collections:
- name: shared - name: shared
- name: arr - name: arr
- name: custom - name: custom
- name: translation
translation_key: tautulli_popular
Plex Watched: Plex Watched:
variables: variables:
@ -94,3 +96,5 @@ collections:
- name: shared - name: shared
- name: arr - name: arr
- name: custom - name: custom
- name: translation
translation_key: tautulli_watched

@ -61,46 +61,20 @@
############################################################# #############################################################
external_templates: external_templates:
git: PMM/templates pmm: templates
template_variables: template_variables:
collection_section: "01" collection_section: "01"
templates: translations:
pmm: translations
airing:
default:
limit_airing: 100
summary_airing: A collection of shows with episodes airing today
tmdb_airing_today: <<limit_airing>>
summary: <<summary_<<key>>>>
air:
default:
limit_air: 100
summary_air: A collection of shows that are still activaly airing episodes.
tmdb_on_the_air: <<limit_air>>
summary: <<summary_<<key>>>>
popular: templates:
default:
limit_popular: 100
summary_popular: A collection of the most watched <<library_type>>s according to TMDb.
tmdb_popular: <<limit_popular>>
summary: <<summary_<<key>>>>
top:
default:
limit_top: 100
summary_top: A collection of the top rated <<library_type>>s according to TMDb.
tmdb_top_rated: <<limit_top>>
summary: <<summary_<<key>>>>
trending: tmdb:
default: default:
limit_trending: 100 limit_<<key>>: 100
summary_trending: A collection of <<library_type>>s trending on TMDb chart: <<key>>
tmdb_trending_weekly: <<limit_trending>> tmdb_<<chart>>: <<limit_<<key>>>>
summary: <<summary_<<key>>>>
collections: collections:
@ -108,45 +82,59 @@ collections:
variables: variables:
key: airing key: airing
template: template:
- name: airing - name: tmdb
chart: airing_today
- name: shared - name: shared
allowed_libraries: show allowed_libraries: show
- name: arr - name: arr
- name: custom - name: custom
- name: translation
translation_key: tmdb_airing
TMDb On The Air: TMDb On The Air:
variables: variables:
key: air key: air
template: template:
- name: air - name: tmdb
chart: on_the_air
- name: shared - name: shared
allowed_libraries: show allowed_libraries: show
- name: arr - name: arr
- name: custom - name: custom
- name: translation
translation_key: tmdb_air
TMDb Popular: TMDb Popular:
variables: variables:
key: popular key: popular
template: template:
- name: popular - name: tmdb
- name: shared - name: shared
- name: arr - name: arr
- name: custom - name: custom
- name: translation
translation_key: tmdb_popular
TMDb Top Rated: TMDb Top Rated:
variables: variables:
key: top key: top
template: template:
- name: top - name: tmdb
chart: top_rated
- name: shared - name: shared
- name: arr - name: arr
- name: custom - name: custom
- name: translation
translation_key: tmdb_top
TMDb Trending: TMDb Trending:
variables: variables:
key: trending key: trending
template: template:
- name: trending - name: tmdb
chart: trending_weekly
- name: shared - name: shared
- name: arr - name: arr
- name: custom - name: custom
- name: translation
translation_key: tmdb_trending

@ -64,10 +64,13 @@
############################################################# #############################################################
external_templates: external_templates:
git: PMM/templates pmm: templates
template_variables: template_variables:
collection_section: "01" collection_section: "01"
translations:
pmm: translations
templates: templates:
trakt: trakt:
default: default:

@ -1,27 +1,27 @@
translations: translations:
bafta_best_name: BAFTA Best Films bafta_best_name: BAFTA Best Films
bafta_best_summary: British Academy of Film and Television Arts Best Film Winners bafta_best_summary: British Academy of Film and Television Arts Best Film Winners.
bafta_year_name: BAFTA <<key_name>> bafta_year_name: BAFTA <<key_name>>
bafta_year_summary: <<key>> BAFTA Awards bafta_year_summary: <<key_name>> BAFTA Awards.
cannes_best_name: Cannes Golden Palm Winners cannes_best_name: Cannes Golden Palm Winners
cannes_best_summary: Cannes Golden Palm Winners cannes_best_summary: Cannes Golden Palm Winners.
cannes_year_name: Cannes <<key_name>> cannes_year_name: Cannes <<key_name>>
cannes_year_summary: <<key>> Cannes Awards cannes_year_summary: <<key_name>> Cannes Awards.
choice_year_name: Critics Choice Awards <<key_name>> choice_year_name: Critics Choice Awards <<key_name>>
choice_year_summary: <<key>> Critics Choice Awards choice_year_summary: <<key_name>> Critics Choice Awards.
emmy_year_name: Emmys <<key_name>> emmy_year_name: Emmys <<key_name>>
emmy_year_summary: <<key>> Emmy Winners emmy_year_summary: <<key_name>> Emmy Winners.
golden_best_name: Golden Globe Best Motion Pictures golden_best_name: Golden Globe Best Motion Pictures
golden_best_summary: Golden Globe Best Motion Pictures golden_best_summary: Golden Globe Best Motion Pictures.
golden_year_name: Golden Globe <<key_name>> golden_year_name: Golden Globe <<key_name>>
golden_year_summary: <<key>> Golden Globe Winners golden_year_summary: <<key_name>> Golden Globe Winners.
oscars_picture_name: Oscars Best Picture Winners oscars_picture_name: Oscars Best Picture Winners
oscars_picture_summary: The Academy Award for Best Picture is one of the Academy Awards presented annually by the Academy of Motion Picture Arts and Sciences since the awards debuted in 1929. oscars_picture_summary: The Academy Award for Best Picture is one of the Academy Awards presented annually by the Academy of Motion Picture Arts and Sciences since the awards debuted in 1929.
@ -30,7 +30,7 @@ translations:
oscars_director_summary: The Academy Award for Best Director is one of the Academy Awards presented annually by the Academy of Motion Picture Arts and Sciences since the awards debuted in 1929. oscars_director_summary: The Academy Award for Best Director is one of the Academy Awards presented annually by the Academy of Motion Picture Arts and Sciences since the awards debuted in 1929.
oscars_year_name: Oscars Winners <<key_name>> oscars_year_name: Oscars Winners <<key_name>>
oscars_year_summary: Academy Awards (Oscars) Winners for <<key>> oscars_year_summary: Academy Awards (Oscars) Winners for <<key_name>>.
berlinale_best_name: Berlinale Golden Bears berlinale_best_name: Berlinale Golden Bears
berlinale_best_summary: Up to 400 films are shown every year as part of the Berlinale's (Berlin International Film Festival) public programme, the vast majority of which are world or European premieres. Films of every genre, length and format can be submitted for consideration. The Golden Bear (German Goldener Bär) is the highest prize awarded for the best film shown during this festival. berlinale_best_summary: Up to 400 films are shown every year as part of the Berlinale's (Berlin International Film Festival) public programme, the vast majority of which are world or European premieres. Films of every genre, length and format can be submitted for consideration. The Golden Bear (German Goldener Bär) is the highest prize awarded for the best film shown during this festival.
@ -45,18 +45,127 @@ translations:
venice_best_summary: The Venice Film Festival is the oldest film festival in the world. Founded 1932, the festival has since taken place every year in Venice, Italy. It is part of the Venice Biennale, a major biennial exhibition and festival for contemporary art. The festival's Leone d'Oro (Golden Lion) prize is awarded to the best film screened at the festival. venice_best_summary: The Venice Film Festival is the oldest film festival in the world. Founded 1932, the festival has since taken place every year in Venice, Italy. It is part of the Venice Biennale, a major biennial exhibition and festival for contemporary art. The festival's Leone d'Oro (Golden Lion) prize is awarded to the best film screened at the festival.
spirit_year_name: Independent Spirit Awards <<key_name>> spirit_year_name: Independent Spirit Awards <<key_name>>
spirit_year_summary: <<key>> Independent Spirit Awards spirit_year_summary: <<key_name>> Independent Spirit Awards.
sundance_best_name: Sundance Grand Jury Winners sundance_best_name: Sundance Grand Jury Winners
sundance_best_summary: The Sundance Film Festival is a film festival that takes place annually in the state of Utah, in the United States. It is the largest independent cinema festival in the U.S. Held in January, the festival is the premier showcase for new work from American and international independent filmmakers. The festival comprises competitive sections for American and international dramatic and documentary films, both feature-length films and short films, and a group of non-competitive showcase sections. sundance_best_summary: The Sundance Film Festival is a film festival that takes place annually in the state of Utah, in the United States. It is the largest independent cinema festival in the U.S. Held in January, the festival is the premier showcase for new work from American and international independent filmmakers. The festival comprises competitive sections for American and international dramatic and documentary films, both feature-length films and short films, and a group of non-competitive showcase sections.
sundance_year_name: Sundance Film Festival <<key_name>> sundance_year_name: Sundance Film Festival <<key_name>>
sundance_year_summary: Sundance Film Festival of <<key>> sundance_year_summary: Sundance Film Festival of <<key_name>>.
actor_summary: <<library_type>>s with <<key_name>> actor_name: <<key_name>>
actor_summary: <<library_type>>s with <<key_name>>.
audio_language_name: <<key_name>> Audio audio_language_name: <<key_name>> Audio
audio_language_summary: <<library_type>>s filmed in <<key_name>> audio_language_summary: <<library_type>>s filmed in the <<key_name>> Language.
content_rating_uk_summary: <<library_type>>s that are rated <<key_name>> audio_language_other_name: Other Audio
audio_language_other_summary: <<library_type>>s filmed in other uncommon Languages.
content_rating_uk: <<key_name>> <<library_type>>s
content_rating_uk_summary: <<library_type>>s that are rated <<key_name>>.
content_rating_uk_other_name: Other Ratings
content_rating_uk_other_summary: <<library_type>>s with other uncommon Ratings.
genre_name: <<key_name>> <<library_type>>s
genre_summary: <<library_type>>s that have the genre <<key_name>>.
resolution_name: <<key_name>> <<library_type>>s
resolution_summary: <<library_type>>s that have the resolution <<key_name>>.
resolution_standards_name: <<key_name>> <<library_type>>s
resolution_standards_summary: <<library_type>>s that have the resolution <<key_name>>.
resolution_standards_other_name: Other Resolutions
resolution_standards_other_summary: <<library_type>>s that have other uncommon resolutions.
streaming_name: <<key_name>> <<library_type>>s
streaming_summary: <<library_type>>s streaming on <<key_name>>.
studio_name: <<key_name>>
studio_summary: <<library_type>>s produced by <<key_name>>.
subtitle_language_name: <<key_name>> Subtitles
subtitle_language_summary: <<library_type>>s with <<key_name>> Subtitles.
subtitle_language_other_name: Other Subtitles
subtitle_language_other_summary: <<library_type>>s with other uncommon Subtitles.
year_name: Best of <<key_name>>
year_summary: <<library_type>>s released in <<key_name>>.
anilist_popular_name: AniList Popular
anilist_popular_summary: A collection of the most popular Anime according to AniList.
anilist_top_rated_name: AniList Top Rated
anilist_top_rated_summary: A collection of the top rated Anime according to AniList.
anilist_trending_name: AniList Trending
anilist_trending_summary: A collection of trending Anime according to AniList.
anilist_season_name: AniList Season
anilist_season_summary: A collection of Anime from the Current Season according to AniList.
basic_released_name: Newly Released
basic_released_summary: A collection of newly-released <<library_type>>s.
basic_episodes_name: New Episodes
basic_episodes_summary: A collection of newly-released <<library_type>>s.
imdb_popular_name: IMDb Popular
imdb_popular_summary: List of <<collection_name>> <<library_type>>s.
imdb_top_name: IMDb Top 250
imdb_top_summary: List of <<collection_name>> <<library_type>>s.
imdb_lowest_name: IMDb Lowest Rated
imdb_lowest_summary: List of <<collection_name>> <<library_type>>s.
mal_popular_name: MyAnimeList Popular
mal_popular_summary: A collection of the most popular Anime according to MyAnimeList.
mal_favorited_name: MyAnimeList Favorited
mal_favorited_summary: A collection of the Most Favorited Anime according to MyAnimeList.
mal_top_name: MyAnimeList Top Rated
mal_top_summary: A collection of the Top Rated Anime according to MyAnimeList.
mal_airing_name: MyAnimeList Top Airing
mal_airing_summary: A collection of the Top Rated Anime Currently Airing according to MyAnimeList.
mal_season_name: MyAnimeList Season
mal_season_summary: A collection of Anime from the Current Season according to MyAnimeList.
anidb_popular_name: AniDB Popular
anidb_popular_summary: A collection of Popular Anime on AniDB.
commonsense_selection_name: Common Sense Selection
commonsense_selection_summary: A collection of Common Sense <<library_type>>s. Common Sense recognizes outstanding entertainment with an official seal for quality and impact. Common Sense Selections include age-appropriate media with the potential to spark family conversations, entertain families of all kinds, and have a positive, lasting effect on society.
stevenlu_popular_name: StevenLu's Popular Movies
stevenlu_popular_summary: A collection of StevenLu's Most Popular Movies.
pirated_popular_name: Top 10 Pirated Movies of the Week
pirated_popular_summary: TorrentFreak.com's Weekly Top Ten Pirated Movies.
tautulli_popular_name: Plex Popular
tautulli_popular_summary: A collection of <<library_type>>s Popular on Plex.
tautulli_watched_name: Plex Watched
tautulli_watched_summary: A collection of Top <<library_type>>s Watched on Plex.
tmdb_airing_name: TMDb Airing Today
tmdb_airing_summary: A collection of shows with episodes airing today.
tmdb_air_name: TMDb On The Air
tmdb_air_summary: A collection of shows that are still activaly airing episodes.
tmdb_popular_name: TMDb Popular
tmdb_popular_summary: A collection of the most watched <<library_type>>s according to TMDb.
tmdb_top_name: TMDb Top Rated
tmdb_top_summary: A collection of the top rated <<library_type>>s according to TMDb.
tmdb_trending_name: TMDb Trending
tmdb_trending_summary: A collection of <<library_type>>s trending on TMDb.

@ -129,10 +129,12 @@ class DataFile:
raise Failed(f"File Error: File does not exist {content_path}") raise Failed(f"File Error: File does not exist {content_path}")
yaml = YAML(path=content_path, check_empty=True) yaml = YAML(path=content_path, check_empty=True)
if not translation: if not translation:
logger.debug(f"File Loaded From: {content_path}")
return yaml.data return yaml.data
if "translations" not in yaml.data: if "translations" not in yaml.data:
raise Failed(f"URL Error: Top Level translations attribute not found in {content_path}") raise Failed(f"URL Error: Top Level translations attribute not found in {content_path}")
translations = {k: {"default": v} for k, v in yaml.data["translations"]} translations = {k: {"default": v} for k, v in yaml.data["translations"]}
logger.debug(f"Translations Loaded From: {dir_path}")
def add_translation(yaml_path, yaml_key, data=None): def add_translation(yaml_path, yaml_key, data=None):
yaml_content = YAML(input_data=data, path=yaml_path if data is None else None, check_empty=True) yaml_content = YAML(input_data=data, path=yaml_path if data is None else None, check_empty=True)
@ -818,10 +820,10 @@ class MetadataFile(DataFile):
used_keys.extend(key_value) used_keys.extend(key_value)
og_call = {"value": key_value, auto_type: key_value, "key_name": key_name, "key": key} og_call = {"value": key_value, auto_type: key_value, "key_name": key_name, "key": key}
for k, v in template_variables.items(): for k, v in template_variables.items():
if not isinstance(v, dict): if key in v:
og_call[k] = v
elif key in v:
og_call[k] = v[key] og_call[k] = v[key]
elif "default" in v:
og_call[k] = v["default"]
template_call = [] template_call = []
for template_name in template_names: for template_name in template_names:
new_call = og_call.copy() new_call = og_call.copy()
@ -849,10 +851,10 @@ class MetadataFile(DataFile):
auto_type: other_keys, "key_name": other_name, "key": "other" auto_type: other_keys, "key_name": other_name, "key": "other"
} }
for k, v in template_variables.items(): for k, v in template_variables.items():
if not isinstance(v, dict): if "other" in v:
og_other[k] = v
elif "other" in v:
og_other[k] = v["other"] og_other[k] = v["other"]
elif "default" in v:
og_other[k] = v["default"]
other_call = [] other_call = []
for other_template in other_templates: for other_template in other_templates:
new_call = og_other.copy() new_call = og_other.copy()

@ -717,7 +717,7 @@ def parse(error, attribute, data, datatype=None, methods=None, parent=None, defa
new_data[str(dict_data_key)] = dict_data_data new_data[str(dict_data_key)] = dict_data_data
final_dict[dict_key] = new_data final_dict[dict_key] = new_data
else: else:
final_dict[dict_key] = dict_data raise Failed(f"{error} Warning: {display} {dict_key} is not a dictionary")
return final_dict return final_dict
else: else:
raise Failed(f"{error} Error: {display} {value} is not a dictionary") raise Failed(f"{error} Error: {display} {value} is not a dictionary")

Loading…
Cancel
Save