From 16833a437781a7204e96ef4747c13470b8eb1ef5 Mon Sep 17 00:00:00 2001 From: simon Date: Fri, 12 Nov 2021 11:43:44 +0700 Subject: [PATCH] auto add videos to playlist --- tubearchivist/home/tasks.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tubearchivist/home/tasks.py b/tubearchivist/home/tasks.py index 51a5e6b..67fd205 100644 --- a/tubearchivist/home/tasks.py +++ b/tubearchivist/home/tasks.py @@ -212,6 +212,8 @@ def index_channel_playlists(channel_id): playlist_handler = YoutubePlaylist(playlist_id) playlist_handler.get_playlist_dict() playlist_handler.upload_to_es() + playlist_handler.add_vids_to_playlist() + playlist_handler.playlist_position() if all_playlists: handler = ThumbManager()