[109] fix links

pull/1330/head
meisnate12 2 years ago
parent 600ac13156
commit fdb166fa36

@ -1 +1 @@
1.18.3-develop108 1.18.3-develop109

@ -220,7 +220,7 @@ html_theme_options = {
("Shared Variables", "defaults/collection_variables"), ("Shared Variables", "defaults/collection_variables"),
("_divider", ), ("_divider", ),
("Separators", "defaults/separators"), ("Separators", "defaults/separators"),
("_menu", "Award", "defaults/defaults", "#award-collections", [ ("_menu", "Award", "defaults/collections", "#award-collections", [
("Awards Separator", "defaults/award/separator"), ("Awards Separator", "defaults/award/separator"),
("_divider",), ("_divider",),
("Academy Awards (Oscars)", "defaults/award/oscars"), ("Academy Awards (Oscars)", "defaults/award/oscars"),
@ -233,7 +233,7 @@ html_theme_options = {
("Sundance Film Festival Awards", "defaults/award/sundance"), ("Sundance Film Festival Awards", "defaults/award/sundance"),
("Other Awards", "defaults/award/other"), ("Other Awards", "defaults/award/other"),
]), ]),
("_menu", "Chart", "defaults/defaults", "#chart-collections", [ ("_menu", "Chart", "defaults/collections", "#chart-collections", [
("Chart Separator", "defaults/chart/separator"), ("Chart Separator", "defaults/chart/separator"),
("_divider",), ("_divider",),
("Basic Charts", "defaults/chart/basic"), ("Basic Charts", "defaults/chart/basic"),
@ -246,7 +246,7 @@ html_theme_options = {
("Trakt Charts", "defaults/chart/trakt"), ("Trakt Charts", "defaults/chart/trakt"),
("Other Charts", "defaults/chart/other"), ("Other Charts", "defaults/chart/other"),
]), ]),
("_menu", "Movie", "defaults/defaults", "#general-collections", [ ("_menu", "Movie", "defaults/collections", "#general-collections", [
("Actors", "defaults/both/actor"), ("Actors", "defaults/both/actor"),
("Audio Languages", "defaults/both/audio_language"), ("Audio Languages", "defaults/both/audio_language"),
("Based On...", "defaults/both/based"), ("Based On...", "defaults/both/based"),
@ -271,7 +271,7 @@ html_theme_options = {
("Writers", "defaults/movie/writer"), ("Writers", "defaults/movie/writer"),
("Years", "defaults/both/year"), ("Years", "defaults/both/year"),
]), ]),
("_menu", "Show", "defaults/defaults", "#general-collections", [ ("_menu", "Show", "defaults/collections", "#general-collections", [
("Actors", "defaults/both/actor"), ("Actors", "defaults/both/actor"),
("Audio Languages", "defaults/both/audio_language"), ("Audio Languages", "defaults/both/audio_language"),
("Based On...", "defaults/both/based"), ("Based On...", "defaults/both/based"),

@ -50,7 +50,7 @@ details = [
"ignore_ids", "ignore_imdb_ids", "server_preroll", "changes_webhooks", "collection_filtering", "collection_mode", "limit", "url_theme", "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" "file_theme", "minimum_items", "label", "album_sorting", "cache_builders", "tmdb_region", "default_percent"
] + boolean_details + scheduled_boolean + string_details ] + 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 poster_details + background_details + summary_details + string_details
item_false_details = ["item_lock_background", "item_lock_poster", "item_lock_title"] 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 item_bool_details = ["item_tmdb_season_titles", "revert_overlay", "item_assets", "item_refresh"] + item_false_details

@ -1404,6 +1404,7 @@ class Plex(Library):
return tmdb_id, tvdb_id, imdb_id return tmdb_id, tvdb_id, imdb_id
def get_locked_attributes(self, item, titles=None): def get_locked_attributes(self, item, titles=None):
item = self.reload(item)
attrs = {} attrs = {}
fields = {f.name: f for f in item.fields if f.locked} 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: if isinstance(item, (Movie, Show)) and titles and titles.count(item.title) > 1:

Loading…
Cancel
Save