Closed jonathanbell closed 4 months ago
Possibly related: https://github.com/sigma67/ytmusicapi/issues/362
You are using a browseId
, not a playlistId
.
https://ytmusicapi.readthedocs.io/en/stable/faq.html#what-is-a-browseid
I’ll submit a PR to have a playlistId returned from a search for an album. Sound ok?
On Mon, May 20, 2024 at 12:56 sigma67 @.***> wrote:
You are using a browseId, not a playlistId.
https://ytmusicapi.readthedocs.io/en/stable/faq.html#what-is-a-browseid
— Reply to this email directly, view it on GitHub https://github.com/sigma67/ytmusicapi/issues/585#issuecomment-2121107463, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANA45ZT4RGA3DD22XTCPBTZDJIOVAVCNFSM6AAAAABH2XIHK2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRRGEYDONBWGM . You are receiving this because you authored the thread.Message ID: @.***>
If you figure out how without extra requests, sure. AFAIK search only returns browseIds.
For albums, the playlistId starts with OLA..
.
Describe the bug
Version 1.7.0 - calling
rate_playlist()
with a validbrowseId
results in a 404 error/exception.To Reproduce
Steps to reproduce the behaviour:
rate_playlist()
Additional context
This seems to happen for both playlists and albums. I haven't tried
INDIFFERENT
orDISLIKE
. If I find some time, I might be able to dig deeper and submit and PR. Thanks for your attention!