fix notification channel for video thumb download

This commit is contained in:
simon 2021-12-05 17:24:57 +07:00
parent a0d5837519
commit 67bde4c7ec
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4

View File

@ -183,12 +183,12 @@ class ThumbManager:
progress = f"{counter}/{len(missing_thumbs)}" progress = f"{counter}/{len(missing_thumbs)}"
if notify: if notify:
mess_dict = { mess_dict = {
"status": "message:download", "status": "message:add",
"level": "info", "level": "info",
"title": "Processing Videos", "title": "Processing Videos",
"message": "Downloading Thumbnails, Progress: " + progress, "message": "Downloading Thumbnails, Progress: " + progress,
} }
RedisArchivist().set_message("message:download", mess_dict) RedisArchivist().set_message("message:add", mess_dict)
if counter % 25 == 0: if counter % 25 == 0:
print("thumbnail progress: " + progress) print("thumbnail progress: " + progress)