Clementine: scrobbling support for more providers than just last.fm

Created on 6 Dec 2013  路  58Comments  路  Source: clementine-player/Clementine

_From [email protected] on February 22, 2010 22:57:45_

Can you offer people the chance to enter any host name they wish for
scrobbling? So, if people wish to use turtle.libre.fm instead of
post.audioscrobbler.com they can?

_Original issue: http://code.google.com/p/clementine-player/issues/detail?id=1_

Component-Radio Priority-Low Restrict-AddIssueComment-Commit enhancement imported

Most helpful comment

I'd like to suggest when finally adding Libre.fm compatibility, that you also as ListenBrainz compatibility. ListenBrainz is a new audio scrobbling type project from the MusicBrainz community. You can add ListenBrainz support with their Last.FM Compatible API

All 58 comments

_From john.maguire on February 23, 2010 10:11:03_

Labels: -Type-Defect -Priority-Medium Type-Enhancement Priority-Low Component-Radio

_From xapienz on March 03, 2010 03:30:29_

Try to change appropriate string in source code ;)

_From swiftscythe on March 03, 2010 09:02:03_

I guess multiscrobbling support would be even great :D

BTW, clementine is great :)

_From kadaimx on March 12, 2010 18:42:59_

Yes, multiscrobling might be interesting, and even, it can be approached doing a
system that scrobles independently from what service is/are selected.

So,it can be made like this:
Having a pre-made list of scrobling sites and URLS -following their own APIS- to
scroble and just ask for User and Password. Plus, have a way to add new services just
filling some fields (Service name, URL to scroble, user and password) and the user
will be responsible to check if it works.

_From john.maguire on May 13, 2010 03:21:21_

Issue 307 has been merged into this issue.

_From taraskostiak on August 16, 2010 04:32:20_

Would be nice to see this feature in Clementine.

_From the.sub.jet on September 17, 2010 06:33:57_

Multiscrobbling is much more appreciated. Agree with kadaimx.

_From l.guzman.g on December 09, 2010 16:06:43_

In deed it would be great :)

_From elAndroid123 on December 18, 2010 05:54:31_

I would like to see that feature as well

in case you might ask why:
...cause last.fm has NO focus on privacy at all.

_From erik.westrup on December 18, 2010 06:07:52_

This would be perfect!

_From fwoncn on December 20, 2010 22:58:24_

Can anyone change the issue's title to something like "Multiscrobbling support"?

_From keirangtp on December 21, 2010 00:13:30_

Summary: scrobbling support for more providers than just last.fm

_From daks12 on December 23, 2010 05:30:13_

If you can add multiscrobbling feature, it would be very nice!

_From achristoffersen on January 07, 2011 07:19:38_

libre.fm - yes yes yes please (love clementime already - but support for libre.fm would be fantastic).

_From trevor.penwarden on February 09, 2011 21:56:37_

I can only echo the words of those before me ;)
Libre.fm support would be lovely please!

_From lotko05 on February 17, 2011 01:08:52_

Rhythmbox already supports last.fm and libre.fm. Maybe make it similar to that?

_From l.guzman.g on March 11, 2011 10:23:42_

Any effort on that direction?

_From harloczek on May 20, 2011 00:04:01_

Multiscrobbling support would be very nice. I prefer libre.fm than last.fm.

_From [email protected] on June 28, 2011 21:40:37_

This is issue #1 , and was filed over a year ago. Has there been any update at all to this small enhancement?

_From elAndroid123 on June 29, 2011 10:21:31_

@19:
issue is not marked as accepted - so i guess no ;)

_From schizosfera on July 02, 2011 08:12:54_

could someone please post a few examples of scrobbling services? that would probably help gather information about what they have in common and what is needed in order to implement a "multiscrobbling" api.

the scrobbling could then eventually be implemented as separate scripts for each service, which one could enable/disable as they like.

_From ozaktash on July 02, 2011 08:29:12_

