2011-10-22, 15:43
Hi,
During development (C#) of remote controller over network, I've run into some odd XBMC Server behaviour. While sending "Files.GetDirectory" request to server on Linux machine (Ubuntu 11.04/11.10), I get a list sorted in a descending order, on the other hand when I send the same request to Windows 7 machine, I get a list sorted in ascending order as expected.
In addition, for some reason "AudioPlaylist.State" request returns an error
("AudioPlayer.State" request work just fine)
Request:
{\"jsonrpc\": \"2.0\", \"method\": \"AudioPlaylist.State\", \"id\": \"1\"}
Response:
{
"error" : {
"code" : -32601,
"message" : "Method not found."
},
"id" : "1",
"jsonrpc" : "2.0"
}
Any clues? Thanks
During development (C#) of remote controller over network, I've run into some odd XBMC Server behaviour. While sending "Files.GetDirectory" request to server on Linux machine (Ubuntu 11.04/11.10), I get a list sorted in a descending order, on the other hand when I send the same request to Windows 7 machine, I get a list sorted in ascending order as expected.
In addition, for some reason "AudioPlaylist.State" request returns an error
("AudioPlayer.State" request work just fine)
Request:
{\"jsonrpc\": \"2.0\", \"method\": \"AudioPlaylist.State\", \"id\": \"1\"}
Response:
{
"error" : {
"code" : -32601,
"message" : "Method not found."
},
"id" : "1",
"jsonrpc" : "2.0"
}
Any clues? Thanks