diff options
author | Christian Pointner <equinox@helsinki.at> | 2016-09-22 14:44:44 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2016-09-22 14:44:44 (GMT) |
commit | 1e7bc60785911882f44e4eb4033b1e553be8b378 (patch) | |
tree | d4b037db5e211b82593347ee9b149d8d234f5cc3 | |
parent | f7d4199a2053ca7bd1fcd8da60267c1fb030c72c (diff) |
btl only has 128kbit/s versions even if filename says '64'
-rw-r--r-- | debian/changelog | 6 | ||||
-rwxr-xr-x | rhautoimport-btl | 2 |
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"; |