WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: banshee and last.fm  (Read 2589 times)

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14569
banshee and last.fm
« on: September 01, 2012, 07: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)?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14569
Re: banshee and last.fm
« Reply #1 on: September 04, 2012, 10:21:49 PM »
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.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11256
Re: banshee and last.fm
« Reply #2 on: September 05, 2012, 06:08:01 AM »
Hi Juanito
Could this be relevant?
http://ubuntuforums.org/showthread.php?p=8538713


Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14569
Re: banshee and last.fm
« Reply #3 on: September 05, 2012, 06:20:19 AM »
Thanks - presuming they refer to the browser settings, I already check that 3rd party cookies were enabled and they are  :(

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14569
Re: banshee and last.fm
« Reply #4 on: September 05, 2012, 11:31:30 AM »
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
« Last Edit: September 05, 2012, 12:08:29 PM by Juanito »