mirror of
https://github.com/sigma67/ytmusicapi.git
synced 2026-04-25 15:26:01 +03:00
[GH-ISSUE #83] get_playlist: Unplayable playlist entries missing setVideoId #61
Labels
No labels
a/b
bug
documentation
enhancement
good first issue
help wanted
invalid
pull-request
question
wontfix
yt-error
yt-update
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ytmusicapi#61
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @AllenJB on GitHub (Sep 25, 2020).
Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/83
The output from get_playlist does not include a setVideoId for tracks entries which are unplayable (making it impossible to remove them from the playlist).
I haven't actually tried modifying the library yet (I'm basically learning Python just for this project), but looking at the dev tools output of browsing a playlist in the browser, the setVideoId definitely exists for these entries.
Looking at the code, I believe that https://github.com/sigma67/ytmusicapi/blob/master/ytmusicapi/parsers/playlists.py#L24-L29 needs to be moved outside the if on line 20 ( https://github.com/sigma67/ytmusicapi/blob/master/ytmusicapi/parsers/playlists.py#L20 )
Thanks for this library.