Fix adding new album or artist to Plex in the background

This commit is contained in:
croneter 2018-12-02 14:10:11 +01:00
parent e9f811f2cd
commit 3c0bb49fbf

View file

@ -458,7 +458,9 @@ class Song(MusicMixin, ItemBase):
plexdb=self.plexdb, plexdb=self.plexdb,
kodidb=self.kodidb).add_update(album_xml[0], kodidb=self.kodidb).add_update(album_xml[0],
section_name, section_name,
section_id) section_id,
children=[xml],
scan_children=False)
album = self.plexdb.album(album_id) album = self.plexdb.album(album_id)
if not album: if not album:
LOG.error('Still could not find parent album %s for %s', LOG.error('Still could not find parent album %s for %s',