2012-09-27, 07:51
Thanks for both
(2012-09-30, 14:50)DerPate Wrote: Hello,
while developing my new .Net Client API (http://forum.xbmc.org/showthread.php?tid=141604) I discovered a bug in the JSON schema returned by JSONRPC.Introspect:
It reports the type “string” for the property “country” on type “List.Item.All”. But the API actually returns “string[]”. That’s why the most Windows Phone and Window 8 XBMC apps are broken on Frodo.
Is this a known bug? Can I do something to get the schema fixed?
Regards
Steve
(2012-03-22, 13:15)Montellese Wrote: You can send any URL to XBMC through Player.Open using the "file" property of the "item" parameter
but providing a session/cookie/context isn't possible.Code:{ "jsonrpc": "2.0", "method:" Player.Open", "params": { "item": { "file": "http://www.xyz.com/foo?bar" } }, "id": 1 }
"streamdetails": { "audio": [ { "channels": 6,"codec": "dca","language": "eng" }
"currentaudiostream": { "bitrate": 0,"channels": 6,"codec": "dca","index": 0,"language": "eng","name": "DTS 5.1 @ 1510 kbps - DTS 5.1" }
(2012-10-01, 18:25)yallah Wrote: you think that we will didn't get Json-rpc about LiveTv in playerid methods before freeze?I don't have any PVR equipment or installation so I don't use it myself and can't write the JSON-RPC interface for it either. There's a PR on github which adds basic support for PVR to JSON-RPC but it needs some changes before it can get included into mainline and the author hasn't responded yet.
(2012-10-01, 18:46)Tolriq Wrote: Any chance for a Player.SetRandomMode too ? And a way to add items to playlist in non random mode (when in random mode) to be able to start the correct item ? (Check my previouses unanswered posts )Uhm we have Player.Shuffle and Player.Unshuffle (which will soon be merged into Player.SetShuffle) which should work well enough. Adding an item to a playlist and directly playing it will most likely not be supported because we want to keep the playlist seperate from the player (is this even possible in xbmc?). Concerning your other question maybe I can alter Playlist.Add/Insert so that it returns the position of the new item which would then allow you to use that to start it. Would that be good enough?
Or a way to add items to queue with a play parameter so it start the item as it's added ?
(2012-10-01, 20:19)Mizaki Wrote: Sorry to add to the questions but is image transform out for Frodo?Most likely not. I looked into it and while the webserver part of the implementation is very easy I have no knowledge of either the texture cache or the image loading/caching and jmarshall is very busy ATM and doesn't have time to look into it either.
(2012-10-01, 21:03)Mizaki Wrote: Just about to add audio and subtitle menus when I noticed the "name" isn't returned for audio or subtitles. For example GetItem or GetMovieDetails gives:
but Player.GetProperties gives:Code:"streamdetails": { "audio": [ { "channels": 6,"codec": "dca","language": "eng" }
Without the "name" you get things like: eng eng eng. Where there are two commentary tracks. Same thing for subtitles.Code:"currentaudiostream": { "bitrate": 0,"channels": 6,"codec": "dca","index": 0,"language": "eng","name": "DTS 5.1 @ 1510 kbps - DTS 5.1" }
I'll have a look and see if I can do it myself but you can probably do it in 5 minutes