From acc1b24480bc789c0c96fbf07797acf97c5ee367 Mon Sep 17 00:00:00 2001 From: croneter Date: Sun, 2 Dec 2018 17:10:53 +0100 Subject: [PATCH] Fix songs not appearing --- resources/lib/kodi_db/__init__.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/resources/lib/kodi_db/__init__.py b/resources/lib/kodi_db/__init__.py index 9746c770..f3e23919 100644 --- a/resources/lib/kodi_db/__init__.py +++ b/resources/lib/kodi_db/__init__.py @@ -60,6 +60,12 @@ def setup_kodi_default_entries(): strMusicBrainzArtistID) VALUES (?, ?, ?) ''', (1, '[Missing Tag]', 'Artist Tag Missing')) + kodidb.cursor.execute(''' + INSERT OR REPLACE INTO role( + idRole, + strRole) + VALUES (?, ?) + ''', (1, 'Artist')) if v.KODIVERSION >= 18: kodidb.cursor.execute('DELETE FROM versiontagscan') kodidb.cursor.execute('''