diff --git a/resources/language/resource.language.en_gb/strings.po b/resources/language/resource.language.en_gb/strings.po index e2654b55..d1d098b6 100644 --- a/resources/language/resource.language.en_gb/strings.po +++ b/resources/language/resource.language.en_gb/strings.po @@ -785,3 +785,7 @@ msgstr "" msgctxt "#33161" msgid "Check for updates" msgstr "" + +msgctxt "#33162" +msgid "Reset the music library?" +msgstr "" diff --git a/resources/lib/database/__init__.py b/resources/lib/database/__init__.py index d137b8a1..0d081f9d 100644 --- a/resources/lib/database/__init__.py +++ b/resources/lib/database/__init__.py @@ -169,7 +169,7 @@ def reset_kodi(): if name != 'version': videodb.cursor.execute("DELETE FROM " + name) - if settings('enableMusic.bool'): + if settings('enableMusic.bool') or dialog("yesno", heading="{emby}", line1=_(33162)): with Database('music') as musicdb: musicdb.cursor.execute("SELECT tbl_name FROM sqlite_master WHERE type='table'")