Project

General

Profile

Feature #1321

Select / deselect all services under TV adapter config

Added by Andreas B about 12 years ago. Updated almost 7 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
User Interface
Target version:
-
Start date:
2012-10-12
Due date:
% Done:

0%

Estimated time:

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

#1

Updated by Walter Purcaro about 12 years ago

I'm working on :)

#2

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

#3

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.

#4

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

#5

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

#6

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. :)

#7

Updated by Adam Sutton about 12 years ago

  • Category set to 11
#8

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? :)

#9

Updated by Bas K almost 12 years ago

This is what i was thinking :)
I hope it will be approved. thx.

#10

Updated by Walter Purcaro almost 12 years ago

Andreas B wrote:

Nice! Where can I find your branch? :)

http://github.com/Vuolter/tvheadend/tree/testing/webui_v2

#11

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.

http://paste.ubuntu.com/1468154/

#12

Updated by Mark Clarkstone almost 7 years ago

  • Status changed from New to Fixed

multi-select has been implemented for a while now :)

Also available in: Atom PDF