diff --git a/jellyfin_kodi/helper/utils.py b/jellyfin_kodi/helper/utils.py index 7b814116..835cbf1b 100644 --- a/jellyfin_kodi/helper/utils.py +++ b/jellyfin_kodi/helper/utils.py @@ -546,7 +546,6 @@ def find_library(server, item): ancestors = server.jellyfin.get_ancestors(item['Id']) for ancestor in ancestors: if ancestor['Id'] in sync['Whitelist']: - LOG.info('Ancestor Found') return ancestor LOG.error('No ancestor found, not syncing item with ID: {}'.format(item['Id'])) diff --git a/jellyfin_kodi/library.py b/jellyfin_kodi/library.py index a4c2550e..3818ee13 100644 --- a/jellyfin_kodi/library.py +++ b/jellyfin_kodi/library.py @@ -652,12 +652,14 @@ class UserDataWorker(threading.Thread): is_done = False - def __init__(self, queue, lock, database, *args): + def __init__(self, queue, lock, database, server, direct_path): self.queue = queue self.lock = lock self.database = Database(database) - self.args = args + self.server = server + self.direct_path = direct_path + threading.Thread.__init__(self) def run(self):