Changeset 988 for trunk/grabbers/oztivo

Show
Ignore:
Timestamp:
12/20/07 03:12:21 (5 years ago)
Author:
paul
Message:

oztivo: reduce warnings due to space in <desc> </desc> and <actor><actor>
empty string for with-lang value at /usr/share/perl5/XMLTV.pm line 1689, <> line 2.
skipping bad desc
credits element: not writing empty content for actor at /usr/share/perl5/XMLTV.pm line 2081, <> line 2.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/grabbers/oztivo

    r983 r988  
    33# OzTivo grabber 
    44 
    5 my $version = '1.19'; 
     5my $version = '1.20'; 
    66 
    77# Requires configuration! 
     
    208208 
    209209    # oztivo generates blank data for these fields - skip if blank 
    210     next if ($line =~ /<director><\/director>/); 
    211     next if ($line =~ /<desc><\/desc>/); 
    212210    next if ($line =~ /^\s*$/); 
     211    next if ($line =~ /<desc>\s*<\/desc>/); 
     212    next if ($line =~ /<actor>\s*<\/actor>/); 
     213    next if ($line =~ /<director>\s*<\/director>/); 
    213214 
    214215    # more oztivo weirdness. filter out 0/10 star-ratings