From 64b8c522afaf5f4acbafd26cfd354f5aa165e4bf Mon Sep 17 00:00:00 2001 From: croneter Date: Sun, 2 Dec 2018 17:00:13 +0100 Subject: [PATCH] Don't fill discography table for Kodi 18 --- resources/lib/itemtypes/music.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/itemtypes/music.py b/resources/lib/itemtypes/music.py index 0cef9845..ad38378d 100644 --- a/resources/lib/itemtypes/music.py +++ b/resources/lib/itemtypes/music.py @@ -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)