mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-22 20:43:07 +00:00
fix for bad rating key
This commit is contained in:
parent
b281639ed3
commit
008c0fe5ff
3 changed files with 3 additions and 4 deletions
|
@ -45,7 +45,6 @@ tautulli: # Can be individually specified
|
|||
radarr: # Can be individually specified per library as well
|
||||
url: http://192.168.1.12:7878
|
||||
token: ################################
|
||||
version: v3
|
||||
add: false
|
||||
root_folder_path: S:/Movies
|
||||
monitor: true
|
||||
|
@ -56,7 +55,6 @@ radarr: # Can be individually specified
|
|||
sonarr: # Can be individually specified per library as well
|
||||
url: http://192.168.1.12:8989
|
||||
token: ################################
|
||||
version: v3
|
||||
add: false
|
||||
root_folder_path: "S:/TV Shows"
|
||||
monitor: all
|
||||
|
|
|
@ -1760,7 +1760,8 @@ class CollectionBuilder:
|
|||
except Failed as e:
|
||||
logger.error(e)
|
||||
continue
|
||||
self.library.edit_tags("label", item, add_tags=[f"{overlay_name} Overlay"])
|
||||
if isinstance(item, (Movie, Show)):
|
||||
self.library.edit_tags("label", item, add_tags=[f"{overlay_name} Overlay"])
|
||||
self.config.Cache.update_remove_overlay(self.library.image_table_name, overlay_name)
|
||||
rating_keys = [int(item.ratingKey) for item in self.library.get_labeled_items(f"{overlay_name} Overlay")]
|
||||
overlay_folder = os.path.join(self.config.default_dir, "overlays", overlay_name)
|
||||
|
|
|
@ -530,7 +530,7 @@ def run_collection(config, library, metadata, requested_collections):
|
|||
builder.update_details()
|
||||
if builder.custom_sort:
|
||||
library.run_sort.append(builder)
|
||||
#builder.sort_collection()
|
||||
# builder.sort_collection()
|
||||
|
||||
if builder.item_details and run_item_details:
|
||||
try:
|
||||
|
|
Loading…
Reference in a new issue