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

John Frankish <[email protected]>
Newsgroups gmane.comp.gnome.apps.rhythmbox.devel
Message-ID <654DF80AD31A344E93DBCC6280BD6DEF85993E38@NL0230MBX08N1.DIR.slb.com>
Thanks for the reply, see below

> -----Original Message-----
> From: Jamie Nicol [mailto:[email protected]]
> Sent: Tuesday, 31 July, 2012 23:39
> To: John Frankish
> Cc: [email protected]
> Subject: Re: [Rhythmbox-devel] FW: last.fm plugin does not ask for
> username/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.
> 
> That's odd that it isn't opening a browser. Do you have a default browser set
> in gnome settings?

No - I'm not using a gnome distro (actually using tinycorelinux), but some gnome settings exist

I believe I need desktop/gnome/apps/browser/exec set to my browser, but I don't know how to create this key
with gconftool-2 or gconf-editor - suggestions welcome.

> > 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.
> 
> This is odder, because despite not opening a browser for you, rhythmbox
> should still be able to notice that you logged in and enabled it. But you can
> see from the output where it says "auth token has not been authorised yet.
> will try again", that last.fm is telling us we have not been authorised.
> 
> In plugins/audioscrobbler/rb-audioscrobbler-account.c, in
> got_session_key_cb (), try printing the entire return message from last.fm to
> see if maybe it's being parsed wrong, ie "rb_debug (msg->response_body-
> >data);".

Sorry, but I don't understand how to do this - where/when do I enter:

"rb_debug (msg->response_body-data);"
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.