add video id to processing message
This commit is contained in:
parent
0750547236
commit
a924d648d6
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue