Project

General

Profile

Services

Added by Mikael Östh over 11 years ago

When configuring TV adapters and services, how can enable or disable several rows at once?
for example, if I just want to have 10 channels out of 200 enabled. it is a hell of a lot mouse clicking.


Replies (2)

RE: Services - Added by Alex . about 11 years ago

Hi,

Mikael Östh wrote:

When configuring TV adapters and services, how can enable or disable several rows at once?
for example, if I just want to have 10 channels out of 200 enabled. it is a hell of a lot mouse clicking.

As far as i know there is no such option within tvheadend.

However, I use a workaround: ( same problem here: many services present, only 20 needed ).
Note that this only works when just starting since this will disable all services by default !

- services can be anebled/disabled by editing the files in /home/.hts/tvheadend/dvbtransports
- enabled services say: disabled 0

- The following line will disable all services in any sub(sub)directory from where you are in the directory tree at that moment (so be careful !!!)

find . -name '_dev*' -exec sed -i 's/"disabled": 0/"disabled": 1/g' {} \;

This will search for all files called "_dev something" starting in current dir and going down and replace the disabled 0 line with "disabled 1".

You might want to backup the files before autochanging all kinds of stuff this way from the commandline.....

Alex.

Services - Added by Mikael Östh about 11 years ago

thanks!

always good to have alternative ways of doing stuff

Den tisdagen den 27:e augusti 2013 skrev :

Tvheadend - General: RE: Services
Alex .

Hi,

Mikael Östh wrote:

When configuring TV adapters and services, how can enable or disable
several rows at once?
for example, if I just want to have 10 channels out of 200 enabled. it is
a hell of a lot mouse clicking.

As far as i know there is no such option within tvheadend.

However, I use a workaround: ( same roblem here: many many services
present, only 20 needed ).
Note that this only works when just starting since this will disable all
services by default !

- services can be anebled/disabled by editing the files in
/home/.hts/tvheadend/dvbtransports
- enabled services say: disabled 0

- The following line will disable all services in a subdirectory from
where you are in the directory tree at that moment ( so be carfull !!!)

find . -name '_dev*' -exec sed -i 's/"disabled": 0/"disabled": 1/g' {} \;

This will search for all files called "_dev something" starting in current
dir and going down and replace the disabled 0 line with "disabled 1".

You might want to backup the files before autochanging all kinds of stuff
this way from the commandline.....

Alex.
------------------------------

You have received this notification because you have either subscribed to
it, or are involved in it.
To change your notification preferences, please click here:
https://tvheadend.org/my/account

    (1-2/2)