mirror of
https://github.com/sigma67/ytmusicapi.git
synced 2026-04-26 07:46:00 +03:00
[GH-ISSUE #246] albums with >200 songs #192
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#192
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 @quantenschaum on GitHub (Dec 18, 2021).
Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/246
First, many thanks for this library!
I just discovered that albums with more than 200 songs only list the first 200 entries. (example)
The official webui also shows only the first 200 songs, but playback in the browser does continue, but the playlist is capped at 200.
The official YTM app does only show the first 200 songs of an album, too. But playback also continues and all songs are shown in the current playlist (not int he album though).
So, what can be done to fix this?
@sigma67 commented on GitHub (Dec 18, 2021):
I suppose you can use
get_watch_playlistin that case to get the full album? Since that API call is responsible for getting the watch playlist contents.@quantenschaum commented on GitHub (Dec 19, 2021):
I tried to use
get_watch_playlistlike thisbut this results in
@quantenschaum commented on GitHub (Dec 19, 2021):
When I set the parameter
limit=100, the same error occurs. When I setlimit=25or leave it unset, I get 50 tracks in the returned structure.@quantenschaum commented on GitHub (Dec 19, 2021):
FYI - passing the
audioPlaylistIdtoyoutube-dlcauses it to download the playlist, but is limited to the first 100 entries.@sigma67 commented on GitHub (Dec 20, 2021):
Good catch, that's a bug. I didn't consider audio playlists as possible inputs for the playlistId parameter. Will fix soon.
@quantenschaum commented on GitHub (Dec 20, 2021):
Cool, seems to work. 👍