mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 02:06:09 +00:00
Reset rescan flag
This commit is contained in:
parent
308a8ec947
commit
e8ab4945f0
1 changed files with 3 additions and 0 deletions
|
@ -376,6 +376,9 @@ class Library(threading.Thread):
|
|||
items = db.get_item_by_media_folder(library_id)
|
||||
media = 'music' if library[1] == 'music' else 'video'
|
||||
|
||||
if media == 'music':
|
||||
settings('MusicRescan.bool', False)
|
||||
|
||||
if items:
|
||||
with self.music_database_lock if media == 'music' else self.database_lock:
|
||||
with Database(media) as kodidb:
|
||||
|
|
Loading…
Reference in a new issue