mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 02:06:09 +00:00
Merge pull request #628 from mcarlton00/skip-missing
Skip syncing missing episodes
This commit is contained in:
commit
8ba427830e
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('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'])
|
||||||
|
|
||||||
with self.video_database_locks() as (videodb, jellyfindb):
|
with self.video_database_locks() as (videodb, jellyfindb):
|
||||||
|
|
Loading…
Reference in a new issue