mirror of
https://github.com/sigma67/ytmusicapi.git
synced 2026-04-24 23:06:13 +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#777
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/866
Author: @Daveson217
Created: 2/1/2026
Status: 🔄 Open
Base:
main← Head:fix-edit_playlist-711📝 Commits (10+)
4ee4acdfeat: Add support for uploading custom playlist thumbnails(#711)3d746ebfeat: Add support for uploading custom playlist thumbnails(#711)6e3ee2cfeat: Add support for uploading custom playlist thumbnails(#711)2dd72d6feat: Add support for uploading custom playlist thumbnails(#711)6e34e26Merge branch 'main' into fix-edit_playlist-711ea36cd4refactor: Address review comments and add integration testa50f9e5fix: Remove Content-Type header during thumbnail binary upload9541834fix(#711): Set correct image Content-Type for thumbnail uploadffae0cbfix: Set appropriate Content-Type for binary uploadde84b57fix(#711): fixed mypy and ruff errors; fixed content-type and integration fails📊 Changes
4 files changed (+101 additions, -0 deletions)
View changed files
➕
tests/data/mock_playlist_image.jpg(+0 -0)📝
tests/mixins/test_playlists.py(+6 -0)📝
ytmusicapi/mixins/_protocol.py(+2 -0)📝
ytmusicapi/mixins/playlists.py(+93 -0)📄 Description
Closes #711
This PR adds the ability to upload custom thumbnails to playlists via edit_playlist.
Changes:
Testing:
Test used:
yt.edit_playlist(playlistId="...", thumbnail="cover.jpg")P.S.: I am happy to add a unit test for
_upload_playlist_thumbnailif you could point me to an example of how you prefer to mock upload requests.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.