mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-24 22:10:19 +00:00
Reset rescan flag
This commit is contained in:
parent
308a8ec947
commit
e8ab4945f0
@ -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 New Issue
Block a user