Forums » Tutorial and setups »
How to uncheck/check all 'EPG' and/or 'enabled' check boxes on the 'service' tab quickly
Added by jody gugelhop about 11 years ago
Hi there,
I use dvb-s and tvh 3.5.243~g2b64995.
Wanted to uncheck all the check boxes for EPG as well as disable all services listed on the service tab, but there were simply too many and the refreshing page was very disturbing in the attempt. Thus I turned to the cli. First stop all tvheadend processes.
Then locate your 'dvbmuxes' folder, e.g.:
locate dvbtransports
You should get a lot of output, but you only need the main dir. In any case switch to that directory.
cd /home/hts/.hts/tvheadend/dvbtransports/
I want to disable all the services, some text manipulation will do the trick:
sed -i 's/disabled\": 0/disabled\": 1/' */*
To re-enable all:
sed -i 's/disabled\": 1/disabled\": 0/' */*
To disable all EPG:
sed -i 's/dvb_eit_enable\": 1/dvb_eit_enable\": 0/' */*
To re-enable all EPG:
sed -i 's/dvb_eit_enable\": 0/dvb_eit_enable\": 1/' */*
Same can be done if you want to disable or enable all multiplex from the 'Multiplex' table only in the dvbmuxes directory.
Once you are done with your changes, restart the tvh service and see for yourself the desired results in the webinterface.