diff options
author | Christian Pointner <equinox@helsinki.at> | 2013-07-05 14:52:26 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2013-07-05 14:52:26 (GMT) |
commit | fa1e54242a55e30606101183b7afede832e9f087 (patch) | |
tree | 5a1da2c8dbf7547858ab80eebf3d2ef2613362e2 /rhimport-fe | |
parent | 107b4172aafc5bed823f63e59b9aa6504127f923 (diff) |
added note update script for zip-fm and focus europa
Diffstat (limited to 'rhimport-fe')
-rwxr-xr-x | rhimport-fe | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/rhimport-fe b/rhimport-fe index bf62e2c..64d1aa5 100755 --- a/rhimport-fe +++ b/rhimport-fe @@ -46,7 +46,7 @@ my $STAT_FILE = $ENV{'HOME'} . "/rhimport-fe.stat"; my $NOTE_FILE = $ENV{'HOME'} . "/rhimport-fe.last_note"; my $NEW_FILE = $ENV{'HOME'} . "/rhimport-fe.is_new"; my $RSS_URL = "http://freie-radios.net/portal/podcast.php?serie=208&rss"; -my $PV_ID = '359'; +#my $PV_ID = '359'; binmode(STDIN, ":utf8"); binmode(STDOUT, ":utf8"); @@ -133,12 +133,12 @@ for my $entry ($feed->entries) { print "summary:\n" . $sum_title . "\n\n" . $sum_text . "\n"; - if($#ARGV >= 0 && $ARGV[0] eq 'nopv') { - print "not adding note to PV\n"; - } else { - rhimport::pv_add_note($sum_title, $sum_text, $PV_ID, sprintf("%04d-%02d-%02d", $import_day[0], $import_day[1], $import_day[2]), "1"); - } - print "\n"; + # if($#ARGV >= 0 && $ARGV[0] eq 'nopv') { + # print "not adding note to PV\n"; + # } else { + # rhimport::pv_add_note($sum_title, $sum_text, $PV_ID, sprintf("%04d-%02d-%02d", $import_day[0], $import_day[1], $import_day[2]), "1"); + # } + # print "\n"; unlink($NOTE_FILE); open(my $fhs, '>', $NOTE_FILE); |