From ff8bfd95232017eae3dd034066160560bb9ff91e Mon Sep 17 00:00:00 2001 From: croneter Date: Sat, 22 Dec 2018 14:33:30 +0100 Subject: [PATCH] Fix music DB not being wiped on database reset - Fixes #575 --- resources/lib/kodi_db/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/kodi_db/__init__.py b/resources/lib/kodi_db/__init__.py index fd35062a..2623f156 100644 --- a/resources/lib/kodi_db/__init__.py +++ b/resources/lib/kodi_db/__init__.py @@ -113,7 +113,7 @@ def wipe_dbs(music=True): LOG.warn('Wiping Kodi databases!') kinds = [v.DB_VIDEO_PATH, v.DB_TEXTURE_PATH] if music: - kinds.append(v.DB_TEXTURE_PATH) + kinds.append(v.DB_MUSIC_PATH) for path in kinds: conn = connect(path, timeout=5.0) cursor = conn.cursor()