[vdr] Feature suggestion: @include in channels.conf

2011-07-25 Thread Harald Milz
Hi guys,

I'm currently working on integrating my VDR setup with the commercial
kartina.tv offering (found no workable reference so I'm doing it myself - will
be documented at http://vdr-wiki.de/wiki/index.php/Kartina.tv_mit_IPTV). 

Because the channel list may be modified by the provider every now and then,
and VDR cannot know anything about it, the channels.conf file needs to be
rebuilt frequently outside of VDR (and reloaded on the next VDR restart).
Since I'd like to see the kartina.tv channels at, say, @201, I have to parse
the channels.conf file and insert the kartina.tv channels inbetween. This is
cumbersome at best. It would be far easier if channels.conf could include
other channels.conf files.

Any ideas? I figure with more IPTV offerings on the horizon this is going to
become more and more useful. 


-- 
Tomorrow will be cancelled due to lack of interest.

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


Re: [vdr] Feature suggestion: @include in channels.conf

2011-07-25 Thread Udo Richter
Am 25.07.2011 11:17, schrieb Harald Milz:
 Because the channel list may be modified by the provider every now and then,
 and VDR cannot know anything about it, the channels.conf file needs to be
 rebuilt frequently outside of VDR (and reloaded on the next VDR restart).

You know that you can modify the current channel list by the SVDRP
commands LSTC, MODC, MOVC, NEWC?

You just need a way to distinguish between 'your' channels and other
channels, so you know which to update.

 It would be far easier if channels.conf could include
 other channels.conf files.

How should this be preserved if VDR saves the channels.conf? How should
changes to the included files be handled? What happens if I move a
channel / all channels out of the included file into the main file?

An include structure is more easily handled on files that only get read.


Cheers,

Udo

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