diff options
| author | jules on spawn <spawn@cortex> | 2018-04-10 10:45:47 +0200 |
|---|---|---|
| committer | jules on spawn <spawn@cortex> | 2018-04-10 10:45:47 +0200 |
| commit | 05401dc3db9414986a2a1477e1e5fa08778da45c (patch) | |
| tree | d0780a942ada960c062c832911b7aa9fef2b5a8e /latest.pl | |
| parent | 001c18201e06b0740b8aff7d7a613bb1dcb93553 (diff) | |
latest renders with -l, get.pl to wget from asdf.us
Diffstat (limited to 'latest.pl')
| -rw-r--r-- | latest.pl | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -26,14 +26,20 @@ sub process($){ my @epoch = split("-", $ep); $name .= "-" . $epoch[0]; + if (! $epoch[0]) { + return 0; + } if (-e "output/" . $name . ".mp3") { return 1; } print $name . "\n"; - if ($opt_l) { + if (!$opt_l) { return 0; } + print "\n"; + print "_______________________________________________________________\n"; + print "\n"; system('/bin/bash', 'mix.sh', $path, $name); return 0; } |
