Changeset 395
- Timestamp:
- 12/30/06 16:25:19 (6 years ago)
- Files:
-
- 2 modified
-
reconcilers/reconciler_mk2 (modified) (4 diffs)
-
status (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
reconcilers/reconciler_mk2
r314 r395 95 95 96 96 my $progname = "reconciler_mk2"; 97 my $version = "0.1 6";97 my $version = "0.17"; 98 98 99 99 use LWP::UserAgent; 100 100 use Time::HiRes qw(gettimeofday tv_interval); 101 101 use XMLTV; 102 use XMLTV::ProgressBar;103 102 use POSIX qw(strftime mktime); 104 103 use Getopt::Long; 105 use HTML::TreeBuilder;106 104 use Data::Dumper; 107 105 use Compress::Zlib; 108 use Cwd;109 106 110 107 #### reconciler settings #### … … 135 132 # always rewrite XMLTV 'start' & 'stop', removing timezone 136 133 $reclogic{always_rewrite_start_stop_without_timezone} = 1; 134 135 # add channels from data sources that we don't have in our channels.conf 136 $reclogic{always_add_new_channels} = 0; # don't 137 137 138 138 # when we have a title with a ": " in the middle but no subtitle, split … … 218 218 219 219 my $opt = { }; 220 $opt->{output_file} = cwd()."/output.xmltv";221 $opt->{config_file} = cwd()."/".$progname.".config";222 $opt->{log_file} = cwd()."/".$progname.".log";223 $opt->{alt_title_file} = cwd()."/".$progname.".alt_title.log";220 $opt->{output_file} = "output.xmltv"; 221 $opt->{config_file} = $progname.".config"; 222 $opt->{log_file} = $progname.".log"; 223 $opt->{alt_title_file} = $progname.".alt_title.log"; 224 224 $opt->{lang} = "en"; 225 225 … … 873 873 my $chan = $c->{id}; 874 874 my %chan_lang; 875 876 # only add this channel if $reclogic{always_add_new_channels} is set 877 if ((!defined $in->{channels}->{$chan}) && (!$reclogic{always_add_new_channels})) { 878 &log($reclogic{warn_on_unknown_channel},(sprintf "WARNING: channel '%s' from file \"%s\" not in channels.conf; ignored.", $chan, $datafile)); 879 $stats{ignored_unknown_channel}++; 880 return; 881 } 875 882 876 883 if (defined $c->{'display-name'} && defined $c->{'display-name'}->[0]) { -
status
r394 r395 10 10 grabber ninemsn 0.03 11 11 grabber yahoo7web 0.03 12 reconciler reconciler_mk2 0.1 612 reconciler reconciler_mk2 0.17 13 13 postprocessor imdb_augment_data 0.06 14 14 postprocessor augment_timezone 0.04
