diff options
author | Christian Pointner <equinox@helsinki.at> | 2013-08-22 14:08:19 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2013-08-22 14:08:19 (GMT) |
commit | f9c25e62594b0a7880a3bbb657370bd9bc04c503 (patch) | |
tree | cc715f2fb94911c0f84cc445f0d471cd12e6315e /rhimport-fe | |
parent | c8bf0b87ec673c759a4f4a6f34d9bf89a102cd82 (diff) |
added check for file size to focus europa
Diffstat (limited to 'rhimport-fe')
-rwxr-xr-x | rhimport-fe | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rhimport-fe b/rhimport-fe index 64d1aa5..c6fba81 100755 --- a/rhimport-fe +++ b/rhimport-fe @@ -114,6 +114,7 @@ my $out_file = ""; for my $entry ($feed->entries) { if($entry->enclosure && $entry->enclosure->type eq "audio/mpeg") { next unless $entry->enclosure->url =~ /$regexp/; + next unless $entry->enclosure->length >= (20*1024*1024); my $sum_title = decode_entities($entry->title); my $sum_text = decode_entities($entry->content->body); |