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

Advertisement

58 Responses to Scrobbler for Maemo, now both on N900, and N9

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

  2. danny says:

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

  3. timsamoff says:

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

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

  5. jukey says:

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

  6. FelipeC says:

    @jukey I just cleaned up and pushed the stuff to github, in the ‘maemo6′ branch:

    https://github.com/felipec/maemo-scrobbler

  7. FelipeC says:

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

  8. Any possibility to proved .deb file for N9?

  9. GregS says:

    how can I install this on N9?

  10. #Last.fm #scrobble #app for #Nokia #n9.

  11. ugomatic says:

    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!

  12. ugomatic says:

    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.

  13. +1 for .deb please!!!

  14. 72570 says:

    .deb would be nice!

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

  16. jacopo says:

    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!

  17. eza says:

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

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

  19. Tuki says:

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

  20. Oh please! Y U NO DOING .DEB?

  21. FelipeC says:

    I’ll do it whenever I have time =/

    Can somebody else do this?

  22. FelipeC says:

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

    Enjoy :)

  23. Johan says:

    Thank you! Installed and working fine!!

  24. Jamppa! says:

    Works fine! Thank you! :) Any plans for last.fm radio stations? ;)

  25. lalomartins says:

    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.

  26. FelipeC says:

    +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 :)

  27. decibyte says:

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

  28. Daniel says:

    Thank you! Runs perfectly.

  29. FelipeC says:

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

  30. Daniel says:

    Still running, perfectly. But it’s only working with the default N9 player, right? Is it possible to add support for the Sigma Player?

    http://store.ovi.com/content/213179
    http://store.ovi.com/content/223031

    Would be awesome! :)

  31. aza says:

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

  32. SpaWn says:

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

  33. Hank says:

    Works excellent! Thanks!

  34. veepee says:

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

  35. Klas says:

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

  36. Aden Young says:

    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

  37. Aden Young says:

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

  38. Aden Young says:

    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.

  39. SpaWn says:

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

  40. 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!

  41. Aden Young says:

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

  42. Rafael Vinicius says:

    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

  43. Aden Young says:

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

  44. veepee says:

    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.

  45. Rafael Vinicius says:

    Thansk function 100%

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

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

  48. FelipeC says:

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

  49. 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!

  50. Rafael Vinicius says:

    Felipe Thank you.. The program is perfect..

  51. Rafael Vinicius says:

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

  52. 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?

  53. MrKz says:

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

  54. phatapteryx says:

    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?

  55. 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:

    http://dl.dropbox.com/u/51145535/2012-01-15_17-50-43.png

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

  56. Ancelad says:

    works fine with my Nokia N9, thanks!

  57. Robert says:

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

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

Follow

Get every new post delivered to your Inbox.

Join 42 other followers