From e68f1ffd419d7c38ac12505ccd8e5bd1a29b6fa8 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Thu, 19 Jan 2017 13:54:05 +0100 Subject: added link to import web interface after 'manual' reminder diff --git a/rhautoimport-btl b/rhautoimport-btl index 9f8dc47..0e34541 100755 --- a/rhautoimport-btl +++ b/rhautoimport-btl @@ -120,6 +120,7 @@ for my $entry ($feed->entries) { } if(!rhautoimport::check_file_extension($file)) { print "\n\nThe extension of the matching file '". $file . "' seems to be wrong - manual import necessary!!!\n"; + print "\n\n --> https://import.helsinki.at/shows/$show_id\n"; exit 1; } @@ -134,6 +135,7 @@ if($uri eq "") { print "No Entry found for " . Date::Calc::Date_to_Text(@broadcast_date) . " - "; if($LAST_RUN) { print "giving up, manual import necessary!!!\n"; + print "\n\n --> https://import.helsinki.at/shows/$show_id\n"; } else { print "will retry later\n"; } diff --git a/rhautoimport-dn b/rhautoimport-dn index b29ef1a..36534c1 100755 --- a/rhautoimport-dn +++ b/rhautoimport-dn @@ -124,6 +124,7 @@ for my $entry ($files_feed->entries) { $file = $path[-1]; if(!rhautoimport::check_file_extension($file)) { print "\n\nThe extension of the matching file '". $file . "' seems to be wrong - manual import necessary!!!\n"; + print "\n\n --> https://import.helsinki.at/shows/$show_id\n"; exit 1; } @@ -135,6 +136,7 @@ if($uri eq "") { print "No Entry found from day in question - "; if($LAST_RUN) { print "giving up, manual import necessary!!!\n"; + print "\n\n --> https://import.helsinki.at/shows/$show_id\n"; } else { print "will retry later\n"; } diff --git a/rhautoimport-er b/rhautoimport-er index dca673e..74d6ab1 100755 --- a/rhautoimport-er +++ b/rhautoimport-er @@ -145,6 +145,7 @@ for my $entry ($feed->entries) { if(!rhautoimport::check_file_extension($file)) { print "\n\nThe extension of the matching file '". $file . "' seems to be wrong - manual import necessary!!!\n"; + print "\n\n --> https://import.helsinki.at/shows/$show_id\n"; exit 1; } @@ -157,6 +158,7 @@ if($uri eq "") { print "No Entry for #$broadcast_num (there are no new shows available) - "; if($LAST_RUN) { print "giving up, manual import necessary!!!\n"; + print "\n\n --> https://import.helsinki.at/shows/$show_id\n"; } else { print "will retry later\n"; } diff --git a/rhautoimport-eu b/rhautoimport-eu index af23d87..1aeaddc 100755 --- a/rhautoimport-eu +++ b/rhautoimport-eu @@ -136,6 +136,7 @@ for my $entry ($feed->entries) { } if(!rhautoimport::check_file_extension($file)) { print "\n\nThe extension of the matching file '". $file . "' seems to be wrong - manual import necessary!!!\n"; + print "\n\n --> https://import.helsinki.at/shows/$show_id\n"; exit 1; } @@ -145,6 +146,7 @@ if($uri eq "") { print "No Entry found from $bd - "; if($LAST_RUN) { print "giving up, manual import necessary!!!\n"; + print "\n\n --> https://import.helsinki.at/shows/$show_id\n"; } else { print "will retry later\n"; } diff --git a/rhautoimport-fl b/rhautoimport-fl index 2b8cea0..ccf1659 100755 --- a/rhautoimport-fl +++ b/rhautoimport-fl @@ -152,6 +152,7 @@ for my $entry ($feed->entries) { if(!rhautoimport::check_file_extension($file)) { print "\n\nThe extension of the matching file '". $file . "' seems to be wrong - manual import necessary!!!\n"; + print "\n\n --> https://import.helsinki.at/shows/$show_id\n"; exit 1; } @@ -164,6 +165,7 @@ if($uri eq "") { print "No Entry for $last_broadcast (there are no new shows available) - "; if($LAST_RUN) { print "giving up, manual import necessary!!!\n"; + print "\n\n --> https://import.helsinki.at/shows/$show_id\n"; } else { print "will retry later\n"; } diff --git a/rhautoimport-nw b/rhautoimport-nw index ffd3316..20dbb73 100755 --- a/rhautoimport-nw +++ b/rhautoimport-nw @@ -133,6 +133,7 @@ for my $entry ($feed->entries) { } if(!rhautoimport::check_file_extension($file)) { print "\n\nThe extension of the matching file '". $file . "' seems to be wrong - manual import necessary!!!\n"; + print "\n\n --> https://import.helsinki.at/shows/$show_id\n"; exit 1; } @@ -148,6 +149,7 @@ if($uri eq "") { print "No Entry found from $bd - "; if($LAST_RUN) { print "giving up, manual import necessary!!!\n"; + print "\n\n --> https://import.helsinki.at/shows/$show_id\n"; } else { print "will retry later\n"; } @@ -194,6 +196,8 @@ if($ret == 0) { print $log; print "\n\nNot adding PV note!!"; print "\n\nSince the import for the regular broadcast went through we will not retry this import!!!"; + print "\nYou need to manually import the rebroadcast."; + print "\n\n --> https://import.helsinki.at/shows/$show_id_reb\n"; $exit_code = 23; } } else { diff --git a/rhautoimport-oi b/rhautoimport-oi index 274ad9d..0829475 100755 --- a/rhautoimport-oi +++ b/rhautoimport-oi @@ -122,6 +122,7 @@ for my $entry ($feed->entries) { if(!rhautoimport::check_file_extension($file)) { print "\n\nThe extension of the matching file '". $file . "' seems to be wrong - manual import necessary!!!\n"; + print "\n\n --> https://import.helsinki.at/shows/$show_id\n"; exit 1; } @@ -135,6 +136,7 @@ if($uri eq "") { print "No Entry found with #" . $broadcast_num . " - "; if($LAST_RUN) { print "giving up, manual import necessary!!!\n"; + print "\n\n --> https://import.helsinki.at/shows/$show_id\n"; } else { print "will retry later\n"; } diff --git a/rhautoimport-po b/rhautoimport-po index 30812c9..fe8b6ab 100755 --- a/rhautoimport-po +++ b/rhautoimport-po @@ -156,6 +156,7 @@ for my $entry ($feed->entries) { } if(!rhautoimport::check_file_extension($file)) { print "\n\nThe extension of the matching file '". $file . "' seems to be wrong - manual import necessary!!!\n"; + print "\n\n --> https://import.helsinki.at/shows/$show_id\n"; exit 1; } @@ -171,6 +172,7 @@ if($uri eq "") { print "No Entry found from $bd - "; if($LAST_RUN) { print "giving up, manual import necessary!!!\n"; + print "\n\n --> https://import.helsinki.at/shows/$show_id\n"; } else { print "will retry later\n"; } diff --git a/rhautoimport-ra b/rhautoimport-ra index 5fc45da..b6e49db 100755 --- a/rhautoimport-ra +++ b/rhautoimport-ra @@ -131,6 +131,7 @@ for my $entry ($feed->entries) { } if(!rhautoimport::check_file_extension($file)) { print "\n\nThe extension of the matching file '". $file . "' seems to be wrong - manual import necessary!!!\n"; + print "\n\n --> https://import.helsinki.at/shows/$show_id\n"; exit 1; } @@ -144,6 +145,7 @@ if($uri eq "") { print "No Entry found from $bd - "; if($LAST_RUN) { print "giving up, manual import necessary!!!\n"; + print "\n\n --> https://import.helsinki.at/shows/$show_id\n"; } else { print "will retry later\n"; } @@ -190,6 +192,8 @@ if($ret == 0) { print $log; print "\n\nNot adding PV note!!"; print "\n\nSince the import for the regular broadcast went through we will not retry this import!!!"; + print "\nYou need to manually import the rebroadcast."; + print "\n\n --> https://import.helsinki.at/shows/$show_id_reb\n"; $exit_code = 23; } } else { diff --git a/rhautoimport-rs b/rhautoimport-rs index 7293b3f..9e3f6e5 100755 --- a/rhautoimport-rs +++ b/rhautoimport-rs @@ -173,6 +173,7 @@ for my $entry ($feed->entries) { } if(!rhautoimport::check_file_extension($file)) { print "\n\nThe extension of the matching file '". $file . "' seems to be wrong - manual import necessary!!!\n"; + print "\n\n --> https://import.helsinki.at/shows/$show_id\n"; exit 1; } @@ -188,6 +189,7 @@ if($uri eq "") { print "No Entry found from $bd - "; if($LAST_RUN) { print "giving up, manual import necessary!!!\n"; + print "\n\n --> https://import.helsinki.at/shows/$show_id\n"; } else { print "will retry later\n"; } diff --git a/rhautoimport-tr b/rhautoimport-tr index a1aa235..e7db372 100755 --- a/rhautoimport-tr +++ b/rhautoimport-tr @@ -127,6 +127,7 @@ for my $entry ($feed->entries) { } if(!rhautoimport::check_file_extension($file)) { print "\n\nThe extension of the matching file '". $file . "' seems to be wrong - manual import necessary!!!\n"; + print "\n\n --> https://import.helsinki.at/shows/$show_id\n"; exit 1; } @@ -142,6 +143,7 @@ if($uri eq "") { print "No Entry found from $bd - "; if($LAST_RUN) { print "giving up, manual import necessary!!!\n"; + print "\n\n --> https://import.helsinki.at/shows/$show_id\n"; } else { print "will retry later\n"; } diff --git a/rhautoimport-wr b/rhautoimport-wr index 89f5480..2765b9b 100755 --- a/rhautoimport-wr +++ b/rhautoimport-wr @@ -151,6 +151,7 @@ for my $entry ($feed->entries) { } if(!rhautoimport::check_file_extension($file)) { print "\n\nThe extension of the matching file '". $file . "' seems to be wrong - manual import necessary!!!\n"; + print "\n\n --> https://import.helsinki.at/shows/$show_id\n"; exit 1; } @@ -166,6 +167,7 @@ if($uri eq "") { print "No Entry found from $bd - "; if($LAST_RUN) { print "giving up, manual import necessary!!!\n"; + print "\n\n --> https://import.helsinki.at/shows/$show_id\n"; } else { print "will retry later\n"; } -- cgit v0.10.2