Feature #1321
Select / deselect all services under TV adapter config
0%
Description
My services list contains 221 services, but im only using about 30 of them.
It takes a LOT of time to deselect all the services im not using for all tuners every time im reconfiguring or reinstalling. It would be great to have a select / deselect all option.
The "Over-the-air Grabbers" in the EPG section has this option, so I guess its possible under services as well?
History
Updated by Wojciech Myrda about 12 years ago
Guys while You at it please consider same option for Channel Tags tab. Should be possible same way just in different place
Updated by Sven Wegerhoff about 12 years ago
since the service datastore is made of pure files in the config dir, you could easily disable all services with a short one-liner:
$ sudo service tvheadend stop # maybe not needed $ sudo find /home/hts/.hts/tvheadend/dvbtransports/ -type f -print0 | sudo xargs -0 perl -pie 's/\"disabled\": 0/\"disabled\": 1/g' $ sudo service tvheadend start # maybe not needed
Only enabling services you want to add should be much more comfortable, at least for SAT users.
greets,
B.
Updated by Wojciech Myrda about 12 years ago
Great idea! However "perl -pie" didn't work for me, but replacing it with plain "sed -i" did the trick
Updated by Wojciech Myrda about 12 years ago
another trick which would help keep epg data in reasonable size is using your line also to turn off EPG for all channels. One needs to replace only the end of the line as the operation takes place on the same files
's/\"dvb_eit_enable\": 1/\"dvb_eit_enable\": 0/g'
I also used it for disabling tags
sudo find /etc/tvheadend/channeltags/ -type f -print0 | sudo xargs -0 sed -i 's/\"enabled\": 1/\"enabled\": 0/g'
I would welcome here a proper solution to disable/erase this way all tags that a channel belongs to preferably with leaving few groups such TV Channels, Radio, SD, HD
Updated by Walter Purcaro about 12 years ago
Wojciech Myrda wrote:
Guys while You at it please consider same option for Channel Tags tab. Should be possible same way just in different place
I think is better to added single columns for type, provider, etc.
Anyway, I've just added the service selector button in my branch.
Updated by Andreas B about 12 years ago
Walter Purcaro wrote:
Anyway, I've just added the service selector button in my branch.
Nice! Where can I find your branch?
Updated by Bas K almost 12 years ago
This is what i was thinking :)
I hope it will be approved. thx.
Updated by Walter Purcaro almost 12 years ago
Andreas B wrote:
Nice! Where can I find your branch?
Updated by Vojtech Plavecky almost 12 years ago
didnt try testing webui but made small script to disable services matching search criteria. good for radio, data services, or any matching any criteria.
Updated by Mark Clarkstone almost 7 years ago
- Status changed from New to Fixed
multi-select has been implemented for a while now