-
Notifications
You must be signed in to change notification settings - Fork 214
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
edit_playlist
: add playlist image
#711
Comments
{
"actions": [
{
"action": "ACTION_SET_CUSTOM_THUMBNAIL",
"addedCustomThumbnail": {
"imageKey": {
"type": "PLAYLIST_IMAGE_TYPE_CUSTOM_THUMBNAIL",
"name": "studio_square_thumbnail"
},
"playlistScottyEncryptedBlobId": "65jVDxiw9NQXhgph-9IlssToi-FoBdg68actYIIMK-vjU2o5Gq8QvK5H9PkpmMVZvtP7jQspWqJhprOnmyp1aQ=="
}
}
]
} this is the request payload to |
before that call^ there was a call to
with the payload containing the image data (my guess). and the response was {
"encryptedBlobId":"65jVDxiw9NQXhgph-9IlssToi-FoBdg68actYIIMK-vjU2o5Gq8QvK5H9PkpmMVZvtP7jQspWqJhprOnmyp1aQ=="
} the same blobid passed to |
and before that call^ was an empty request call to that returned
in the reponse headers - which probably gives us the URL to call while uploading the image |
Yeah sure, this should be possible. PR welcome We already have similar upload code in |
This should be implemented in https://music.youtube.com/playlist_image_upload/playlist_custom_thumbnail which returns an encrypted blob id, which is then wrapped in a corresponding action for the |
edit_playlist
: add playlist image
Seems like youtube music recently added the ability to add custom images to playlists! Can we extend
create_playlist()
andedit_playlist
to take an optional argument (an image file) so that we can programmatically set it?The text was updated successfully, but these errors were encountered: