[mythtv-users] UK Radio Times Grabber "Seen twice" error

Stephen Kitchener stephen at g6dzj.demon.co.uk
Fri Jul 27 19:26:20 UTC 2007


On Friday 27 Jul 2007 16:43, James Fidell wrote:
> James Fidell wrote:
> > jonny Linux wrote:
> >> Hi,
> >>
> >> I've noticed in the last couple of days I've not been getting any new
> >> listings from the UK RT grabber.
> >>
> >> I get "channel named 'Cartoon Network Too' seen twice at
> >> /usr/bin/tv_grab_uk_rt line 199."
> >>
> >> Where do these channels come from? Is there a config file with all the
> >> channels in, or is the channel duplicated on the RT website?
> >>
> >> Is anyone else having this problem?
> >
> > Yes.  It's been happening for a couple of days now.  The problem is a
> > duplicate entry in the channels.dat file provided by the RT website:
> >
> >   742|Cartoon Network Too
> >   2044|Cartoon Network Too
> >
> > I don't know if there's someone who can be contacted to get it fixed,
> > but there are a few comments on it here:
> >
> >   http://news.gmane.org/gmane.comp.tv.xmltv.general
>
> I don't get that channel, so I've just hacked tv_grab_uk_rt to skip the
> channel in the main loop:
>
>
>   foreach (split /\n/, $channel_list) {
>     chomp;
>     /^(\d+)\|(.+)/ or die "bad line in channel list: $_";
>     my ($rt_id, $name) = ($1, $2);
>     ##
>     ## Hack to skip temporarily duplicated entry
>     next if ( $name eq 'Cartoon Network Too' );
>     ##
>     $seen_rt_id{$rt_id}++ && die "channel with RT id $rt_id seen twice";
>     $seen_name{$name}++ && die "channel named '$name' seen twice";
>
> Seems to work fine as regards collecting data for the other channels.
> Neither of the data files for either of those channel ids have any data
> in, so something's gone awry.
>
> James
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

Thanks James - edited here and sorted....


-- 
SELECT * FROM users WHERE clue > 0.
Empty set (0.00sec)


More information about the mythtv-users mailing list