diff --git a/jellyfin_kodi/database/__init__.py b/jellyfin_kodi/database/__init__.py index af1bf859f..e48716679 100644 --- a/jellyfin_kodi/database/__init__.py +++ b/jellyfin_kodi/database/__init__.py @@ -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)):