diff options
Diffstat (limited to 'rhimport-btl')
-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); |