xmltv/grab/uk_rt tv_grab_uk_rt,1.38,1.39
Nick Morrott <[email protected]>
| Newsgroups | gmane.comp.tv.xmltv.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/xmltv/xmltv/grab/uk_rt
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv32313/grab/uk_rt
Modified Files:
tv_grab_uk_rt
Log Message:
Debug: Flag duplicate category fixups in supplement file. Ignore explicit reality fixups when listing reality programmes.
Index: tv_grab_uk_rt
===================================================================
RCS file: /cvsroot/xmltv/xmltv/grab/uk_rt/tv_grab_uk_rt,v
retrieving revision 1.38
retrieving revision 1.39
diff -C2 -d -r1.38 -r1.39
*** tv_grab_uk_rt 4 Jan 2015 01:27:12 -0000 1.38
--- tv_grab_uk_rt 9 Jan 2015 01:03:30 -0000 1.39
***************
*** 1480,1483 ****
--- 1480,1487 ----
}
my( $uncat_title, $cat ) = @fields;
+ if (exists $replacement_cats{$uncat_title}) {
+ t("[6] Duplicate category entry seen for title'" . $uncat_title . "'");
+ next PROG_TITLE_ENTRY;
+ }
$replacement_cats{$uncat_title} = $cat;
t("[6] Will assign title '" . $uncat_title . "' to category '" . $cat . "'");
***************
*** 2748,2752 ****
$uncategorised_progs{$prog->{'_title'}} = $prog->{'_title'};
}
! elsif ($prog->{'_genre'} =~ m/^Reality$/) {
$reality_progs{$prog->{'_title'}} = $prog->{'_title'};
}
--- 2752,2757 ----
$uncategorised_progs{$prog->{'_title'}} = $prog->{'_title'};
}
! # Track programmes categorised as reality, but ignore any that we have explicitly set
! elsif ($prog->{'_genre'} =~ m/^Reality$/ && ! exists $replacement_cats{$prog->{'_title'}}) {
$reality_progs{$prog->{'_title'}} = $prog->{'_title'};
}
------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net