mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 08:15:50 +03:00
[GH-ISSUE #344] Add support for liking songs #227
Labels
No labels
A-Alsa
SpotifyAPI
Tokio 1.0
audio
bug
can't reproduce
compilation
dependencies
duplicate
enhancement
good first issue
help wanted
high priority
imported
imported
invalid
new api
pull-request
question
reverse engineering
wiki
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/librespot#227
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 @mainrs on GitHub (Jul 2, 2019).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/344
Is it currently possible to like the song that is being played?
I couldn't find any relevant API for it.
@ashthespy commented on GitHub (Jul 2, 2019):
Don't think anyone has actively looked into it.
librespot-org/spotify-analyzeis your best friend when it comes to these things..@devgianlu commented on GitHub (Jul 2, 2019):
@ashthespy Pretty much all that's there doesn't work anymore. All the communication except for metrics, audio key (and some other) are done through HTTPS.
BTW, the new API provides a feedback on whether the song is liked/disliked:
I once also saw the endpoint to make the choice, but I'm not seeing it now.
@willstott101 commented on GitHub (Jul 2, 2019):
Hm, there are two UI elements at work here aren't there? A favourite/saved song and a liked/disliked radio song. AFAIK they're two different things. One adds to your collection, the other feeds the recommendation engine and adds to a playlist?
Though I have no idea if that playlist is likely to be a separate client action or not.
@mainrs commented on GitHub (Jul 2, 2019):
I am looking for ages to find a program/library that allows it. I wanted to build a simple button that would then just like the current playing song that I could attach to my desk.
@willstott101 I was referring to the
heartone, the one that saves it to your collection and influences your recommendations too.@devgianlu commented on GitHub (Jul 2, 2019):
There should indeed be two options, but when you click the heart button, it'll return
radio.thumbas true. I also wasn't able to play something that would bring up the two thumb icons.@ashthespy commented on GitHub (Jul 2, 2019):
From what I recall,
v1/me/tracks/is the end point for all the heart/like stuff.Every track is checked against
v1/me/tracks/contains?ids=which responds with a boolean.@mainrs commented on GitHub (Jul 2, 2019):
You didn't find an endpoint to actually set
radio.thumbto true, did you?@devgianlu commented on GitHub (Jul 2, 2019):
It used to be in the context info, but I can look it up again. Hopefully it is via Hermes.
@devgianlu commented on GitHub (Jul 2, 2019):
I found a working endpoint for dailymixes:
Where
0z89qn3koTrXqvu4ds0xi7should be the dailymix and7krbSH3rd8lhIZvuzTV3Blthe track.@ashthespy commented on GitHub (Jul 2, 2019):
For the like/unlike (aka thumbs up/down)
For the liked songs, I only found some references via the webgate:
The webSDK makes the same calls, but to
https://api.spotify.com/instead.@mainrs commented on GitHub (Jul 2, 2019):
Haha, thanks guys, really appreciate your help!
@devgianlu commented on GitHub (Jul 4, 2019):
These are the official endpoints the new API sends for the Release Radar playlist:
@p4vook commented on GitHub (Jul 15, 2020):
Any updates on this?