mirror of
https://github.com/tubearchivist/tubearchivist-frontend.git
synced 2024-11-22 11:50:14 +00:00
fix notification channel for video thumb download
This commit is contained in:
parent
a0d5837519
commit
67bde4c7ec
@ -183,12 +183,12 @@ class ThumbManager:
|
||||
progress = f"{counter}/{len(missing_thumbs)}"
|
||||
if notify:
|
||||
mess_dict = {
|
||||
"status": "message:download",
|
||||
"status": "message:add",
|
||||
"level": "info",
|
||||
"title": "Processing Videos",
|
||||
"message": "Downloading Thumbnails, Progress: " + progress,
|
||||
}
|
||||
RedisArchivist().set_message("message:download", mess_dict)
|
||||
RedisArchivist().set_message("message:add", mess_dict)
|
||||
|
||||
if counter % 25 == 0:
|
||||
print("thumbnail progress: " + progress)
|
||||
|
Loading…
Reference in New Issue
Block a user