The first and only one that comes to my mind is libre.fm. They say they use the same API as last.fm ( http://bugs.foocorp.net/projects/librefm/wiki/Librefm_API#Submitting-Tracks ) so the only thing that has to be done seems to change the server address to turtle.libre.fm as mentioned in the first post.

_From schizosfera on July 02, 2011 10:50:20_

as far as i can recognize, the last.fm web service and scrobbler urls are defined at compile time in liblastfm (the library clementine uses for scrobbling to last.fm).

this means that the web service used for scrobbling cannot be simply changed to something else at runtime. i wonder how other players handle scrobbling to libre.fm.

_From drpfenderson on July 02, 2011 13:09:12_

Apparently Amarok's libre.fm plugin just passes another URL to lastfmsubmitd. http://ebanana.orconhosting.net.nz/librefm.html http://www.red-bean.com/decklin/lastfmsubmitd/ But, since Clementine uses liblastfm, couldn't a version of liblastfm be compiled that just has a changed submission URL? I kind of want to learn about GIT so I can just fork the liblastfm repo and compile the first liblibrefm. :-/ Seems like it should be simple. If anyone wants libre.fm and knows GIT, it might be worth it to try.
Here is the GIT info: http://liblastfm.sourceforge.net/?download.html

_From schizosfera on July 03, 2011 02:46:29_

thanks to the pointer to lastfmsubmitd.

yes, liblastfm coulod be compiled to use different hardcoded url's as a quick hack. the more practical approach would probably be to allow the player to provide the urls for scrobbling and webservice access.

one could fork liblastfm on github in order to do this, but then clememntine would have to use the fork instead of the original liblastfm. that would make compiling clementine from source a bit more complicated. also the person who forks liblastfm would have to ensure that the lib remains up to date and compiles on all platforms.

here's the github page of liblastfm: https://github.com/mxcl/liblastfm there are already a few forks on github, but i'm not sure what they are supposed to do differently.

_From adecorte on July 03, 2011 04:55:49_

@24: according https://bugs.kde.org/show_bug.cgi?id=188952#c29 , libre.fm protocol isn't 100% compatible with last.fm, so changing the URL could work for basic things but be broken for other case. As for forking liblastfm the main problem is packaging: you should then package our fork for different distributions and mantain it. Anyway, davidsansome seems to have a fork of liblastfm on https://github.com/davidsansome/liblastfm but as far as I know Clementine doesn't use it.

_From schizosfera on July 03, 2011 05:27:55_

@26: it seems to me like david's fork ist mainly for adding cmake support (and some other lib fixes) but since the lib api is the same as the original one, there's no reason why clementine should use it (except maybe for this: https://github.com/davidsansome/liblastfm/commit/efc802ddfa194f14c9317a96005be35d738b496f ).

i'm not sure about how much of the gnu fm api is compatible with last.fm and which version of the last.fm api gnu fm attempts to mimic. the fact that the api might not be fully compatible is also unclear ("... I heard the protocol is not 100% identical ...") and based on suppositions. probably a big chunk of the webservice api is not implemented in gnu fm, but what we're talking about in this issue is just scrobbling. i only looked at the code of the cuberok player (which was the first one in the client list of libre.fm to support multiscrobbling) and they use self-written code for scrobbling tl last.fm and libre.fm. i'll investigate more as i have time.

_From ferminfm on November 08, 2011 18:14:27_

There are plenty of other free software players that already support libre.fm such as Banshee, Rhythmbox, Amarok and Audacious, at least that I know of. Couldn't any of these plugins be ported to be used in Clementine without much effort?

_From davidsansome on November 29, 2011 00:55:31_

Issue 2439 has been merged into this issue.

_From [email protected] on May 20, 2012 02:50:52_

This is the issue n.潞 1 here. It's from february 2010. Can you change the priority to high, please?

_From arnaud.bienner on May 20, 2012 07:36:38_

@[email protected]: no ;)
But if you have some time to work on this and can provide us a patch, we will be glad to integrate it if it is good enough.
Anyway, changing priority doesn't mean nothing until there is someone to work on it.

_From [email protected] on May 21, 2012 01:21:03_

I don't know how to make this patch, but I could test or help anyone else.

_From rolfenders on June 19, 2012 03:35:20_

After all stolen accounts I have change my last.fm account to libre.fm. Please integrate libre.fm to clementine. Thank you for this great player.

_From arnaud.bienner on June 25, 2012 01:53:44_

Issue 2439 has been merged into this issue.

_From dewqazxc on August 20, 2012 22:10:39_

It'd be willing to donate some money to the person who gets multiscrobbling support implemented

_From hoiikbenricardo on January 19, 2013 07:10:43_

I'd love to be able to multiscrobble

_From john.maguire on January 20, 2013 06:38:09_

Labels: Restrict-AddIssueComment-Commit

This was an issue I originally created, if its possible to edit me in.

Just thought I would share this list of alternatives to Last.fm:
http://alternativeto.net/software/lastfm/

I imagine most of them do not support scrobbling from other software/services, but there you go.

Looking forward to seeing Libre.fm integrated in Clementine.

In the meantime, the solution that is available to scrobble in both in libre.fm and last.fm using clementine and windows is:
1) Modify the "hosts" file in windows and redirect the audioscrobbler to http://turtle.libre.fm
2) Activate connection with last.fm in the libre.fm website (menu Edit > "Connections to other services"). Add the desire lastfm profile where you want to scrobble.
3) Add your libre.fm credentials in the lastfm tab under Preferences > Internet Providers in Clementine settings.

