add emtadata embed for filesystem rescan and manual import
This commit is contained in:
parent
c02ec7e82e
commit
afbf7ea6fa
|
|
@ -87,6 +87,7 @@ class Scanner:
|
|||
progress=(idx + 1) / total,
|
||||
)
|
||||
index_new_video(youtube_id)
|
||||
YoutubeVideo(youtube_id).embed_metadata()
|
||||
|
||||
comment_list = CommentList(task=self.task)
|
||||
comment_list.add(video_ids=list(self.to_index))
|
||||
|
|
|
|||
|
|
@ -145,6 +145,7 @@ class ImportFolderScanner:
|
|||
print(f"manual import: {current_video}")
|
||||
|
||||
ManualImport(current_video, config).run()
|
||||
YoutubeVideo(current_video["video_id"]).embed_metadata()
|
||||
|
||||
video_ids = [i["video_id"] for i in self.to_import]
|
||||
comment_list = CommentList(task=self.task)
|
||||
|
|
|
|||
Loading…
Reference in New Issue