From 16319e417efed59d8918284a23d1ae8343f5586c Mon Sep 17 00:00:00 2001
From: Christian Pointner <equinox@helsinki.at>
Date: Wed, 18 Sep 2019 12:18:32 +0200
Subject: update ba importer


diff --git a/INFO b/INFO
index b6998aa..ab02852 100644
--- a/INFO
+++ b/INFO
@@ -144,6 +144,6 @@
    https://cba.fro.at/series/barrierefrei-aufgerollt/feed
 
    Original: erster Sonntag im Monat
-   Upload: oft am selben tag, manchmal bis zu 2 Wochen später...
+   Upload: "wir versuchen zwischen Montag und Mittwoch hochzuladen"
    Such-Kriterium: cba:broadcastDate wenn gesetzt sonst cba:productionDate
    RH: 4wöchentlich, Woche 2, Freitag, 16:30-17:00
diff --git a/debian/changelog b/debian/changelog
index aaeddb3..90ea7d2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+rhautoimport (58-1) unstable; urgency=medium
+
+  * configure upload delay for ba
+
+ -- Christian Pointner <equinox@helsinki.at>  Wed, 18 Sep 2019 12:17:38 +0200
+
 rhautoimport (57-1) unstable; urgency=medium
 
   * added onda-info rebroadcast
diff --git a/rhautoimport-ba b/rhautoimport-ba
index 064dd7f..0a53a09 100755
--- a/rhautoimport-ba
+++ b/rhautoimport-ba
@@ -42,7 +42,7 @@ my $RD_GROUP = "baufgeroll";
 my $PV_ID = '774';
 my $TITLE = "barrierefrei aufgerollt";
 my $LAST_RUN = 0;
-my $upload_delay_days = 0;   # files are usally there on the same day - sometimes much later!!
+my $upload_delay_days = 3;   # "we try to upload between Monday and Wednesday after the Show"
 
 binmode(STDIN, ":utf8");
 binmode(STDOUT, ":utf8");
-- 
cgit v0.10.2