Add possibility to check for playability of service(s)
authorStephan Reichholf <sreichholf@users.schwerkraft.elitedvb.net>
Mon, 7 Dec 2009 00:25:35 +0000 (00:25 +0000)
committerStephan Reichholf <sreichholf@users.schwerkraft.elitedvb.net>
Mon, 7 Dec 2009 00:25:35 +0000 (00:25 +0000)
commit8f75f4df31bb4f593c89dc9a99868b582600c66a
tree4dcd984017cfe9f5092295040abf5b25ecc1b7b0
parent676026bfac34f0a9a5d71d789ab2f43641c5c889
Add possibility to check for playability of service(s)
* To check a single service use: "/web/serviceplayable?sRef=XYZ?sRefPlaying=ABC"
* To check a complete ServiceList/Bouquet use: "/web/servicelistplayable?sRef=XYZ?sRefPlaying=ABC"

sRefPlaying only needs to be specified if you are about to change the service streamed to the client (so enigma2 knows that this resource will be freed before the new service is being streamed).

Example 1: You're client is currently streaming the service with the reference "XYZ", you want to know if there are free resource to SWITCH streaming to the service with the reference "ABC". You will stop streaming "XYZ" IF "ABC" is actually streamable, so you should call: "/web/serviceplayable?sRef=XYZ?sRefPlaying=ABC"

Example 2: Like 1 but you don't wanth to actually switch the stream but add a second one.
You should now call: "/web/serviceplayable?sRef=XYZ?sRefPlaying=ABC"

Please contact me if you encounter any Bugs or Problems!
webinterface/src/WebComponents/Sources/ServicePlayable.py [new file with mode: 0644]
webinterface/src/WebScreens.py
webinterface/src/web/servicelistplayable.xml [new file with mode: 0644]
webinterface/src/web/serviceplayable.xml [new file with mode: 0644]