mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 10:16:11 +00:00
Don't reset videoversionstype table
This commit is contained in:
parent
64b1c37ed4
commit
309e1086ac
1 changed files with 2 additions and 1 deletions
|
@ -255,7 +255,8 @@ def reset_kodi():
|
|||
for table in videodb.cursor.fetchall():
|
||||
name = table[0]
|
||||
|
||||
if name != 'version':
|
||||
# These tables are populated by Kodi and we shouldn't wipe them
|
||||
if name not in ['version', 'videoversiontype']:
|
||||
videodb.cursor.execute("DELETE FROM " + name)
|
||||
|
||||
if settings('enableMusic.bool') or dialog("yesno", "{jellyfin}", translate(33162)):
|
||||
|
|
Loading…
Reference in a new issue