From f60bb31ae5ef922c1737604b37bbad12bc7f42f5 Mon Sep 17 00:00:00 2001
From: Christian Pointner <equinox@helsinki.at>
Date: Sun, 21 Jul 2013 08:29:33 +0000
Subject: fixed btl importer


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);
-- 
cgit v0.10.2