Changeset 48

Show
Ignore:
Timestamp:
10/08/06 22:26:29 (7 years ago)
Author:
lincoln
Message:

SBS news support for d1 + quieten down being called with debug enabled

Files:
2 modified

Legend:

Unmodified
Added
Removed
  • grabbers/d1

    r47 r48  
    66=head1 NAME 
    77 
    8 tv_grab_au (0.6.2.2) - Grab TV listings for Australia. 
     8tv_grab_au (0.6.2.3) - Grab TV listings for Australia. 
    99 
    1010=head1 SYNOPSIS 
     
    117117use XMLTV::Usage <<END 
    118118 
    119 $0 (0.6.2.2): grab Australian television listings in XMLTV format 
     119$0 (0.6.2.3): grab Australian television listings in XMLTV format 
    120120To configure: $0 --configure [--config-file FILE] 
    121121To grab listings: $0 [--config-file FILE] [--output FILE] [--days N] 
     
    179179 
    180180# set user-agent manually 
    181 $XMLTV::Get_nice::ua->agent("tv_grab_au/0.6.2.2"); 
     181$XMLTV::Get_nice::ua->agent("tv_grab_au/0.6.2.3"); 
    182182 
    183183my ($opt_days, $opt_offset, $opt_help, $opt_output, 
     
    243243my $proc_time = ParseDate('now'); 
    244244 
    245 print "d1 v0.6.2.2  tv_grab_au\n"; 
     245print "d1 v0.6.2.3  tv_grab_au\n"; 
    246246printf "d1 grabs tv guide data from Development 1 Australia (www.d1.com.au).\n" if $opt_desc; 
    247247exit(0) if ($opt_version || $opt_desc); 
    248248 
    249249if (($opt_channels_file) && ($opt_region) && ($opt_output)) { 
     250  printf "called from shepherd!\n"; 
     251  $opt_debug = 0; # hack - shepherd calls with --debug which is noisy in here 
    250252  # called from shepherd! 
    251253  if ($opt_timezone) { 
     
    296298        elsif ($chan eq "ABC2")         { $chan_name .= "2-2"; } 
    297299        elsif ($chan eq "SBS")          { $chan_name .= "SBS"; } 
     300        elsif ($chan eq "SBS News")     { $chan_name .= "SBS-2"; } 
    298301        elsif ($chan eq "Seven")        { $chan_name .= "7"; } 
    299302        elsif ($chan eq "Nine")         { $chan_name .= "9"; } 
  • status

    r47 r48  
    66yahoo7widget:1.53:grabber 
    77jrobbo:0.01:grabber 
    8 d1:0.6.2.2:grabber 
     8d1:0.6.2.3:grabber