diff options
author | Jonas Smedegaard <dr@jones.dk> | 2014-09-30 12:26:01 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2014-09-30 12:26:01 +0200 |
commit | 4c01f159cb3d7cb961cbe85d200d1d25386989e4 (patch) | |
tree | 57faa517e22eafd3aca8924fa9ac4d1d9df95609 | |
parent | 8bfcd96c580f5cbfec2f25021451184638caa8f7 (diff) |
Fix resolve first (not last) input.
-rwxr-xr-x | localvideowebencode | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/localvideowebencode b/localvideowebencode index f3e80a7..8befac3 100755 --- a/localvideowebencode +++ b/localvideowebencode @@ -156,7 +156,7 @@ melt_recent=$(melt -query filter=loudness | grep -qi R128 && echo yes) # sanitize infiles infiles=$* -infile_first=$(perl -e 'print pop @ARGV' $infiles) +infile_first=$(perl -e 'print shift @ARGV' $infiles) [ -e "$infile_first" ] || exit1 "Cannot read first input file \"$infile_first\"!" # resolve stem and title (if not explicitly set) |