From 557a1da82930a1bc6a0ba47a673766593fef4cb3 Mon Sep 17 00:00:00 2001 From: meisnate12 Date: Sat, 19 Mar 2022 12:02:52 -0400 Subject: [PATCH] [11] rename the template variable to value among other fixes --- .github/workflows/commit.yml | 7 ++- VERSION | 2 +- docs/metadata/dynamic.md | 105 ++++++++++++++++++----------------- modules/imdb.py | 4 +- modules/meta.py | 32 ++++++++--- modules/util.py | 4 +- 6 files changed, 86 insertions(+), 68 deletions(-) diff --git a/.github/workflows/commit.yml b/.github/workflows/commit.yml index e07502c3..cb11ac2f 100644 --- a/.github/workflows/commit.yml +++ b/.github/workflows/commit.yml @@ -14,8 +14,9 @@ jobs: - name: Send Discord Release Notification uses: meisnate12/discord-notifications@master with: - webhook_id: ${{ secrets.BUILD_WEBHOOK_ID }} - webhook_token: ${{ secrets.BUILD_WEBHOOK_TOKEN }} - title: Plex Meta Manager Develop Commit + webhook_id: ${{ secrets.DEVELOP_WEBHOOK_ID }} + webhook_token: ${{ secrets.DEVELOP_WEBHOOK_TOKEN }} + title: Plex Meta Manager Develop Push + commits: "true" username: PMM Develop avatar_url: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager/master/.github/pmm.png \ No newline at end of file diff --git a/VERSION b/VERSION index 196f4a12..049ad74d 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.16.2-develop10 +1.16.2-develop11 diff --git a/docs/metadata/dynamic.md b/docs/metadata/dynamic.md index a9039693..91edb571 100644 --- a/docs/metadata/dynamic.md +++ b/docs/metadata/dynamic.md @@ -59,7 +59,7 @@ dynamic_collections: dynamic_collections: Countries: # mapping name does not matter, just needs to be unique type: country - title_format: <> Cinema + title_format: <> Cinema key_name_override: France: French ``` @@ -152,7 +152,7 @@ Create collections based on the TMDb Collections associated with items in the li Default title_format - <<title>> + <<key_name>> Default Template @@ -160,7 +160,7 @@ Create collections based on the TMDb Collections associated with items in the li ```yaml default_template: - tmdb_collection_details: <> + tmdb_collection_details: <> ``` @@ -200,7 +200,7 @@ Create collections based on each actor found on [TMDb's Popular People List](htt Default title_format - <<title>> + <<key_name>> Default Template @@ -208,7 +208,7 @@ Create collections based on each actor found on [TMDb's Popular People List](htt ```yaml default_template: - tmdb_person: <> + tmdb_person: <> plex_search: all: actor: tmdb @@ -250,7 +250,7 @@ Create collections based on the TMDb original language associated with items in Default title_format - <<title>> <<library_type>>s + <<key_name>> <<library_type>>s Default Template @@ -260,7 +260,7 @@ Create collections based on the TMDb original language associated with items in default_template: plex_all: true filters: - original_language: <> + original_language: <> ``` @@ -298,7 +298,7 @@ Create collections based on the TMDb origin country associated with items in the Default title_format - <<title>> <<library_type>>s + <<key_name>> <<library_type>>s Default Template @@ -308,7 +308,7 @@ Create collections based on the TMDb origin country associated with items in the default_template: plex_all: true filters: - origin_country: <> + origin_country: <> ``` @@ -348,7 +348,7 @@ Create collections for each of the Trakt lists for the specified users. Use `me` Default title_format - <<title>> + <<key_name>> Default Template @@ -356,7 +356,7 @@ Create collections for each of the Trakt lists for the specified users. Use `me` ```yaml default_template: - trakt_list_details: <> + trakt_list_details: <> ``` @@ -399,7 +399,7 @@ Create collections for each of the Trakt lists that the authenticated user has l Default title_format - <<title>> + <<key_name>> Default Template @@ -407,7 +407,7 @@ Create collections for each of the Trakt lists that the authenticated user has l ```yaml default_template: - trakt_list_details: <> + trakt_list_details: <> ``` @@ -447,7 +447,7 @@ Create collections for each of the people found within Trakt lists that the user Default title_format - <<title>> + <<key_name>> Default Template @@ -455,7 +455,7 @@ Create collections for each of the people found within Trakt lists that the user ```yaml default_template: - tmdb_person: <> + tmdb_person: <> plex_search: all: actor: tmdb @@ -519,7 +519,7 @@ Create a collection for each actor found in the library. Default title_format - <<title>> + <<key_name>> Default Template @@ -527,7 +527,7 @@ Create a collection for each actor found in the library. ```yaml default_template: - tmdb_person: <> + tmdb_person: <> plex_search: all: actor: tmdb @@ -613,7 +613,7 @@ Create a collection for each director found in the library. Default title_format - <<title>> + <<key_name>> Default Template @@ -621,7 +621,7 @@ Create a collection for each director found in the library. ```yaml default_template: - tmdb_person: <> + tmdb_person: <> plex_search: all: director: tmdb @@ -707,7 +707,7 @@ Create a collection for each writer found in the library. Default title_format - <<title>> + <<key_name>> Default Template @@ -715,7 +715,7 @@ Create a collection for each writer found in the library. ```yaml default_template: - tmdb_person: <> + tmdb_person: <> plex_search: all: writer: tmdb @@ -801,7 +801,7 @@ Create a collection for each producer found in the library. Default title_format - <<title>> + <<key_name>> Default Template @@ -809,7 +809,7 @@ Create a collection for each producer found in the library. ```yaml default_template: - tmdb_person: <> + tmdb_person: <> plex_search: all: producer: tmdb @@ -873,7 +873,7 @@ Create a collection for each genre found in the library. Default title_format - Top <<title>> <<library_type>>s + Top <<key_name>> <<library_type>>s Default Template @@ -885,7 +885,7 @@ default_template: limit: 50 sort_by: critic_rating.desc any: - genre: <> + genre: <> ``` @@ -906,7 +906,7 @@ templates: limit: 100 sort_by: critic_rating.desc all: - genre: <> + genre: <> dynamic_collections: Genres: # mapping name does not matter just needs to be unique type: genre @@ -939,7 +939,7 @@ Create a collection for each content rating found in the library. Default title_format - Top <<title>> <<library_type>>s + Top <<key_name>> <<library_type>>s Default Template @@ -951,7 +951,7 @@ default_template: limit: 50 sort_by: critic_rating.desc any: - content_rating: <> + content_rating: <> ``` @@ -970,7 +970,7 @@ templates: limit: 100 sort_by: critic_rating.desc all: - content_rating: <> + content_rating: <> dynamic_collections: Content Ratings: # mapping name does not matter just needs to be unique type: content_rating @@ -1000,7 +1000,7 @@ Create a collection for each year found in the library. Default title_format - Best <<library_type>>s of <<title>> + Best <<library_type>>s of <<key_name>> Default Template @@ -1012,7 +1012,7 @@ default_template: limit: 50 sort_by: critic_rating.desc any: - year: <> + year: <> ``` @@ -1059,7 +1059,7 @@ Create a collection for each decade found in the library Default title_format - Best <<library_type>>s of <<title>> + Best <<library_type>>s of <<key_name>> Default Template @@ -1071,7 +1071,7 @@ default_template: limit: 50 sort_by: critic_rating.desc any: - decade: <> + decade: <> ``` @@ -1116,7 +1116,7 @@ Create a collection for each country found in the library Default title_format - Top <<title>> <<library_type>>s + Top <<key_name>> <<library_type>>s Default Template @@ -1128,7 +1128,7 @@ default_template: limit: 50 sort_by: critic_rating.desc any: - country: <> + country: <> ``` @@ -1187,7 +1187,7 @@ default_template: limit: 50 sort_by: title.asc any: - resolution: <> + resolution: <> ``` @@ -1246,7 +1246,7 @@ default_template: limit: 50 sort_by: critic_rating.asc any: - subtitle_language: <> + subtitle_language: <> ``` @@ -1298,7 +1298,7 @@ default_template: limit: 50 sort_by: critic_rating.asc any: - audio_language: <> + audio_language: <> ``` @@ -1338,7 +1338,7 @@ Create a collection for each network found in the library. Default title_format - Top <<title>> <<library_type>>s + Top <<key_name>> <<library_type>>s Default Template @@ -1350,7 +1350,7 @@ default_template: limit: 50 sort_by: critic_rating.desc any: - network: <> + network: <> ``` @@ -1368,7 +1368,7 @@ templates: smart_filter: sort_by: critic_rating.desc all: - network: <> + network: <> dynamic_collections: Networks: # mapping name does not matter just needs to be unique type: network @@ -1399,7 +1399,7 @@ Create a collection for each mood found in the library. Default title_format - Most Played <<title>> <<library_type>>s + Most Played <<value>> <<library_type>>s Default Template @@ -1411,7 +1411,7 @@ default_template: limit: 50 sort_by: plays.desc any: - artist_mood: <> + artist_mood: <> ``` @@ -1431,7 +1431,7 @@ templates: sort_by: plays.desc type: tracks all: - track_mood: <> + track_mood: <> dynamic_collections: Moods: # mapping name does not matter just needs to be unique type: mood @@ -1462,7 +1462,7 @@ Create a collection for each style found in the library. Default title_format - Most Played <<title>> <<library_type>>s + Most Played <<key_name>> <<library_type>>s Default Template @@ -1474,7 +1474,7 @@ default_template: limit: 50 sort_by: plays.desc any: - artist_style: <