|
|
@ -1732,9 +1732,12 @@ class CollectionBuilder:
|
|
|
|
temp_image = os.path.join(overlay_folder, f"temp.png")
|
|
|
|
temp_image = os.path.join(overlay_folder, f"temp.png")
|
|
|
|
overlay = (overlay_name, overlay_folder, overlay_image, temp_image)
|
|
|
|
overlay = (overlay_name, overlay_folder, overlay_image, temp_image)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
logger.debug(rating_keys)
|
|
|
|
|
|
|
|
|
|
|
|
tmdb_ids = []
|
|
|
|
tmdb_ids = []
|
|
|
|
tvdb_ids = []
|
|
|
|
tvdb_ids = []
|
|
|
|
for item in items:
|
|
|
|
for item in items:
|
|
|
|
|
|
|
|
logger.debug(item.ratingKey)
|
|
|
|
if int(item.ratingKey) in rating_keys:
|
|
|
|
if int(item.ratingKey) in rating_keys:
|
|
|
|
rating_keys.remove(int(item.ratingKey))
|
|
|
|
rating_keys.remove(int(item.ratingKey))
|
|
|
|
if self.details["item_assets"] or overlay is not None:
|
|
|
|
if self.details["item_assets"] or overlay is not None:
|
|
|
@ -1761,6 +1764,8 @@ class CollectionBuilder:
|
|
|
|
if len(tvdb_ids) > 0:
|
|
|
|
if len(tvdb_ids) > 0:
|
|
|
|
self.library.Sonarr.edit_tags(tvdb_ids, self.item_details["item_sonarr_tag"], self.item_details["apply_tags"])
|
|
|
|
self.library.Sonarr.edit_tags(tvdb_ids, self.item_details["item_sonarr_tag"], self.item_details["apply_tags"])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
logger.debug(rating_keys)
|
|
|
|
|
|
|
|
|
|
|
|
for rating_key in rating_keys:
|
|
|
|
for rating_key in rating_keys:
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|
item = self.fetch_item(rating_key)
|
|
|
|
item = self.fetch_item(rating_key)
|
|
|
|