Don't fill discography table for Kodi 18
This commit is contained in:
parent
f2ca67c418
commit
64b8c522af
1 changed files with 1 additions and 1 deletions
|
@ -333,8 +333,8 @@ class Album(MusicMixin, ItemBase):
|
|||
timing.unix_date_to_kodi(self.last_sync),
|
||||
'album')
|
||||
self.kodidb.add_albumartist(artist_id, kodi_id, api.artist_name())
|
||||
self.kodidb.add_discography(artist_id, name, api.year())
|
||||
if v.KODIVERSION < 18:
|
||||
self.kodidb.add_discography(artist_id, name, api.year())
|
||||
self.kodidb.add_music_genres(kodi_id,
|
||||
genres,
|
||||
v.KODI_TYPE_ALBUM)
|
||||
|
|
Loading…
Reference in a new issue