mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-05-06 09:28:47 +00:00
Adjust local database reset
Add music reset dialog
This commit is contained in:
parent
f9f3c00f53
commit
ebb4139d48
2 changed files with 5 additions and 1 deletions
|
@ -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'")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue