summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2013-07-21 08:29:33 (GMT)
committerChristian Pointner <equinox@helsinki.at>2013-07-21 08:29:33 (GMT)
commitf60bb31ae5ef922c1737604b37bbad12bc7f42f5 (patch)
tree3249c4982d329758f46759b73fc96aae9bbd6d09
parent496740d664e0b18674fc2338d88fbbce71b8328b (diff)
fixed btl importer
-rwxr-xr-xrhimport-btl2
1 files changed, 1 insertions, 1 deletions
diff --git a/rhimport-btl b/rhimport-btl
index 3101fc2..eee9285 100755
--- a/rhimport-btl
+++ b/rhimport-btl
@@ -98,7 +98,7 @@ my $feed = XML::Feed->parse(URI->new($RSS_URL))
my $file = "";
my $out_file = "";
for my $entry ($feed->entries) {
- if($entry->enclosure && $entry->enclosure->type eq "audio/mp3") {
+ if($entry->enclosure && ($entry->enclosure->type eq "audio/mpeg" || entry->enclosure->type eq "audio/mp3")) {
next unless $entry->enclosure->url =~ /$bdfile/;
my $sum_title = decode_entities($entry->title);