[86] more small fixes

pull/1551/head
meisnate12 1 year ago
parent b8d3f1dc90
commit dd1e58ed64

@ -1 +1 @@
1.19.0-develop85 1.19.0-develop86

@ -2854,6 +2854,7 @@ class CollectionBuilder:
self.library.query_data(item.editEditionTitle, self.item_details["item_edition"]) self.library.query_data(item.editEditionTitle, self.item_details["item_edition"])
logger.info(f"{item.title[:25]:<25} | Edition | {self.item_details['item_edition']}") logger.info(f"{item.title[:25]:<25} | Edition | {self.item_details['item_edition']}")
path = None path = None
if "item_radarr_tag" in self.item_details or self.radarr_details["add_existing"] or "item_sonarr_tag" in self.item_details or self.sonarr_details["add_existing"]:
if item.locations: if item.locations:
if self.library.is_movie: if self.library.is_movie:
path = os.path.dirname(str(item.locations[0])) path = os.path.dirname(str(item.locations[0]))

@ -126,7 +126,7 @@ class Library(ABC):
self.library_operation = True if self.items_library_operation or self.delete_collections or self.mass_collection_mode \ self.library_operation = True if self.items_library_operation or self.delete_collections or self.mass_collection_mode \
or self.radarr_remove_by_tag or self.sonarr_remove_by_tag or self.show_unmanaged or self.show_unconfigured \ or self.radarr_remove_by_tag or self.sonarr_remove_by_tag or self.show_unmanaged or self.show_unconfigured \
or self.metadata_backup or self.update_blank_track_titles else False or self.metadata_backup or self.update_blank_track_titles else False
self.meta_operations = [i for i in [getattr(self, o) for o in operations.meta_operations] if i] self.meta_operations = [i["source"] if isinstance(i, dict) else i for i in [getattr(self, o) for o in operations.meta_operations] if i]
self.label_operations = True if self.assets_for_all or self.mass_imdb_parental_labels or self.mass_episode_imdb_parental_labels else False self.label_operations = True if self.assets_for_all or self.mass_imdb_parental_labels or self.mass_episode_imdb_parental_labels else False
if self.asset_directory: if self.asset_directory:

Loading…
Cancel
Save