Unable to play songs using the web interface

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
DaniB1980 Offline
Junior Member
Posts: 11
Joined: Sep 2010
Reputation: 0
Post: #1
Hi there,

I have a problem when trying to play a song or album using the Web Interface. It seems that the web interface ( I tried all available interfaces) will simply not send the appropriate JSON command.
Good example caputred when clicking on a song in the web interface usgin older version Dharma:

{ "jsonrpc": "2.0", "method": "XBMC.Play", "params": {"songid": 258}, "id": 1 }

When trying with PRE-11.0 GIT it checks for ative players?:

{"jsonrpc": "2.0", "method": "Player.GetActivePlayers", "id": 1}

I think it might be related to recent JSON changes but not sure. It was running fine on older version and to me this seems to be something very basic.
BTW play, pause next buttons do work fine when a song has been choosen on xbmc itself.

Any inputs here?

System setup is Ubuntu 10.04.2.01
XBMC PRE-11.0
Firefox 5.0

Thanks
find quote
Robotica Offline
Banned
Posts: 1,202
Joined: Aug 2010
Post: #2
yes, this is most likely due to recent JSON changes.
find quote
DaniB1980 Offline
Junior Member
Posts: 11
Joined: Sep 2010
Reputation: 0
Post: #3
Fair enough, but any way to get this working again? :-)
I have also noticed that in some webinterfaces such as wtouch png's of album covers are not uploaded.
Worst case for me would be using some older version of XBMC. What version would that be?
find quote
neoflex Offline
Senior Member
Posts: 120
Joined: May 2011
Reputation: 0
Post: #4
https://github.com/xbmc/xbmc/pull/238

just submited a fix some days ago Wink
find quote
DaniB1980 Offline
Junior Member
Posts: 11
Joined: Sep 2010
Reputation: 0
Post: #5
nice! This is for the default web interface only I guess?
find quote
neoflex Offline
Senior Member
Posts: 120
Joined: May 2011
Reputation: 0
Post: #6
Yep
find quote