[GH-ISSUE #83] get_playlist: Unplayable playlist entries missing setVideoId #61

Closed
opened 2026-02-27 22:07:49 +03:00 by kerem · 0 comments
Owner

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.

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.
kerem 2026-02-27 22:07:49 +03:00
  • closed this issue
  • added the
    bug
    label
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ytmusicapi#61
No description provided.