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 last.fm, libre.fm, 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 🙂

Update

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

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

[lastfm]
username=foo
password=bar
            
[librefm]
username=foo
password=bar

That’s it 🙂

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

  1. danny August 19, 2011 / 06:00

    The video gives more detailed information. Thanks for the information and it is very useful.

    Like

  2. timsamoff August 19, 2011 / 16:47

    A sorely lacking feature in Harmattan. Thank you so much!

    Like

  3. jukey August 22, 2011 / 17:48

    Do you have a link where to download the Harmattan version?

    Like

  4. FelipeC August 24, 2011 / 13:21

    Oh, I forgot to mention, there’s no configuration UI, you need to manually edit ~/.config/scrobbler

    Like

  5. GregS October 18, 2011 / 17:23

    how can I install this on N9?

    Like

  6. ugomatic October 25, 2011 / 12:28

    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 last.fm’s library). I wonder if this is just my problem, or whether other are experiencing it as well? Thanks!

    Like

  7. ugomatic October 25, 2011 / 12:52

    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.

    Like

  8. 72570 October 26, 2011 / 12:50

    .deb would be nice!

    Like

  9. Ricardo Band (@XenGi_) October 29, 2011 / 00:09

    Really want a .deb package for n9 and n950 users. maybe push it to Ovi store.
    [Will pay for scrobbling] 😉

    Like

  10. jacopo November 1, 2011 / 11:54

    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!

    Like

  11. eza November 6, 2011 / 18:16

    Could someone pleae make a deb file for this. Scrobbling is much needed.

    Like

  12. Ricardo Band (@XenGi_) November 14, 2011 / 03:10

    @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.

    Like

  13. Tuki November 15, 2011 / 23:15

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

    Like

  14. FelipeC November 22, 2011 / 00:32

    I’ll do it whenever I have time =/

    Can somebody else do this?

    Like

  15. FelipeC November 29, 2011 / 19:23

    All right, I’ve uploaded a debian package, and simple instructions to setup the account.

    Enjoy 🙂

    Like

  16. Johan November 30, 2011 / 01:22

    Thank you! Installed and working fine!!

    Like

  17. Jamppa! November 30, 2011 / 10:51

    Works fine! Thank you! 🙂 Any plans for last.fm radio stations? 😉

    Like

  18. lalomartins November 30, 2011 / 15:18

    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.

    Like

  19. FelipeC November 30, 2011 / 15:59

    +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 🙂

    Like

  20. decibyte November 30, 2011 / 17:37

    Thanks a lot! I really missed scrobbling on the N9. You need a Flattr button (or PayPal or other way for us to donate).

    Like

  21. Daniel November 30, 2011 / 23:22

    Thank you! Runs perfectly.

    Like

  22. FelipeC December 2, 2011 / 00:11

    All right. I’ve created a flattr account. Let’s see how that goes 🙂

    Like

  23. aza December 4, 2011 / 11:55

    Thank you so much for the scrobbler!
    People like make the N9 awesome.

    Like

  24. jesperC December 4, 2011 / 19:50

    Thanks.

    //j

    Like

  25. SpaWn December 4, 2011 / 21:09

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

    Like

  26. Hank December 5, 2011 / 23:35

    Works excellent! Thanks!

    Like

  27. veepee December 6, 2011 / 11:19

    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).

    Like

  28. Klas December 6, 2011 / 14:07

    Thanks for this. I hope you will develop a great UI soon enough.

    Like

  29. Aden Young December 7, 2011 / 12:40

    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:
    “MafwGstRendererPlugin”
    “mafw_gst_renderer”
    MafwProxyRenderer::getName
    Signal rendererAdded(MafwRenderer* rnd) is deprecated
    Creating control interface for plugin
    MafwSharedPrivate::createPluginControlInterfaceProxy “libqmafw_gst_renderer_plugin”
    MafwProxyPluginControlInterface::MafwProxyPluginControlInterface

    MafwInternalRegistry::addPluginControlInterface “libqmafw_gst_renderer_plugin”
    Creating proxy for extension:
    “MafwGstRendererPlugin”
    “mafw_gst_internal_video_renderer”
    MafwProxyRenderer::getName
    Signal rendererAdded(MafwRenderer* rnd) is deprecated
    Creating proxy playlist “mafwc26f584ecb284558956c004802082d3402570″
    MafwProxyPlaylist::connectToPlaylistSignals()
    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
    MafwTrackerQueryThread::queue size 1
    MafwTrackerQueryThread::doQuery queue 1
    MafwProxyRenderer::getNameCallback
    MafwProxyRenderer::getNameCallback
    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

    Like

  30. Aden Young December 7, 2011 / 12:44

    oops, config file was actually created in /home/user/.config/scrobbler (so, the right place)

    Like

  31. Aden Young December 7, 2011 / 13:08

    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.

    Like

  32. SpaWn December 8, 2011 / 13:36

    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).

    Like

  33. Murilo Baptista December 9, 2011 / 05:42

    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).

    Thanks!

    Like

  34. Aden Young December 10, 2011 / 07:44

    Hey Murilo Baptista, the config file needs to be named “scrobbler” and needs to be put in the folder “/home/user/.config/”

    Like

  35. Rafael Vinicius December 10, 2011 / 09:19

    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

    Like

  36. Aden Young December 11, 2011 / 08:39

    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/”

    Like

  37. veepee December 11, 2011 / 11:48

    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.

    Like

  38. Rafael Vinicius December 12, 2011 / 20:12

    Thansk function 100%

    Like

  39. Murilo Baptista December 12, 2011 / 20:17

    Thank you Guys! Like Rafael said: it worked perfectly! Nice Work!!!

    Like

  40. Murilo Baptista December 12, 2011 / 20:23

    Now I have another doubt… is it love feature working in this version?! Is it possible to make it working?! Thanks!

    Like

  41. FelipeC December 12, 2011 / 20:32

    +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.

    Like

  42. Murilo Baptista December 12, 2011 / 20:40

    Felipe, thank you! I just figured out if I press the star button, it does the love feature. I was looking for a heart icon! Sorry! Thanks! Perfect job! Hugs!

    Like

  43. Rafael Vinicius December 13, 2011 / 21:46

    Felipe Thank you.. The program is perfect..

    Like

  44. Rafael Vinicius December 16, 2011 / 20:59

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

    Like

  45. Ricardo Band (@XenGi_) December 24, 2011 / 16:40

    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 last.fm. Any ideas what could be wrong?

    Like

  46. MrKz December 30, 2011 / 18:05

    Excelent. I was looking for this.
    ¡Muchas Gracias! / Thanks a lot
    Saludos desde México 🙂 / greetings from Mexico.

    Like

  47. phatapteryx December 30, 2011 / 23:59

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

    Like

  48. Медер Капенов January 15, 2012 / 16:06

    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.

    Like

  49. Ancelad January 16, 2012 / 21:19

    works fine with my Nokia N9, thanks!

    Like

  50. Robert January 26, 2012 / 19:01

    Thank you for your efforts, it works very well on Nokia N9.

    Like

  51. Faridee Cruz February 24, 2012 / 20:34

    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 😀

    Like

  52. Jamppa! February 28, 2012 / 08:31

    Also works fine with PR1.2! 🙂

    Like

  53. slashd0t March 4, 2012 / 02:56

    Anyone else have this break with PR1.2?

    Like

    • FelipeC March 5, 2012 / 19:04

      How is it breaking? Works fine for me.

      Like

  54. N9 white March 13, 2012 / 09:24

    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.

    Like

  55. Suo(l/m)ipoika March 14, 2012 / 19:28

    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. =)

    Like

  56. Juha March 15, 2012 / 19:40

    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. 😉

    Like

  57. FelipeC March 16, 2012 / 16:03

    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?

    Like

  58. Willian March 18, 2012 / 18:20

    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!

    Like

  59. Derek Swalheim (@derch1981) April 21, 2012 / 04:56

    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.

    Like

  60. Mattia April 21, 2012 / 10:57

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

    Like

  61. Piotr May 5, 2012 / 17:06

    Thank You for this Scrobbler 🙂

    Like

  62. Fernando Muñoz May 31, 2012 / 17:52

    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! =)

    Like

  63. FelipeC May 31, 2012 / 17:59

    @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 🙂

    Like

  64. BearT July 9, 2012 / 00:22

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

    Like

  65. Rainer Müller March 17, 2013 / 13:10

    For anyone who still comes by using Google I recommend to download the improved version named “Scrobbler” from the store: http://store.ovi.com/content/293322 This version integrates with Accounts for the login credentials so it’s easier to use.

    Like

  66. Samuel Puukari August 28, 2015 / 03:06

    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?

    Like

    • FelipeC August 28, 2015 / 12:55

      @Samuel It’s working for me just fine.

      Like

  67. Samuel Puukari August 30, 2015 / 03:41

    With Nokia N9? I’ll have to install the app again and try with it.

    Like

    • FelipeC August 30, 2015 / 13:24

      Yeap. Works fine in the N9.

      Like

  68. Samuel Puukari September 5, 2015 / 13: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.

    Like

  69. kevin thompson October 30, 2016 / 19:32

    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 https://goo.gl/N5UxPd.

    Like

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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

This site uses Akismet to reduce spam. Learn how your comment data is processed.