2010-05-28, 22:47
Dear jsonrpc users,
I'm trying to get some library together along with a simplistic remote control for the new windows mobile 7. Howver starting an album is easy, thats in the html page albums.html. But playing a specific song i'm just shooting in the dark, so my first shot is:
"{\"jsonrpc\":\"2.0\", \"method\": \"XBMC.Play\", \"params\": { \"songid\": 10 }, \"id\": 1}"
Well no song is starting so its either broken (guess not) or i am using the wrong command (most probable cause).
Can anybody tell me the param for starting up a song?
And i'm trying to find out which fields i can get while retreiving the album songs, wnated the track number so i tried track, duhh wrong name.
Can anybody tell me the name of the track index for a song?
Even better anybody that can point me to some fishing gear? or maybe where or how i can get fields defs for the objects and params for the actions. I already looked at the development.html, bit to heghlevel for my purpose. Can I get more info calling the introspect functions?
Well who can take away the pain, in return I can give you a .NET c# library usable in Silverlight projects.
Regards!
I'm trying to get some library together along with a simplistic remote control for the new windows mobile 7. Howver starting an album is easy, thats in the html page albums.html. But playing a specific song i'm just shooting in the dark, so my first shot is:
"{\"jsonrpc\":\"2.0\", \"method\": \"XBMC.Play\", \"params\": { \"songid\": 10 }, \"id\": 1}"
Well no song is starting so its either broken (guess not) or i am using the wrong command (most probable cause).
Can anybody tell me the param for starting up a song?
And i'm trying to find out which fields i can get while retreiving the album songs, wnated the track number so i tried track, duhh wrong name.
Can anybody tell me the name of the track index for a song?
Even better anybody that can point me to some fishing gear? or maybe where or how i can get fields defs for the objects and params for the actions. I already looked at the development.html, bit to heghlevel for my purpose. Can I get more info calling the introspect functions?
Well who can take away the pain, in return I can give you a .NET c# library usable in Silverlight projects.
Regards!