Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] Re: [Solution] Bug report vdr-1.2.5 - error while reading timers.conf
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am Sonntag, 12. Oktober 2003 12:23 schrieb Klaus Schmidinger:
> > If I add a timer using the vdr menue the vdr destroys
> > it's own timers.conf file, so that vdr crashes/quits,
> Please keep very clearly apart whether it _crashes_ or
> _quits_ - there's a fundamental difference here ;-)
Oh yeah, right. But it's a crash, if the software caused the
inconsistences byitself - like here. ;-< By adding and removing
timers during normal operation.
> Use only channel definitions that adhere to man vdr.5.
> Maybe the scan utility created some with inconsistent
> NID/TID parameters.
Found it. Was NID/TID Problem. Until this is not used and
usable, vdr should ignore those settings and presume
healty "0" defaults - even there is a '1' in the channels.conf,
because users may be bugged by an old" scan" tool or
like mine by a eMailed channels.conf. ;-<
Until then, all NID/TIS should be ste to 0 !
After getting CVS updated scan tool, I scribbled a 'short'
perl tool to re-generate a channels.conf using 'scan' and
a few rules to clean up for ASTRA/Sat use for Germany.
- --------x----- here it is ---------x---------------------------
#!/usr/bin/perl
use File::Copy;
###############################################################################
$CHANNELS='channels.conf';
$CHANNELS_NEW='channels.conf.new';
$CHANNELS_SCAN='channels.conf.scan';
@CHANNELS=();
if(! -f $CHANNELS_SCAN)
{
@CHANNELS=`./scan -e 2 -t 1 -p -o vdr Astra-19.2E`;
open OUT, '>', $CHANNELS_SCAN ;
sort(@CHANNELS);
reset(@CHANNELS);
foreach(@CHANNELS)
{
chomp;
print OUT "$_\n";
}
close OUT;
}
else
{
open IN, '<', $CHANNELS_SCAN or die 'No $CHANNELS_SCAN File';
while(<IN>)
{
chomp;
$c=$_;
@CHANNELS=(@CHANNELS, $_);
}
close IN;
}
sort(@CHANNELS);
reset(@CHANNELS);
foreach(@CHANNELS)
{
chomp;
# Filter not wanted Channels
next if(/\A\[/);
next if(/Wishline - /);
next if(/FRANCISZKANIE/);
next if(/ORF/);
next if(/ANDALUCIA/);
next if(/CSAT/);
next if(/TAQUILA/);
next if(/C\+/);
next if(/ASTRA/i);
next if(/-CH/i);
next if(/RTL TELE Letzebuerg/);
next if(/C CINEMA/i);
next if(/CANAL\+/);
next if(/KIOSQUE/i);
next if(/test/i);
next if(/Schweiz/i);
next if(/Austria/i);
next if(/Animal Planet/i);
next if(/CanalSatélite/i);
next if(/UPC Direct/i);
next if(/\A\(null\)/i);
next if(/Chinese Channel/i);
next if(/AB SAT/i);
next if(/\ATBS/i);
next if(/Chamber TV/i);
next if(/ATV\+/i);
next if(/SAT\.1 A/);
next if(/canal\+/);
next if(/Service10/);
next if(/\AX Gate/i);
next if(/Tele 2 - /i);
next if(/Philips PDSL - /i);
next if(/TV5 - /i);
next if(/RTBF - /i);
next if(/CANALSATELLITE/i);
@NEU=(@NEU, $_);
}
foreach(@NEU)
{
chomp($_);
$c=$_;
$c =~ s/\AC\+.+\Z//i;
$c =~ s/\s+/ /g;
$c =~ s/\A\s\Z//g;
$c =~ s/\A\Z//g;
# Forget about Service Providers
$c =~ s/PREMIERE - //g;
$c =~ s/QVC - //g;
$c =~ s/Bloomberg - //g;
$c =~ s/Europe Online - //g;
$c =~ s/ProSiebenSat.1 - //g;
$c =~ s/BetaDigital - //g;
$c =~ s/MTV Networks - //g;
$c =~ s/CNN - //g;
$c =~ s/Deutsche Telekom - //g;
$c =~ s/ZDFvision - //g;
$c =~ s/RTL World - //g;
$c =~ s/n-tv - //g;
$c =~ s/Maastricht Multimedia - //g;
$c =~ s/ARD - //g;
$c =~ s/DiviCom Customer - //g;
$c =~ s/EUROSPORT - //g;
$c =~ s/Landmark Travel Channel Limited - //g;
next if ($c =~ /\ADPC/);
next if ($c =~ /\ABD /);
next if ($c =~ /\A\Z/);
@KANAL=split(/:/, $c);
next if($#KANAL != 12);
print "$c\n";
}
- ---------x------------x-------------x--------------x-----------x---------
mfG
Jürgen
automatiX Linux Support Crew
- --
Jürgen Sauer - AutomatiX GmbH, +49-4209-4699, jojo@automatix.de **
** Das Linux Systemhaus - Service - Support - Server - Lösungen **
** http://www.automatix.de ICQ: #344389676 **
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQE/iaOzW7UKI9EqarERAkMzAKDhDCmHlyih73AByB1lfXj7YBaOjACdHNSo
WUaxYNoh+l0kMF5SLjD6YeE=
=B1NJ
-----END PGP SIGNATURE-----
--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.
Home |
Main Index |
Thread Index