Fix potential crash for fast sync
This commit is contained in:
parent
908dfd2fe3
commit
574d2e061e
1 changed files with 2 additions and 0 deletions
|
@ -523,6 +523,8 @@ class LibrarySync(Thread):
|
|||
view['id'],
|
||||
lastViewedAt=self.getPMSfromKodiTime(lastSync),
|
||||
containerSize=self.limitindex)
|
||||
if not items:
|
||||
continue
|
||||
for item in items:
|
||||
itemId = item.attrib.get('ratingKey')
|
||||
# Skipping items 'title=All episodes' without a 'ratingKey'
|
||||
|
|
Loading…
Reference in a new issue