summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjules on spawn <spawn@cortex>2018-04-10 15:10:24 +0200
committerjules on spawn <spawn@cortex>2018-04-10 15:10:24 +0200
commitf3d8faecdcf0de97e8027ca9d80315b58fab700a (patch)
treed4009645d06885cc34d53d70ec47e8458100dfd7
parent6690a335a13a2cb07e78a5c48b8b838de44e3283 (diff)
ignore results that are insufficiently trained
-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;
}