Merge branch 'testing' into refactor-react-migration

This commit is contained in:
Simon
2024-12-20 11:30:36 +07:00
6 changed files with 21 additions and 24 deletions

View File

@@ -94,13 +94,10 @@ class YoutubePlaylist(YouTubeItem):
"""get all videos in playlist, match downloaded with ids_found"""
all_members = []
for idx, entry in enumerate(self.youtube_meta["entries"]):
if not entry["channel"]:
continue
to_append = {
"youtube_id": entry["id"],
"title": entry["title"],
"uploader": entry["channel"],
"uploader": entry.get("channel"),
"idx": idx,
"downloaded": entry["id"] in ids_found,
}