mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-05-19 15:55:08 +00:00
Adjust database discovery
Compare loaded vs discovered to avoid loading old databases by accident.
This commit is contained in:
parent
c0e979c8a0
commit
ff9120c847
2 changed files with 20 additions and 13 deletions
|
@ -128,6 +128,8 @@ class Library(threading.Thread):
|
|||
|
||||
LOG.info("Newly discovered database: %s", kodidb.path)
|
||||
settings('DiscoveredDatabase', kodidb.path)
|
||||
self.monitor.settings['enable_db_discovery'] = True
|
||||
settings('AskDiscoverDatabase.bool', True)
|
||||
|
||||
return False
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue