mirror of
https://git.vectorsigma.ru/public/tubearchivist.git
synced 2026-08-05 11:59:26 +00:00
add video id to processing message
This commit is contained in:
@@ -189,7 +189,12 @@ class VideoDownloader:
|
||||
continue
|
||||
|
||||
if self.task:
|
||||
self.task.send_progress(["Add video metadata to index."])
|
||||
self.task.send_progress(
|
||||
[
|
||||
f"Processing video {youtube_id}",
|
||||
"Add video metadata to index.",
|
||||
]
|
||||
)
|
||||
|
||||
vid_dict = index_new_video(
|
||||
youtube_id,
|
||||
@@ -200,7 +205,12 @@ class VideoDownloader:
|
||||
self.videos.add(vid_dict["youtube_id"])
|
||||
|
||||
if self.task:
|
||||
self.task.send_progress(["Move downloaded file to archive."])
|
||||
self.task.send_progress(
|
||||
[
|
||||
f"Processing video {youtube_id}",
|
||||
"Move downloaded file to archive.",
|
||||
]
|
||||
)
|
||||
|
||||
self.move_to_archive(vid_dict)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user