diff options
author | Christian Pointner <equinox@helsinki.at> | 2012-09-04 15:48:07 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2012-09-04 15:48:07 (GMT) |
commit | 4339fab166441a8ebda37810a34543ce6a2ba6f3 (patch) | |
tree | 67a855ea565991c3e81b24cec93d347f2ca65fa7 | |
parent | e73fe00e57c029476cf729246d0a13747324e9d1 (diff) |
improved check for dn
-rwxr-xr-x | rhimport-dn | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rhimport-dn b/rhimport-dn index 5a9fae0..0f35ae7 100755 --- a/rhimport-dn +++ b/rhimport-dn @@ -101,7 +101,7 @@ my $file = ""; my $out_file = ""; for my $entry ($files_feed->entries) { if($entry->enclosure && $entry->enclosure->type eq "audio/mpeg") { - if($entry->id =~ /dn([0-9-]+)-static/) { + if($entry->id =~ /^dn([0-9-]+)-static$/) { next if($yc ne $1); my $ff = File::Fetch->new(uri => $entry->enclosure->url); |