2016-02-18, 14:31
(2016-02-18, 13:39)sveni_lee Wrote: possible: yes but not with my script...
You can make by your own. It's easy...
PHP Code:query = {
"jsonrpc": "2.0",
"id": 1,
"method": "Player.Open",
"params": {"item": {"channelid": int(xbmc.getInfoLabel('Window(Home).Property(TVHighlightsToday.Info.PVRID)'))}}
}
res = jsonrpc(query)
this is the main part on my script...
please use/read more about json and playerOpen....
I just found this on another page on this site is this something like what I need or totally different
Code:
//Play a single video from file
http://192.168.15.117/jsonrpc?request={"jsonrpc":"2.0","id":"1","method":"Player.Open","params":{"item":{"file":"Media/Big_Buck_Bunny_1080p.mov"}}}