[85] small fix

pull/1551/head
meisnate12 1 year ago
parent 406b13e2d8
commit b8d3f1dc90

@ -1 +1 @@
1.19.0-develop84
1.19.0-develop85

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

@ -820,15 +820,18 @@ class ConfigFile:
params[err_attr] = None
for mass_key in operations.meta_operations:
if params[mass_key] == "omdb" and self.OMDb is None:
if not params[mass_key]:
continue
source = params[mass_key]["source"] if isinstance(params[mass_key], dict) else params[mass_key]
if source == "omdb" and self.OMDb is None:
error_check(mass_key, "OMDb")
if params[mass_key] and params[mass_key].startswith("mdb") and not self.Mdblist.has_key:
if source and source.startswith("mdb") and not self.Mdblist.has_key:
error_check(mass_key, "MdbList")
if params[mass_key] and params[mass_key].startswith("anidb") and not self.AniDB.is_authorized:
if source and source.startswith("anidb") and not self.AniDB.is_authorized:
error_check(mass_key, "AniDB")
if params[mass_key] and params[mass_key].startswith("mal") and self.MyAnimeList is None:
if source and source.startswith("mal") and self.MyAnimeList is None:
error_check(mass_key, "MyAnimeList")
if params[mass_key] and params[mass_key].startswith("trakt") and self.Trakt is None:
if source and source.startswith("trakt") and self.Trakt is None:
error_check(mass_key, "Trakt")
lib_vars = {}

Loading…
Cancel
Save