Adjust database discovery

Compare loaded vs discovered to avoid loading old databases by accident.
This commit is contained in:
angelblue05 2019-01-11 22:25:39 -06:00
parent c0e979c8a0
commit ff9120c847
2 changed files with 20 additions and 13 deletions

View file

@ -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: