2011-11-12, 12:32
Tolriq Wrote:I'm starting to update Yatse to last Eden since JSON changes are slowing a little
I've got a small question about Player.Open.
What is the real way to use it ?
For the moment for audio albums for example i build playlist then I send a simple :
But in XBMC logs it generates lots of warning :
Do i really need to pass all those args ? What value should i use for them then ?
Reading more the logs during writing it seems perhaps the warning are generated by :
But the question remain
You either create a playlist and then use the "playlistid" property of the "item" parameter or you just use the "albumid" property of the "item" parameter. The warnings in the log are wrong and I'll see about removing them.
EDIT: I just made a commit that changes the level of those log messages from WARNING to DEBUG so if you don't have debug logging enabled you won't see them at all and if you do they shouldn't be alarming. Actually if there is something wrong with the parameters in your requests you will get an error response from JSON-RPC stating exactly what the problem is (which parameter, what type etc) so you don't really need to look into your log for any syntax-related JSON-RPC request problems.