2015-02-17, 12:49
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?
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?