Fix songs not appearing

This commit is contained in:
croneter 2018-12-02 17:10:53 +01:00
parent 260ff230c5
commit acc1b24480

View file

@ -60,6 +60,12 @@ def setup_kodi_default_entries():
strMusicBrainzArtistID) strMusicBrainzArtistID)
VALUES (?, ?, ?) VALUES (?, ?, ?)
''', (1, '[Missing Tag]', 'Artist Tag Missing')) ''', (1, '[Missing Tag]', 'Artist Tag Missing'))
kodidb.cursor.execute('''
INSERT OR REPLACE INTO role(
idRole,
strRole)
VALUES (?, ?)
''', (1, 'Artist'))
if v.KODIVERSION >= 18: if v.KODIVERSION >= 18:
kodidb.cursor.execute('DELETE FROM versiontagscan') kodidb.cursor.execute('DELETE FROM versiontagscan')
kodidb.cursor.execute(''' kodidb.cursor.execute('''