Fix endless music sync loop

This commit is contained in:
croneter 2018-11-05 09:52:18 +01:00
parent 66ecaa155f
commit 417aefd588

View file

@ -370,6 +370,13 @@ class Album(MusicMixin, ItemBase):
kodi_id,
v.KODI_TYPE_ALBUM,
self.kodicursor)
self.plexdb.add_album(plex_id,
api.checksum(),
section_id,
artist_id,
parent_id,
kodi_id,
self.last_sync)
# Add all children - all tracks
if scan_children:
context = Song(self.last_sync,
@ -383,13 +390,6 @@ class Album(MusicMixin, ItemBase):
genres=genres,
genre=genre,
compilation=compilation)
self.plexdb.add_album(plex_id,
api.checksum(),
section_id,
artist_id,
parent_id,
kodi_id,
self.last_sync)
class Song(MusicMixin, ItemBase):