diff options
author | Christian Pointner <equinox@helsinki.at> | 2014-01-07 12:59:25 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2014-01-07 12:59:25 (GMT) |
commit | e621ef40089953059fe2c6564a53dc9d2829ef67 (patch) | |
tree | 27048607c151ec140f5424a87f1c87432a9cbc3d /rhimport-zf | |
parent | 404f8590978ccc678441a47395cb05a37805efc9 (diff) |
fixed index for rebroadcast/regular @ zip-fm
Diffstat (limited to 'rhimport-zf')
-rwxr-xr-x | rhimport-zf | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rhimport-zf b/rhimport-zf index 963ef7e..24c7ad7 100755 --- a/rhimport-zf +++ b/rhimport-zf @@ -125,9 +125,9 @@ for my $entry ($feed->entries) { if($#ARGV >= 0 && $ARGV[0] eq 'nopv') { print "not adding note to PV for regular entry - only for rebroadcast\n"; } else { - rhimport::pv_add_note($sum_title, $sum_text, $PV_ID, sprintf("%04d-%02d-%02d", @broadcast_day), "1"); + rhimport::pv_add_note($sum_title, $sum_text, $PV_ID, sprintf("%04d-%02d-%02d", @broadcast_day), "1", 1); } - rhimport::pv_add_note($sum_title, $sum_text, $PV_ID, sprintf("%04d-%02d-%02d", @rebroadcast_day), "2") unless $dow == 5; + rhimport::pv_add_note($sum_title, $sum_text, $PV_ID, sprintf("%04d-%02d-%02d", @rebroadcast_day), "2", 0) unless $dow == 5; print "\n"; unlink($NOTE_FILE); |