Bug 317391 - Amarok doesn't save Last.fm password and username
Summary: Amarok doesn't save Last.fm password and username
Status: RESOLVED DUPLICATE of bug 315306
Alias: None
Product: amarok
Classification: Applications
Component: Services/Last.fm (show other bugs)
Version: 2.7.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 2.8
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-26 17:08 UTC by ilya.kolodnik
Modified: 2013-07-27 02:06 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ilya.kolodnik 2013-03-26 17:08:22 UTC
When I fill in Last.fm form all is fine and scrobbling works. But after restarting amarok Last.fm form is blank and I can't scrobble

Reproducible: Always

Steps to Reproduce:
1. Open Amarok
2. Fill Last.fm username and password
3. Close Amarok
Actual Results:  
Last.fm form is blank

Expected Results:  
Last.fm form is filled in
Comment 1 Myriam Schweingruber 2013-03-26 17:44:26 UTC
Do you use KWallet?
Comment 2 ilya.kolodnik 2013-03-26 17:45:27 UTC
No, I don't use KWallet
Comment 3 ilya.kolodnik 2013-03-26 17:45:47 UTC
(In reply to comment #1)
> Do you use KWallet?

No, I don't
Comment 4 Myriam Schweingruber 2013-03-26 17:47:40 UTC
How do you save passwords on your system?
Comment 5 ilya.kolodnik 2013-03-26 17:50:59 UTC
(In reply to comment #4)
> How do you save passwords on your system?

I didn't understand your question.

Some months ago I have archlinux with kde 4.9, amarok 2.6 and without KWallet. I fill Last.fm data once and all was fine.
Then I work for some months in Windows and then install new archlinux.
Now it was with kde 4.10, amarok 2.7 and without KWallet too
Comment 6 Myriam Schweingruber 2013-03-26 17:55:54 UTC
Thank you for the information.

If you do not use KWallet or another password wallet then your password is stored in plain text in amarokrc, which is usually located in $HOME/.kde/share/config/
Comment 7 ilya.kolodnik 2013-03-26 18:04:29 UTC
(In reply to comment #6)
> Thank you for the information.
> 
> If you do not use KWallet or another password wallet then your password is
> stored in plain text in amarokrc, which is usually located in
> $HOME/.kde/share/config/

This is section from ./.kde4/share/config/amarokrc 

[Service_LastFm]
announceCorrections=true
fetchSimilar=true
kWalletUsage=0
scrobble=true
scrobbleComposer=false
sessionKey=05072e4a3a3061436a2292b83f866a1a
useFancyRatingTags=true
Comment 8 Matěj Laitl 2013-03-26 18:46:00 UTC
Most likely a duplicate of 315306, please try current git version to check.

*** This bug has been marked as a duplicate of bug 315306 ***
Comment 9 VaryHeavy 2013-07-25 23:32:32 UTC
I have the same problem in different distros (checked on OpenSUSE 12.3 and Kubuntu 13.04). When I fill my Last.fm credentials is all fine, but if I restart Amarok, the Last.fm form is empty, which does not happen when I use KWallet, but I don't want to use KWallet. So, as I see, I think the error is that Amarok does not store credentials in plain text in /.kde4/share/config/amarokrc.
Comment 10 Matěj Laitl 2013-07-26 09:01:06 UTC
(In reply to comment #9)
> I have the same problem in different distros (checked on OpenSUSE 12.3 and
> Kubuntu 13.04). When I fill my Last.fm credentials is all fine, but if I
> restart Amarok, the Last.fm form is empty, which does not happen when I use
> KWallet, but I don't want to use KWallet. So, as I see, I think the error is
> that Amarok does not store credentials in plain text in
> /.kde4/share/config/amarokrc.

a) this is is duplicate, please comment on the original bug instead in such situations
b) the bug has been fixed already
c) you don't tell us your Amarok version, which is the single most important piece of information :)
Comment 11 VaryHeavy 2013-07-27 02:06:06 UTC
(In reply to comment #10)
> (In reply to comment #9)
> > I have the same problem in different distros (checked on OpenSUSE 12.3 and
> > Kubuntu 13.04). When I fill my Last.fm credentials is all fine, but if I
> > restart Amarok, the Last.fm form is empty, which does not happen when I use
> > KWallet, but I don't want to use KWallet. So, as I see, I think the error is
> > that Amarok does not store credentials in plain text in
> > /.kde4/share/config/amarokrc.
> 
> a) this is is duplicate, please comment on the original bug instead in such
> situations
> b) the bug has been fixed already
> c) you don't tell us your Amarok version, which is the single most important
> piece of information :)

A little bit of relax, man... I have commented here because this bug was the first I found about this.
Certainly, I forgot to tell the Amarok version. No problem, I tell you. On Kubuntu 13.04, Amarok runs on version 2.7.0 (package is specifically 2:2.7.0-0ubuntu2.1).
On OpenSUSE 12.3 I don't know the exact package in this moment because I have not in front, but I know that the Amarok version is 2.7.0 too.