Re: [vdr] Betr: Re: howto ignore lines in channels.conf

2012-01-15 Thread Tony Houghton
On Sun, 15 Jan 2012 23:18:40 +0100
cedric.dew...@telfort.nl wrote:

> There is one bit of information that I would like to add to
> channels.conf, and that's the channel number. This information cannot
> be added the README, and other files, as this is information that
> only I use. My channel.conf now looks like this (from memory, I'm not
> in front of the machine right now)
> 
> #1
> Nederland 1: *a whole lot of numbers* 
> #2
> Nederland 2  *a whole lot of numbers* 
> 
> This reminds me, it's now not possible to have a list of channels
> with gaps in it. I would like it if I can create a list like this:
> 
> #1..5 My favorite channels
> 1 Discovery channel
> 2 MTV
> 3 Some other channel
> 4 Comedy channel
> 5 Some other channel
> 
> #10..15 channels of my wife (just married this friday :-) )
> 10 RTL 4
> 11 RTL 8
> 
> #20 channels we both like ;-)
> 20 animal planet
> 21 discovery channel (identical to channel 1)
> 22 ...

VDR can already do that. Before each numbered group add a line ":@1 ",
":@10 ", ":@20 " etc. Exclude the quites, but ISTR there was some
problem if I didn't include a trailing space. I use this to make my
channels numbered the same way as Freeview and Freesat, so I'd prefer it
if channels lines had an LCN field instead of putting the numbers on
separate lines.

I think you can also use a : followed by a string without @ to add
comments, which are shown in the EPG. So I'm surprised everyon'e saying
you can't have comments in  channels.conf.

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


[vdr] Betr: Re: howto ignore lines in channels.conf

2012-01-15 Thread cedric . dewijs

>-- Oorspronkelijk bericht --
>Date: Sun, 15 Jan 2012 08:39:08 -0800
>From: VDR User 
>To: VDR Mailing List 
>Subject: Re: [vdr] howto ignore lines in channels.conf
>Reply-To: VDR Mailing List 
>
>
>On Sun, Jan 15, 2012 at 3:29 AM, Ville Skyttä  wrote:
>> Even though they'd get lost when VDR writes it, allowing comments there
>> would be an improvement so distros (and VDR itself) could ship the file
>> with some comments in it that instruct users what they need to do before
>> things will work, or what the file is for, or...  Same thing applies to
>> remote.conf, setup.conf, and timers.conf.
>>
>> If the "AllowComments" parameter exists just for the purpose of
>> disallowing comments in files where VDR doesn't preserve them, I suggest
>> removing that restriction altogether and allowing comments everywhere.
>> Allowing comments and preserving them are two different things.  For
>> files where VDR doesn't preserve them it could note that on the first
>> line of such files, for example like:
>>
>> # Warning: VDR will overwrite this file without preserving comments.
>
>I see no real benefit in complicating file (which stores only channel
>information) functions with what you've suggested. It just seems like
>a bunch of unnecessary work inside VDR for something that isn't any
>more useful than simply putting such info/comments in the README,
>MANUAL, INSTALLATION, or other appropriate files.

There is one bit of information that I would like to add to channels.conf,
and that's the channel number. This information cannot be added the README,
and other files, as this is information that only I use. My channel.conf
now looks like this (from memory, I'm not in front of the machine right now)

#1
Nederland 1: *a whole lot of numbers* 
#2
Nederland 2  *a whole lot of numbers* 

This reminds me, it's now not possible to have a list of channels with gaps
in it. I would like it if I can create a list like this:

#1..5 My favorite channels
1 Discovery channel
2 MTV
3 Some other channel
4 Comedy channel
5 Some other channel

#10..15 channels of my wife (just married this friday :-) )
10 RTL 4
11 RTL 8

#20 channels we both like ;-)
20 animal planet
21 discovery channel (identical to channel 1)
22 ...

#30 radio channels
31 3FM
32 BNR
33 Veronica

Best regards,
Cedric

   




___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr