summaryrefslogtreecommitdiff
path: root/rhimport-fe
diff options
context:
space:
mode:
Diffstat (limited to 'rhimport-fe')
-rwxr-xr-xrhimport-fe14
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);