btw, are you aware of any API reporting the color sampling format, basically the "4:2:2" or "4:2:0" information?
Posts by sentaro
-
-
yeah, thank you.
I'm done. at the end I made the rest request into a python script rather than in the bash script.
This because I need to make calculations on the PIDs and namespace in order to compute the softcam hash of the tuned channel, you know...
It's working now, basically this is what it does (not that elegant I know...):
1) a bash script passes a "value" (
) as a parameter to a python script2) the python script gets the servicereference by the rest API, then PID parsification occurs, getting SID, TID, oNID, E2 namespace; then after elaboration the softcam hash is produced and softcam k*y file is updated with a new entry.
3) the bash script forces a softcam restart in order to read the just updated k*y file
-
After looking around, I will take advantage of the API from the REST API of OpenATV web interface, then I will parse the returned json that includes the service reference for the current station.
-
Hi,
I would need to find a way to get namespace and PID list for the currently tuned channel, in order to pass TID, NID, SID and hopefully the namespace to another script for further eleborations.
Such values are available on the Info screen on the receiver itself and can be read by dreambox of course, but I need a way to get them programmatically by a bash script (so to pass the values to another python script).
Are you aware of any easy way to get those data from the shell?
Thank you!
KR
