mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 20:43:04 +00:00
use count_documents to get folder count
- map filenames with db data
This commit is contained in:
@@ -22,16 +22,14 @@ def reindex_tracks():
|
||||
Checks for new songs every 5 minutes.
|
||||
"""
|
||||
|
||||
while True:
|
||||
trackslib.validate_tracks()
|
||||
# while True:
|
||||
trackslib.validate_tracks()
|
||||
|
||||
Populate()
|
||||
CreateAlbums()
|
||||
Populate()
|
||||
CreateAlbums()
|
||||
|
||||
if helpers.Ping()():
|
||||
CheckArtistImages()()
|
||||
|
||||
time.sleep(60)
|
||||
if helpers.Ping()():
|
||||
CheckArtistImages()()
|
||||
|
||||
|
||||
@helpers.background
|
||||
|
||||
Reference in New Issue
Block a user