Skip syncing missing episodes

This commit is contained in:
Matt 2022-04-02 20:21:09 -04:00
parent 6685f8375e
commit 1dcc2245a2

View file

@ -353,9 +353,9 @@ class FullSync(object):
for episodes in server.get_episode_by_show(show['Id']): for episodes in server.get_episode_by_show(show['Id']):
for episode in episodes['Items']: for episode in episodes['Items']:
if episode.get('Name'):
dialog.update(percent, message="%s/%s" % (message, episode['Name'][:10])) dialog.update(percent, message="%s/%s" % (message, episode['Name'][:10]))
obj.episode(episode) obj.episode(episode)
processed_ids.append(show['Id']) processed_ids.append(show['Id'])
with self.video_database_locks() as (videodb, jellyfindb): with self.video_database_locks() as (videodb, jellyfindb):