diff --git a/backend/appsettings/src/filesystem.py b/backend/appsettings/src/filesystem.py index 1cf02cb0..0a90532f 100644 --- a/backend/appsettings/src/filesystem.py +++ b/backend/appsettings/src/filesystem.py @@ -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)) diff --git a/backend/appsettings/src/manual.py b/backend/appsettings/src/manual.py index 08e5b8e3..6b67a010 100644 --- a/backend/appsettings/src/manual.py +++ b/backend/appsettings/src/manual.py @@ -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)