auto add videos to playlist

This commit is contained in:
simon 2021-11-12 11:43:44 +07:00
parent 44e1720aab
commit 16833a4377
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4

View File

@ -212,6 +212,8 @@ def index_channel_playlists(channel_id):
playlist_handler = YoutubePlaylist(playlist_id) playlist_handler = YoutubePlaylist(playlist_id)
playlist_handler.get_playlist_dict() playlist_handler.get_playlist_dict()
playlist_handler.upload_to_es() playlist_handler.upload_to_es()
playlist_handler.add_vids_to_playlist()
playlist_handler.playlist_position()
if all_playlists: if all_playlists:
handler = ThumbManager() handler = ThumbManager()