Tiny Core Linux

Tiny Core Extensions => TCE Bugs => Topic started by: Juanito on September 01, 2012, 10:30:26 AM

Title: banshee and last.fm
Post by: Juanito on September 01, 2012, 10:30:26 AM
I'm unable to login to last.fm with banshee - it asks for my username and then gives this error:
Code: [Select]
[Warn  18:14:36.588] Error in Lastfm.Account.RequestAuthorization - System.NullReferenceException: Object reference not set to an instance of an object (in `Lastfm')
  at Lastfm.Account.RequestAuthorization () [0x00000] in <filename unknown>:0

If I click on the "join" link (although I already have an account), I get this:
Code: [Select]
(Banshee:4404): Gtk-WARNING **: Unable to show 'http://www.last.fm/join': Operation not supported

I guess there's a missing or erroneous gconf key, but does anybody know which one (rhythmbox has a similar problem)?
Title: Re: banshee and last.fm
Post by: Juanito on September 05, 2012, 01:21:49 AM
further investigation reveals that support for gtk_show_uri() is required, which implies the gvfs extension is needed.

With gvfs loaded, I get an error of the form "error":14,"message":"This token has not been authorized"

I'd appreciate it if somebody who uses the gnome desktop with tc could give this a go (connect to last.fm) to see if it works.
Title: Re: banshee and last.fm
Post by: Rich on September 05, 2012, 09:08:01 AM
Hi Juanito
Could this be relevant?
http://ubuntuforums.org/showthread.php?p=8538713

Title: Re: banshee and last.fm
Post by: Juanito on September 05, 2012, 09:20:19 AM
Thanks - presuming they refer to the browser settings, I already check that 3rd party cookies were enabled and they are  :(
Title: Re: banshee and last.fm
Post by: Juanito on September 05, 2012, 02:31:30 PM
slow progress, but using "gvfs-open" to try and debug, I discovered I need:
Code: [Select]
$ cat /home/tc/.local/share/applications/mimeapps.list
[Default Applications]
x-scheme-handler/http=opera9.desktop

..now opera opens, but the url is not passed - i.e. "gvfs-open http://www.google.com" opens opera, but with a blank page

Edit: got it - "%u" needs to be added to the exec line in the desktop file  ::)

..and banshee/rhythmbox will now join last.fm