mirror of
https://github.com/sigma67/ytmusicapi.git
synced 2026-04-25 07:16:00 +03:00
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#559
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?
📋 Pull Request Information
Original PR: https://github.com/sigma67/ytmusicapi/pull/103
Author: @ide-an
Created: 11/11/2020
Status: ❌ Closed
Base:
master← Head:feature/add_order_to_library_functions📝 Commits (5)
4a853c6Support song order for get_library_upload_songs97a05e1Extract ordering logic to helper functions2ee8037Add ordering test33c2d45Add order to library function4fa981dRemove ordering check in testcases📊 Changes
4 files changed (+97 additions, -7 deletions)
View changed files
📝
tests/test.py(+43 -0)📝
ytmusicapi/helpers.py(+16 -0)📝
ytmusicapi/mixins/library.py(+23 -4)📝
ytmusicapi/mixins/uploads.py(+15 -3)📄 Description
fixes #102
This pullrequest adds
orderparameter to functions bellow:get_library_songsget_library_albumsget_library_artistsget_library_subscriptionsget_library_upload_songsget_library_upload_albumsget_library_upload_artistsorderparameter accepts"a_to_z","z_to_a"or"recently_added", and the function returns response in the specified order.I once implemented for
get_library_playliststoo, but I faced a problem and gave up.When you call
get_library_playlistswithorderparameter, youtube music API returns multiple "New playlist" buttons and causes parse error.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.