mirror of
https://github.com/tubearchivist/tubearchivist-frontend.git
synced 2024-11-04 19:30:13 +00:00
fix building missing vid ids list
This commit is contained in:
parent
ac9df4e082
commit
a7945e30e3
@ -63,9 +63,7 @@ def update_subscribed():
|
|||||||
missing_from_playlists = playlist_handler.find_missing()
|
missing_from_playlists = playlist_handler.find_missing()
|
||||||
missing = missing_from_channels + missing_from_playlists
|
missing = missing_from_channels + missing_from_playlists
|
||||||
if missing:
|
if missing:
|
||||||
youtube_ids = [
|
youtube_ids = [{"type": "video", "url": i} for i in missing]
|
||||||
{"type": "video", "url": i["youtube_id"]} for i in missing
|
|
||||||
]
|
|
||||||
pending_handler = PendingList(youtube_ids=youtube_ids)
|
pending_handler = PendingList(youtube_ids=youtube_ids)
|
||||||
pending_handler.parse_url_list()
|
pending_handler.parse_url_list()
|
||||||
pending_handler.add_to_pending()
|
pending_handler.add_to_pending()
|
||||||
|
Loading…
Reference in New Issue
Block a user