Changeset 33 for shepherd

Show
Ignore:
Timestamp:
10/06/06 06:14:56 (7 years ago)
Author:
lincoln
Message:

fix language tags in write_channel xml output, fix input_postprocess_file filename

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • shepherd

    r31 r33  
    128128my $channel_data = { }; 
    129129my $starttime, my $endtime; 
    130 my $input_postprocess_file = "$CWD/output_pre_postprocessors.xml"; 
     130my $input_postprocess_file = "$CWD/reconciled_output_pre_postprocessors.xml"; 
    131131my $insufficient_grabber_data = 0; 
    132132 
     
    554554 
    555555    my %writer_args = ( encoding => 'ISO-8859-1' ); 
    556     my $fh = new IO::File(">input_postprocess_file") || die "can't open outputfile $input_postprocess_file: $!"; 
     556    my $fh = new IO::File(">$input_postprocess_file") || die "can't open outputfile $input_postprocess_file: $!"; 
    557557    $writer_args{OUTPUT} = $fh; 
    558558    my $writer = new XMLTV::Writer(%writer_args); 
     
    561561 
    562562    for my $ch (sort keys %$channels) { 
    563         $writer->write_channel({'display-name' => [[ $ch, $langs ]], 'id' => $channels->{$ch}} ); 
     563        $writer->write_channel({'display-name' => [[ $ch, "en" ]], 'id' => $channels->{$ch}} ); 
    564564    } 
    565565