return complete vid_entry dict from scan

This commit is contained in:
Simon
2025-07-06 21:59:26 +07:00
parent 66f37a92d3
commit b6d38e9319
3 changed files with 12 additions and 11 deletions

View File

@@ -258,8 +258,8 @@ class PendingList(PendingIndex):
video_results = ChannelSubscription().get_last_youtube_videos(
url, limit=False, query_filter=vid_type
)
for video_id, _, vid_type in video_results:
self._add_video(video_id, vid_type)
for video_entry in video_results:
self._add_video(video_entry["id"], video_entry["vid_type"])
def _parse_playlist(self, url):
"""add all videos of playlist to list"""