diff options
author | Christian Pointner <equinox@helsinki.at> | 2013-07-21 08:29:33 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2013-07-21 08:29:33 (GMT) |
commit | f60bb31ae5ef922c1737604b37bbad12bc7f42f5 (patch) | |
tree | 3249c4982d329758f46759b73fc96aae9bbd6d09 | |
parent | 496740d664e0b18674fc2338d88fbbce71b8328b (diff) |
fixed btl importer
-rwxr-xr-x | rhimport-btl | 2 |
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); |