Merge pull request #628 from mcarlton00/skip-missing

Skip syncing missing episodes
This commit is contained in:
Odd Stråbø 2022-04-23 22:46:17 +02:00 committed by GitHub
commit 8ba427830e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -353,7 +353,7 @@ 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('Path'):
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'])