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" ( :smiling face with halo: ) as a parameter to a python script

    2) 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

    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