Check path instead of name for missing episodes

This commit is contained in:
Matt 2022-04-09 22:04:17 -04:00
parent 1dcc2245a2
commit 572cfad5fd

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('Name'): 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'])