Scrobbler for Maemo, now both on N900, and N9

Version 2.0 finally moved to Fremantle stable, so everybody can start using it 🙂

If you are not familiar with it, this package will see what music you are listening on Maemo devices, and scrobble to your favorite service, either,, or both.

I already explained the features in an earlier blog entry, along with an explanation of how to make use of the “love” feature.

But now I also managed to port this to Harmattan, and it works perfectly on my Nokia N9. Interestingly enough, the new UI has a “favorite” feature directly integrated, it took me some time, as it’s not publicly documented, but I finally managed to hook into it, so everything works seamlessly 🙂

I was rather impressed by how easy it was to port it, I was able to leave all the GLib bits intact, even libsoup is still supported, and libconio, so I only had to make changes regarding the new qmafw. Thanks to the Qt guys for using the GLib’s mainloop by default, it certainly made things easier for me 🙂


You can find a debian package here: maemo-scrobbler 2.0-2.

Then, you would need to create a file ~/.config/scrobbler like this:


That’s it 🙂


80 thoughts on “Scrobbler for Maemo, now both on N900, and N9

  1. Pingback: Felipe Contreras: Scrobbler for Maemo, now both on N900, and N9 | MeeGo

  2. Pingback: Scrobbler for Maemo on Nokia N900 and N9 - MeeGo Harmattan

  3. I’ve just started using Scrobbler 2.04 for Maemo, and while the love widget works fine, I am not able to scrobble any track (tracks get added to the loved tracks, but there is no sign of listened tracks on my’s library). I wonder if this is just my problem, or whether other are experiencing it as well? Thanks!

  4. a follow-up: please disregard my earlier comment, it was my fault. for some reason my N900 had the wrong date (!) therefore it couldn’t scrobble.

  5. hei, this is great!
    but there shoud be a packaged version to reach the guys out there using an N9. if you don’t know what you are doing it’s impossible to get it working!

  6. @Felipe: Any response like “Sorry I don’t do deb’s”, “I’m working on it.” or “Do this and that to compile it yourself.” would be very cool.

    Has anybody some news to this? Really want that for N9/950.

  7. I’ve managed to compile it, with the instructions from github. It doesn’t work however, there are some errors when running the app.

  8. I panicked a bit, convinced it wasn’t working. Then I let one song end and it started scrobbling. So in case anyone makes the same mistake, here’s the tip: it doesn’t scrobble the first song you start on, just let it finish and you’ll see it working.

  9. +lalomartins

    Indeed, the MAFW framework gives all the metadata at the beginning of the playback. So, run it, and click next, the song should be immediately visible 🙂

  10. Can u please write a more detailed tutorial on how create the config file, for those with pour linux skills like me.

  11. Thanks for the .deb!

    Can’t get it to work though (N9). It’s installed, and i created the folder .config to where i could access, the same folder where there are subfolders “Music”, “Documents”, “Pictures” etc. I imagine that would be ~, but maybe it’s not? I placed the file “scrobbler” there using nautilus and gedit. Character encoding problems? Wrong line ending symbol? (or what do they call it).

  12. anyone who’s gotten it working able to give a quick step by step of what needs to be done on the N9?

    So far I have:

    1. installed the .deb
    2. created the config file at /home/user/MyDocs/.config/scrobbler
    3. played music… no scrobbling
    4. ran ‘scrobbler’ via terminal while playing music (yay output!)
    5. let a song finish… no scrobbling

    Output of scrobbler upon letting song finish:

    ~ $ scrobbler
    mafw revision: N/A
    mafw library builtime: Wed May 25 06:27:59 EEST 2011
    mafw-shared revision: N/A
    mafw-shared library builtime: Thu Jun 9 11:06:33 EEST 2011
    Creating proxy for extension:
    Signal rendererAdded(MafwRenderer* rnd) is deprecated
    Creating control interface for plugin
    MafwSharedPrivate::createPluginControlInterfaceProxy “libqmafw_gst_renderer_plugin”

    MafwInternalRegistry::addPluginControlInterface “libqmafw_gst_renderer_plugin”
    Creating proxy for extension:
    Signal rendererAdded(MafwRenderer* rnd) is deprecated
    Creating proxy playlist “mafwc26f584ecb284558956c004802082d3402570″
    Signal playlistAdded(MafwPlaylist* playlist) is deprecated
    Playlist name got succesfully: ” “Passenger” ”
    MafwSharedPrivate::createPluginControlInterfaceProxy “libqmafw_gst_renderer_plugin”
    MafwTrackerModelFactory::MafwTrackerModelFactory(const QString&, const QString&, int)
    MafwTrackerModelFactory::MafwTrackerModelFactory streamingBlockSize 1000
    void MafwTrackerModelFactory::init()
    void MafwTrackerModelConnectionImpl::init()
    MafwTrackerQueryThread::queue size 1
    MafwTrackerQueryThread::doQuery queue 1
    void MafwTrackerModelConnectionImpl::ontologyQueryFinished(QList, bool)
    void MafwTrackerModelConnectionImpl::handleMinerOriginalStatus(QDBusPendingCallWatcher*)
    MafwTrackerModelConnectionImpl::handleMinerOriginalStatus “org.freedesktop.DBus.Error.AccessDenied”
    “Rejected send message, 2 matched rules; type=”method_call”, sender=”:1.129″ (uid=29999 pid=2700 comm=”scrobbler “) interface=”org.freedesktop.Tracker1.Miner” member=”GetStatus” error name=”(unset)” requested_reply=0 destination=”org.freedesktop.Tracker1.Miner.Files” (uid=29999 pid=1647 comm=”/usr/lib/tracker/tracker-miner-fs “))”
    MafwTrackerQueryThread::doQuery took 351
    Caught mediaChanged signal
    MafwTrackerModelConnectionImpl::updatesHappened music 0 0 0 album 0 0 0 artist 0 0 0
    MafwTrackerModelConnectionImpl::updateFlush music 0 0 0 album 0 0 0 artist 0 0 0

  13. I retract my previous request for support…
    step 6. go and make sure you typed your login details correctly before asking for help and looking silly..

    Felipe, you’re a genius.

  14. For no further confusion the file need to be placed in “/home/user/.config/”, the folder already exists form other applications (the option show hidden files must be enabled in the file manager).

  15. Hey Guys, I’ve installed the .deb file and then created a .conf file named scrobbler.conf inside the paste /home/user/.config/scrobbler

    My doubt is: What name do I have to use in the .conf file? I did all I said above and didn’t work. I guess I did something wrong (like the .conf file name).


  16. Aden Young
    How function? i put the scrobbler.conf? In /home/user/.config/scrobbler.conf?
    After? i open the notepad and wirte my login and pass? and after open the music player hear a sound complet and see in the lastfm site?

    If u can make a procediment.. im great with u..
    Thank very much

  17. the config file needs to be named exactly “scrobbler” (no .conf at the end)
    this file needs to be put in the folder “/home/user/.config/”

  18. Hello. I posted on 6. dec about a problem, and just now i solved it. So in case other people are having the same problem, here’s a tip:

    You can’t access /home/user/.config by plugging the phone to a computer with a usb cable, or via a bluetooth connection. There’s also afaik no means to browse files and folders on the phone itself out of the box. So you need to install such a program. Filebox did the trick, it’s available at no cost, so look for it in the shop section.

    Seems like it’s not possible to create new text files with Filebox or any out-of-the-box program. So apparently you’ll be needing another program for that, or do it on the computer, then copy it over usb to your phone in ~/MyDocs (which is what you can access that way), then move it from there to the correct folder using Filebox. That’s what i did and now it works.

  19. +Murilo Baptista It should be working. However, maybe you installed it with dpkg -i in developer mode or something, so maybe it didn’t get the right aegis credentials.

  20. Felipe and Aden Young
    My Scrobbler ready only when i write scrobbler in terminal.. What happen with that?

  21. Hey thanks for the debian package. I missed that feature so much on my N9. It’ work like charm. But the love feature sems not to work. I installed over the built in browser and created the config file only for Any ideas what could be wrong?

  22. Love it – works great except it seems to ignore Timezone… so my N9 plays on are currently 13 hours out (we are GMT +13 right now) Does this happen for anyone else?

  23. Ricardo Band (@XenGi_),
    I set only lastfm account too and it works. And LIKE button acts as it should.

    Here is an example how “scrobbler” file changes, when this program works:

    —>Appears a new string with “session-key” variable. So, You will able to know if something goes wrong.

  24. Felipeeeeeeee mil gracias mil gracias mil gracias!!! soy tan feliz xDDDDD jajaja. Lo logré 😀 qué buena tu app, me sentí la g33k del año y eso que es yo creo que sumar 1+1 para ti. Saludos desde México lindo y querido 😀

  25. Suomeksi: Kiitos! Hienosti toimii!

    And in English:
    Thank you! Scrobbles works great on my N9 to LastFM. Little “problem” is that LastFM thinks I’am using Nokia N900.

  26. Ever since I bought my N9 last year, I haven’t used my ipod a single time. Only thing I missed is the possibility to scrobble my plays. Now that I accidentally stumbled to this page and found that there actually is a possibility to scrobble my plays, I couldn’t be happier with my N9.

    Thank you, Kiitos, Tack, Danke and so on. =)

  27. Muchas gracias por este.

    I suggest that you put this to Nokia store (or whatever it is called), so that wider audience would know about this. Also releasing src git(hub)|torious] wouldn’t hurt. 😉

  28. Lots of people are requesting this on the app store. Anybody wants to give a try to his/her Qt skills and write some configuration UI?

  29. Incredible! It’s completely working, even the likes! For those who don’t know a thing about Linux, like me, I used the app Filebox and it’s on nokia store for free. 😉 Amazing blog!

  30. sorry for a noob question, but is the file a basic text file, or something else. I made a text file labeled scrobbler and put in the [lastfm] username=…. and passoword=….. but i am getting nothing. any help would be great thanks.

  31. Has anyone else had the problem that the Scrobbler file in .config just is not there eventhough I installed the DEB file?

  32. Felipe, I would like to ask for your permission to do some changes on the code (I know its GPL, but still) and apply for the “New Apps for Nokia Store” program, probably my last chance to get a N950. I will obviously release all the code after I get it done, I’m working on integrating the Accounts framework and optifying the application. ¡Gracias! =)

  33. @Fernando Muñoz Thanks for doing this, I was wondering why nobody volunteered for this. I was planning to do this myself since that didn’t happen.

    I’m OK with you going ahead, I would just ask you to list myself as the author, or in the list of authors 🙂

  34. Do you write any logs that help with debugging in case tracks are not scrobbled?

  35. Hi, would you happen to have any ideas how to make the Scrobbler to work with the new and “improved” Last.FM? I haven’t been able to scrobble with it since the site launched and was wondering that was there an authentication required?

  36. Still not working. Tried installing the app again, deleting the ‘scrobbler’ file, rebooting the phone, and still no scrobbles. Also tried playing more than one song through and nothing. Am I forgetting something? Should the Scrobbler be in Battery Usage app when it’s running (because it’s not showing there now)? Was there a need to authenticate the Scrobbler at Last.FM before it starts to scrobble (because there hasn’t been a notice for authentication with the new site)?

    Sorry if this is a nuisance, I’m really very grateful for everything you’ve done (approx. 80% of my scrobbles are/were made with the Scrobbler) and I’m not losing my mind or anything, with the exception of easy of scrobbling directly from my N9.

    Thank you in advance for any possible assistance with this, I hope there’s some way I can help back.

  37. my wife needed to fill out UK N9 Response Pack several days ago and encountered a web service that has a ton of fillable forms . If you require UK N9 Response Pack as well , here’s a

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s