summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--latest.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/latest.pl b/latest.pl
index 1e3a46e..f1d1aa9 100644
--- a/latest.pl
+++ b/latest.pl
@@ -29,6 +29,10 @@ sub process($){
if (! $epoch[0]) {
return 0;
}
+ $epoch[0] =~ /(\d+)/;
+ if ($1 < 4) {
+ return 0;
+ }
if (-e "output/" . $name . ".mp3") {
return 1;
}