summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog6
-rwxr-xr-xrhautoimport-btl2
2 files changed, 7 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 75f502a..bed77e6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+rhautoimport (23-1) unstable; urgency=medium
+
+ * fix btl importer
+
+ -- Christian Pointner <equinox@helsinki.at> Thu, 22 Sep 2016 16:43:48 +0200
+
rhautoimport (22-1) unstable; urgency=medium
* get CBA api key from .netrc file
diff --git a/rhautoimport-btl b/rhautoimport-btl
index d8138dc..9f8dc47 100755
--- a/rhautoimport-btl
+++ b/rhautoimport-btl
@@ -89,7 +89,7 @@ print "ending of current broadcast cycle: " . Date::Calc::Date_to_Text(@broadcas
my $id = sprintf("%04d-%02d-%02d", @import_date);
my $bd = sprintf("%04d-%02d-%02d", @broadcast_date);
-my $bdfile = sprintf("%02d%02d%02d.*-btlv128\.mp3", $broadcast_date[0]%100, $broadcast_date[1], $broadcast_date[2]);
+my $bdfile = sprintf("%02d%02d%02d.*-btlv.*\.mp3", $broadcast_date[0]%100, $broadcast_date[1], $broadcast_date[2]);
print "looking for files like '$bdfile' in RSS Feed\n";
print " -> $RSS_URL\n";