Create an scan Library celery task
This commit is contained in:
parent
dc73012ca7
commit
50f002fa73
3 changed files with 23 additions and 0 deletions
|
|
@ -836,6 +836,11 @@ CELERY_BEAT_SCHEDULE = {
|
|||
),
|
||||
"options": {"expires": 60 * 60},
|
||||
},
|
||||
"music.library.schedule_remote_scan": {
|
||||
"task": "music.library.schedule_scan",
|
||||
"schedule": crontab(day_of_week="1", minute="0", hour="2"),
|
||||
"options": {"expires": 60 * 60 * 24},
|
||||
},
|
||||
}
|
||||
|
||||
if env.bool("ADD_ALBUM_TAGS_FROM_TRACKS", default=True):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue