MusicPlayerDaemon / mpdscribble

a MPD client which submits information about tracks being played to a scrobbler (e.g. last.fm)
GNU General Public License v2.0
114 stars 15 forks source link

Send love doesn't work on lastfm #31

Open emagra opened 3 years ago

emagra commented 3 years ago

While playing some some running

$: mpc channels mpdscribble $: mpc sendmessage mpdscribble love

doesn't work. No love shown on Lastfm

BachoSeven commented 2 years ago

Just tested this and it seems like it's not working, indeed. Any updates on why?

MaxKellermann commented 2 years ago

You did not specify your version number and no verbose log.

BachoSeven commented 2 years ago

Here are some details:

(includes the log until after the song ended)

In the end, going to https://www.last.fm/user/BachoSeven you can see that the "Filme Moi" song doesn't have a love attribute.

shdbwa commented 2 years ago

Using pylast, I managed to love tracks

ghost commented 1 year ago

I looked a bit to see what caused this bug. MPD and mpdscribble handle love without issue. It is submitted to last.fm according to the API 1.2 docs. It is the &r[0]=L in the url above. See https://www.last.fm/api/submissions

So the problem comes from last.fm. But API 1.2 is deprecated. I guess the only solution would be to rewrite mpdscribble to use the last.fm API 2.0 version.