Scripting a channel change/start/finish
Added by Anonymous about 12 years ago
Hi all, I want to script a process that I need to direct TVH to change channels, stay on that channel for a given period and then resume normal operations (e.g. if you have autoscan when idle active, it would go back to autoscanning). I don't need it to record anything, just tune a specific transponder for a period of time. I'm assuming this can be done with HTSP but I'm not sure. Is there an example of something similar available? The rest of my script is in perl so command line or perl would be great.
Thanks
Norm
Replies (27)
RE: Scripting a channel change/start/finish - Added by Adam Sutton about 12 years ago
CRID is a specific EIT standard for providing a unique identifier (its currently used in UK on Freesat/view, not sure about others). If NA uses its own mechanism I would prefer you created you're own URIs. Currently we have the following:
ddprog_id:// <- stuff provided by schedules direct XMLTV
opentv:// <- stuff provided by the opentv module (as used by Sky)
crid:// <- stuff provided by EIT CRID mechanism (as used by Freesat)
tvh:// <- internally generated ones for where we don't have valid unique ones
If you can get this on github that would be really useful as it will make it easier for me to see what you're doing in a wider context etc..
Adam
RE: Scripting a channel change/start/finish - Added by Anonymous about 12 years ago
Work in progress - I was able to clone tvheadend and apply a patch of my current changes. I haven't even tried to compile this version as opposed to my local WIP version. I will try keep that branch up to date from now on.
https://github.com/cub69/tvheadend/tree/dish_eit/src/epggrab/module
- « Previous
- 1
- 2
- Next »