Scrobbling to Last.fm with Amarok 2.3 and no Kwallet
June 13th 2010

I am not a great KWallet fan (probably due to ignorance), so when I introduce my Last.fm credentials in Amarok I get this warning that they will be saved in plain text (because Kwallet is not running). That didn't bother me much, until recently. As it happens, my computer at work (Amarok 2.3 on Arch Linux) does not scrobble (publish) the tracks I play into Last.fm.

The root of the problem seems to be that my Last.fm credentials are not actually saved. If I go to Settings -> Configure Amarok -> Internet Services -> Last.fm, I can write my "Username" and "Password" there. If I click on "Test login", it will report a success for valid credentials, and a failure for wrong ones. If I click "OK" (that is, save and exit), the aforementioned warning about Kwallet not running appears (no big deal so far), and if I choose to accept the proposal of saving the password in plain text Amarok seems to accept it. The problem is, it doesn't really. My tracks don't get scrobbled, and if I go to the Last.fm settings again, the credentials are empty.

In my computer at home, with an identical Amarok 2.3 on Arch Linux and with no Kwallet, the credentials do get saved, and the scrobbling does work. It might well be because I alreadly applied the trick I will explain next (and I don't remember having done it). I came accross the solution at bug report 555688 at Launchpad, the Ubuntu bugtracking site.

The solution is simple. Edit the following file:

~/.kde4/share/config/amarokrc

and add the following (section [Service_LastFm] will most likely already exist):

[Service_LastFm]
fetchSimilar=true
ignoreWallet=yes
password=YOURPASSWORD
scrobble=true
username=YOURUSERNAME

where YOURPASSWORD and YOURUSERNAME must obviously be changed for the appropriate values.

Tags: , , , , , , ,

7 Comments »

7 Responses to “Scrobbling to Last.fm with Amarok 2.3 and no Kwallet”

  1. sebthemonster on 14 Jun 2010 at 20:51 pm #

    Thank you very much for you post... I was deseperate to listen my last.fm radios with Amarok !!!

  2. javi on 26 Jul 2010 at 20:53 pm #

    Thanks. This post saved my day.

  3. Fabian on 02 Aug 2010 at 0:59 am #

    Ohh thank you so much. I was getting so frustrated. Works perfectly :)

  4. betology on 08 Aug 2010 at 23:05 pm #

    ubuntu 10.4 the file is in ~/.kde/share/config/amarokrc
    woks fine thanks

  5. amsterdammack on 16 Sep 2010 at 14:38 pm #

    thank you!

  6. pootzko on 25 Sep 2010 at 9:08 am #

    sweet, no unnecessary typing anymore, this is going to my bookmarks =)

  7. joei on 29 Sep 2010 at 15:17 pm #

    cheers mate! this was awesome!

Trackback URI | Comments RSS

Leave a Reply

Subscribe without commenting

« | »

  • The contents of this blog are under a Creative Commons License.

    Creative Commons License

  • Meta