mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-12 21:26:10 +00:00
Fix first artist [missing tag] in krypton
This commit is contained in:
parent
0f6e2f81b9
commit
3c9a684942
1 changed files with 3 additions and 1 deletions
|
@ -22,7 +22,9 @@ class KodiMusic(KodiItems):
|
||||||
KodiItems.__init__(self)
|
KodiItems.__init__(self)
|
||||||
|
|
||||||
def create_entry(self):
|
def create_entry(self):
|
||||||
self.cursor.execute("select coalesce(max(idArtist),0) from artist")
|
# Krypton has a dummy first entry
|
||||||
|
# idArtist: 1 strArtist: [Missing Tag] strMusicBrainzArtistID: Artist Tag Missing
|
||||||
|
self.cursor.execute("select coalesce(max(idArtist),1) from artist")
|
||||||
kodi_id = self.cursor.fetchone()[0] + 1
|
kodi_id = self.cursor.fetchone()[0] + 1
|
||||||
|
|
||||||
return kodi_id
|
return kodi_id
|
||||||
|
|
Loading…
Reference in a new issue