mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
Skip syncing missing episodes
This commit is contained in:
parent
6685f8375e
commit
1dcc2245a2
1 changed files with 3 additions and 3 deletions
|
@ -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):
|
||||||
|
|
Loading…
Reference in a new issue