From fdb166fa360ae66ac8cd3997446767e6a61b1c90 Mon Sep 17 00:00:00 2001 From: meisnate12 Date: Wed, 1 Mar 2023 10:14:20 -0500 Subject: [PATCH] [109] fix links --- VERSION | 2 +- docs/conf.py | 8 ++++---- modules/builder.py | 2 +- modules/plex.py | 1 + 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/VERSION b/VERSION index 02599f1f..390fe7f7 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.18.3-develop108 +1.18.3-develop109 diff --git a/docs/conf.py b/docs/conf.py index 52bf59af..b78216a8 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -220,7 +220,7 @@ html_theme_options = { ("Shared Variables", "defaults/collection_variables"), ("_divider", ), ("Separators", "defaults/separators"), - ("_menu", "Award", "defaults/defaults", "#award-collections", [ + ("_menu", "Award", "defaults/collections", "#award-collections", [ ("Awards Separator", "defaults/award/separator"), ("_divider",), ("Academy Awards (Oscars)", "defaults/award/oscars"), @@ -233,7 +233,7 @@ html_theme_options = { ("Sundance Film Festival Awards", "defaults/award/sundance"), ("Other Awards", "defaults/award/other"), ]), - ("_menu", "Chart", "defaults/defaults", "#chart-collections", [ + ("_menu", "Chart", "defaults/collections", "#chart-collections", [ ("Chart Separator", "defaults/chart/separator"), ("_divider",), ("Basic Charts", "defaults/chart/basic"), @@ -246,7 +246,7 @@ html_theme_options = { ("Trakt Charts", "defaults/chart/trakt"), ("Other Charts", "defaults/chart/other"), ]), - ("_menu", "Movie", "defaults/defaults", "#general-collections", [ + ("_menu", "Movie", "defaults/collections", "#general-collections", [ ("Actors", "defaults/both/actor"), ("Audio Languages", "defaults/both/audio_language"), ("Based On...", "defaults/both/based"), @@ -271,7 +271,7 @@ html_theme_options = { ("Writers", "defaults/movie/writer"), ("Years", "defaults/both/year"), ]), - ("_menu", "Show", "defaults/defaults", "#general-collections", [ + ("_menu", "Show", "defaults/collections", "#general-collections", [ ("Actors", "defaults/both/actor"), ("Audio Languages", "defaults/both/audio_language"), ("Based On...", "defaults/both/based"), diff --git a/modules/builder.py b/modules/builder.py index 4a7533d7..adaa70a4 100644 --- a/modules/builder.py +++ b/modules/builder.py @@ -50,7 +50,7 @@ details = [ "ignore_ids", "ignore_imdb_ids", "server_preroll", "changes_webhooks", "collection_filtering", "collection_mode", "limit", "url_theme", "file_theme", "minimum_items", "label", "album_sorting", "cache_builders", "tmdb_region", "default_percent" ] + boolean_details + scheduled_boolean + string_details -collectionless_details = ["collection_order", "plex_collectionless", "label", "label_sync_mode", "test"] + \ +collectionless_details = ["collection_order", "plex_collectionless", "label", "label_sync_mode", "test", "item_label"] + \ poster_details + background_details + summary_details + string_details item_false_details = ["item_lock_background", "item_lock_poster", "item_lock_title"] item_bool_details = ["item_tmdb_season_titles", "revert_overlay", "item_assets", "item_refresh"] + item_false_details diff --git a/modules/plex.py b/modules/plex.py index e62be53b..6c5eb45e 100644 --- a/modules/plex.py +++ b/modules/plex.py @@ -1404,6 +1404,7 @@ class Plex(Library): return tmdb_id, tvdb_id, imdb_id def get_locked_attributes(self, item, titles=None): + item = self.reload(item) attrs = {} fields = {f.name: f for f in item.fields if f.locked} if isinstance(item, (Movie, Show)) and titles and titles.count(item.title) > 1: