how to know if it's a stream
#1
Hi all,

i am failing to find out, if a stream is played.

with
{ "jsonrpc": "2.0", "method": "Player.GetItem", "params": { "playerid": 1, "properties": [ "title", "showtitle", "artist", "thumbnail", "streamdetails" ] }, "id": 1 }

i get (among others) the following object if i watch with the RT Plugin (Russia Today, live watch)

(streamdetails) Object { audio=[0], subtitle=[0], video=[0]}


in the AlJazeera Plugin, however i get information there. So i could find it out in streamdetails, but not for sure. i want to be sure.

what i actually need: i need to know, when something does have an increasing or unknown end time. (LiveStream like the above mentioned TV Stations or a radio station)

one nasty way would be to find out, if the end time changes. But i guess that would be more a hack than elegant and cause unnecessary overhead (which i have for sure enough in my webinterface).

Any ideas?
Check out my plugin yarc, it's a web-remote optimised for all screen sizes (especially touch and small screen).
Reply
#2
Good question.

You may want to post this question in the JSON-RPC forum.
I am an expert at acting like an expert ---- WC Fields.

XBMC Web Control Interface - https://github.com/mthiels/webinterface.xrc
Reply
#3
Kabooga, thanks for the hint, did not realize that there is a JSON form *shame*

could an admin delete this thread?
Check out my plugin yarc, it's a web-remote optimised for all screen sizes (especially touch and small screen).
Reply

Logout Mark Read Team Forum Stats Members Help
how to know if it's a stream0