fixed dict and table errors

pull/351/head
meisnate12 3 years ago
parent c3a8d788f3
commit 10b0cf8a6d

@ -171,8 +171,10 @@ collectionless_details = [
"label", "label_sync_mode", "test" "label", "label_sync_mode", "test"
] + poster_details + background_details + summary_details + string_details ] + poster_details + background_details + summary_details + string_details
item_details = [ item_details = [
"item_label", "item_radarr_tag", "item_sonarr_tag", "item_overlay" "item_label", "item_radarr_tag", "item_sonarr_tag", "item_overlay",
] + plex.item_advance_keys "item_episode_sorting", "item_keep_episodes", "item_delete_episodes", "item_season_display",
"item_episode_ordering", "item_metadata_language", "item_use_original_title"
]
radarr_details = ["radarr_add", "radarr_folder", "radarr_monitor", "radarr_search", "radarr_availability", "radarr_quality", "radarr_tag"] radarr_details = ["radarr_add", "radarr_folder", "radarr_monitor", "radarr_search", "radarr_availability", "radarr_quality", "radarr_tag"]
sonarr_details = ["sonarr_add", "sonarr_folder", "sonarr_monitor", "sonarr_language", "sonarr_series", "sonarr_quality", "sonarr_season", "sonarr_search", "sonarr_cutoff_search", "sonarr_tag"] sonarr_details = ["sonarr_add", "sonarr_folder", "sonarr_monitor", "sonarr_language", "sonarr_series", "sonarr_quality", "sonarr_season", "sonarr_search", "sonarr_cutoff_search", "sonarr_tag"]
all_filters = [ all_filters = [

@ -492,7 +492,7 @@ class Plex:
try: try:
image = None image = None
if self.config.Cache: if self.config.Cache:
image, image_compare, _ = self.config.Cache.query_image_map(item.ratingKey, f"{self.image_table_name}_background") image, image_compare, _ = self.config.Cache.query_image_map(item.ratingKey, f"{self.image_table_name}_backgrounds")
if str(background.compare) != str(image_compare): if str(background.compare) != str(image_compare):
image = None image = None
if image is None or image != item.art: if image is None or image != item.art:

Loading…
Cancel
Save