mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-26 10:46:11 +00:00
Merge pull request #843 from mcarlton00/omega-reset
Don't reset videoversiontype table
This commit is contained in:
commit
badcdbe08d
1 changed files with 2 additions and 1 deletions
|
@ -255,7 +255,8 @@ def reset_kodi():
|
||||||
for table in videodb.cursor.fetchall():
|
for table in videodb.cursor.fetchall():
|
||||||
name = table[0]
|
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)
|
videodb.cursor.execute("DELETE FROM " + name)
|
||||||
|
|
||||||
if settings('enableMusic.bool') or dialog("yesno", "{jellyfin}", translate(33162)):
|
if settings('enableMusic.bool') or dialog("yesno", "{jellyfin}", translate(33162)):
|
||||||
|
|
Loading…
Reference in a new issue