mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-05-18 23:35:08 +00:00
Fix database discovery
This commit is contained in:
parent
9cc8405a70
commit
d0c5cf5864
2 changed files with 7 additions and 3 deletions
|
@ -124,10 +124,10 @@ class Library(threading.Thread):
|
|||
with Database('music') as musicdb:
|
||||
|
||||
if kodidb.discovered or musicdb.discovered:
|
||||
if kodidb.path != settings('DiscoveredDatabase'):
|
||||
if kodidb.discovered_file != settings('DiscoveredDatabase'):
|
||||
|
||||
LOG.info("Newly discovered database: %s", kodidb.path)
|
||||
settings('DiscoveredDatabase', kodidb.path)
|
||||
settings('DiscoveredDatabase', kodidb.discovered_file)
|
||||
self.monitor.settings['enable_db_discovery'] = True
|
||||
settings('AskDiscoverDatabase.bool', True)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue