Fix endless music sync loop
This commit is contained in:
parent
66ecaa155f
commit
417aefd588
1 changed files with 7 additions and 7 deletions
|
@ -370,6 +370,13 @@ class Album(MusicMixin, ItemBase):
|
||||||
kodi_id,
|
kodi_id,
|
||||||
v.KODI_TYPE_ALBUM,
|
v.KODI_TYPE_ALBUM,
|
||||||
self.kodicursor)
|
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
|
# Add all children - all tracks
|
||||||
if scan_children:
|
if scan_children:
|
||||||
context = Song(self.last_sync,
|
context = Song(self.last_sync,
|
||||||
|
@ -383,13 +390,6 @@ class Album(MusicMixin, ItemBase):
|
||||||
genres=genres,
|
genres=genres,
|
||||||
genre=genre,
|
genre=genre,
|
||||||
compilation=compilation)
|
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):
|
class Song(MusicMixin, ItemBase):
|
||||||
|
|
Loading…
Reference in a new issue