[mythtv-users] Long films and news breaks

Stuart Fox stuart at dontuse.ms
Thu Mar 23 17:19:41 UTC 2006


> I think the first step would be for xmltv or whatever is grabbing the
> listings to identify that the two segments are part of the same
> program, for example I have the following patch to tv_grab_uk_rt:
>
> Basically this was to ensure that all 4* films were recorded properly,
> but it does get round the duplicate matching problem.
>
> 82,83d81
> < my $saved_star_rating;
> < my $saved_film_title;
> 363,366d360
> <
> < $saved_film_title     = "";
> < $saved_star_rating    = 0;
> <
> 462,485d443
> <
> <
> <       if ($film) {
> <               $episode = 1;
> <               #warn "$title = $saved_film_title ? , $saved_star_rating
> *'s";
> <               if ("$title" eq "$saved_film_title") {
> <                       $sub_title = "Part 2" if !(defined $sub_title);
> <                       $episode = 2;
> <
> <                       if (!defined($star_rating) && ($saved_star_rating
> >0)) {
> <                               $star_rating = $saved_star_rating;
> <                       }
> <               }
> <               else
> <               {
> <                       if (defined $star_rating) {
> <                               $saved_star_rating = $star_rating;
> <                               $saved_film_title = $title;
> <                               # warn "$saved_film_title < ,
> $saved_star_rating *'s<";
> <                       }
> <               }
> <       }
> <       for ($sub_title) { $p{'sub-title'} = [ [ $_ ] ] if defined }
> <
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>

Thats good for people that use xmltv, just to throw a spanner in the works
I only use EIT (or is it called EPG).

Personally I'd prefer for the frontend to do the "split film" detection,
at least you could turn it off if its incorrectly detected.

Stuart
-- 
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the safety
labels off of everything and let the problem solve itself?



More information about the mythtv-users mailing list