FW: last.fm plugin does not ask for username/password

John Frankish <[email protected]>
Newsgroups gmane.comp.gnome.apps.rhythmbox.devel
Message-ID <654DF80AD31A344E93DBCC6280BD6DEF8599385D@NL0230MBX08N1.DIR.slb.com>
-----Original Message-----
> From: John Frankish 
> Sent: Sunday, 29 July, 2012 09:01
> To: [email protected]
> Subject: last.fm plugin does not ask for username/password
>
> I'm stuck with rhythmbox-0.13.3 at the moment as I don't have gtk3
>
> I'm unable to connect to last.fm as the plugin does not "pop-up" a box to ask for my username/password and the edit/plugins/last.fm menu does not ask for the > > > > username/password.
> 
> Is there a way that I can "hardcode" my last.fm username/password under ~/.gconf/rhythmbox or ~/.gnome2/rhythmbox somewhere?
-----------------------------
I looked at this some more - as far as I can tell:

Prior to rhythmbox-0.13.3, the edit/plugins/last.fm menu used to ask for and save the username and password

Post rhythmbox-0.13.3, the edit/plugins/last.fm menu does not ask for the username/password, but clicking on the last.fm icon brings up a button marked "login". I'm guessing that clicking on "login" should pop-up a browser window, but is doesn't.

From the debug log (pasted below), I see:

rb-audioscrobbler-account.c:568: sending user to http://www.last.fm/api/auth/?api_key=0337ff3c59299b6a31d75164041860b6&token=dabafc5eb1919a46240bfba57084ad98
(15:12:33) [0x8cac140]

If I enter the following into a browser:

http://www.last.fm/api/auth/? api_key=0337ff3c59299b6a31d75164041860b6&token=dabafc5eb1919a46240bfba57084ad98

last.fm asks for my username/password and I can logon and rhythmbox is set as an enabled application.

I've tried editing ~/.gconf/apps/rhythmbox/audioscrobbler/%gconf.xml to add my username:

<?xml version="1.0"?>
<gconf>
	<entry name="username" mtime="1343732924" type="string">
		<stringvalue>myusername</stringvalue>
	</entry>
</gconf>

..but I cannot see anywhere to store my password.

Any suggestions would be welcomed.

-----

(15:12:26) [0x8cac140] [request_token] rb-audioscrobbler-account.c:524: requesting authorisation token
(15:12:26) [0x8cac140] [rb_audioscrobbler_dispose] rb-audioscrobbler.c:357: disposing audioscrobbler
(15:12:26) [0x8cac140] [rb_audioscrobbler_finalize] rb-audioscrobbler.c:399: Finalizing Audioscrobbler
(15:12:26) [0x8cac140] [paned_size_allocate_cb] rb-shell.c:2919: paned position 176
(15:12:26) [0x8cac140] [paned_size_allocate_cb] rb-shell.c:2920: right_paned position 523
(15:12:26) [0x8cac140] [actually_hide_controls] rb-visualizer-plugin.c:801: hiding controls
(15:12:27) [0x8cac140] [got_token_cb] rb-audioscrobbler-account.c:561: granted auth token "dabafc5eb1919a46240bfba57084ad98"
(15:12:27) [0x8cac140] [got_token_cb] rb-audioscrobbler-account.c:568: sending user to http://www.last.fm/api/auth/?api_key=0337ff3c59299b6a31d75164041860b6&token=dabafc5eb1919a46240bfba57084ad98
(15:12:33) [0x8cac140] [request_session_key_timeout_cb] rb-audioscrobbler-account.c:627: requesting session key
(15:12:34) [0x8cac140] [got_session_key_cb] rb-audioscrobbler-account.c:692: auth token has not been authorised yet. will try again
(15:12:38) [0x8cac140] [request_session_key_timeout_cb] rb-audioscrobbler-account.c:627: requesting session key
(15:12:39) [0x8cac140] [got_session_key_cb] rb-audioscrobbler-account.c:692: auth token has not been authorised yet. will try again
(15:12:43) [0x8cac140] [request_session_key_timeout_cb] rb-audioscrobbler-account.c:627: requesting session key
(15:12:44) [0x8cac140] [got_session_key_cb] rb-audioscrobbler-account.c:692: auth token has not been authorised yet. will try again
(15:12:48) [0x8cac140] [request_session_key_timeout_cb] rb-audioscrobbler-account.c:627: requesting session key
(15:12:49) [0x8cac140] [got_session_key_cb] rb-audioscrobbler-account.c:692: auth token has not been authorised yet. will try again
(15:12:53) [0x8cac140] [request_session_key_timeout_cb] rb-audioscrobbler-account.c:627: requesting session key
(15:12:54) [0x8cac140] [got_session_key_cb] rb-audioscrobbler-account.c:692: auth token has not been authorised yet. will try again
(15:12:58) [0x8cac140] [rhythmdb_read_enter] rhythmdb.c:1239: counter: 1
(15:12:58) [0x8cac140] [rhythmdb_read_enter] rhythmdb.c:1239: counter: 2
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.