Fix potential crash for fast sync

This commit is contained in:
tomkat83 2016-03-17 14:30:47 +01:00
parent 908dfd2fe3
commit 574d2e061e

View file

@ -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'