I use that set up and I am currently scrobbling in both websites. Hope it helps until we get a better solution!

Adding my voice to the requests and offers to support development of an easy way to scrobble to libre.fm instead of or in addition to last.fm.

I just upgraded my laptop, and I'd be using Clementine right now if Libre.fm support was available.

If there's anything _we_ can do to make this happen, please let me know.

Libre.fm founder ;)

Clementine uses liblastfm. I can embed custom liblastfm to the Clementine's 3rdparty directory and force user to compile it with cmake. The custom liblastfm would add a parameter to specify the url where scobbling (something like that).

@hatstand @davidsansome @ArnaudBienner do you have any objections ?

If no I'll try to work on it.

That sounds like it should work @Chocobozzz

It would be great to have this support in Clementine

Yes it works but add a static library in which we modified three lines while it exists in practically all GNU/Linux distributions is not really acceptable.

So I made a PR in the liblastfm github repo but they don't seem to want to merge it.

Wait & see.

Hoping for this feature to go in. I'd rather stick with Clementine than start using another client with built-in support for libre.fm.

Hoping for this feature to go in. I'd rather stick with Clementine than start using another client with built-in support for libre.fm.

Me too

Hoping for this feature to go in. I'd rather stick with Clementine than start using another client with built-in support for libre.fm.

+1

I think it should be closed ASAP or devided info smaller issues, Guys! :)

Looks like the workaround of redirecting last.fm scrobbling to libre.fm via the hosts file stopped working from version 1.3.0 onwards :(

If you try the Last.fm Sign in button under Preferences, with 213.138.110.197 post.audioscrobbler.com in the hosts file, you only get a popup saying "Last.fm authentication faile[d]".

@ar-jan Libre.fm was down some a few days, so possibly related to that?

@mattl I think it's unrelated: my scrobble history in libre.fm ends about 2 months ago, and I tried logging in again yesterday, but failed. I recall seeing something about a new login method for last.fm, so my guess is that when this was implemented for last.fm, the hosts file redirect option stopped working.

@ar-jan and @mattl isn't it's another (new) issue? It not connected with "scrobbling support for more providers than just last.fm", have higher priority and it's bug (not prior-low, enhancement).

Added here #5433
Reopening old issue will scary new people to participe in project.

@Chocobozzz What about main issue? Is there anything to make?

Yeah I guess, I wasn't sure if the hosts redirect workaround is officially supported so I made it a comment. I added some info to the new issue.

I'd like to suggest when finally adding Libre.fm compatibility, that you also as ListenBrainz compatibility. ListenBrainz is a new audio scrobbling type project from the MusicBrainz community. You can add ListenBrainz support with their Last.FM Compatible API

In the meantime, you may try to can edit your /etc/hosts file as described here: https://listenbrainz.org/lastfm-proxy
Note : I wasn't able to make it work.

it seems that this this fork of Clementine support listenbrianz
Strawberry Music Player https://strawbs.org/
https://github.com/jonaski/strawberry

Hello
Could you clean up here @jee-r , @johan-boule , @stephenjudge ?

Before doing below check if issue is quite recent, and maybe it was already fixed.

Great to have:

  • summary what to do here when someone get this item to work with,
  • fulfill issue again, even changing subject to have it clear with corespondence with current state of issue, leaving it in great condition in backlog for future work when someone have time.

Will appreciate if some important (like workarounds, recomendation for fixes, pre-investigation info) will be left with mark with ~shattering~ with ~this~ for fast reference, but best is to leave issue most compressed as you could.

Thanks in advance.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

MiguelTremblay picture MiguelTremblay  路  6Comments

AndydeCleyre picture AndydeCleyre  路  6Comments

Clementine-Issue-Importer picture Clementine-Issue-Importer  路  6Comments

Pulfer picture Pulfer  路  3Comments

technicaltitch picture technicaltitch  路  5Comments