Hi,
I'm trying to use shntool with flac arguments below but it won't do it.
I have flac.exe in the same dir.
shntool.exe split -f <cuefile> <flacfile> -t %n -o "flac flac --best --replay-gain %f"
shntool [split]: warning: discarding initial zero-valued split point
shntool [split]: warning: error while launching helper program: [--best]
Splitting [Requiem.flac] (54:52.04) --> [split-track01.flac] (7:46.68) : 0% ERROR
shntool [split]: error: could not open output file
It won't work passing parameter to flac.exe. It only works if splitting without flac.exe options
http://www.etree.org/shnutils/shntool/supp...doc/shntool.txt (http://www.etree.org/shnutils/shntool/support/doc/shntool.txt)
Tried this but didn't help.
Anyone?
according to shntool.txt it should be:
shntool.exe split -f <cuefile> <flacfile> -t %n -o "flac flac --best --replay-gain - %f"
Thanks lvqc
Still...
shntool [split]: warning: discarding initial zero-valued split point
Splitting [image.flac] (54:52.04) --> [01.flac] (7:46.68) : 0% ERROR
shntool [split]: warning: error while transferring 82362336 bytes of data
shntool [split]: warning: child encoder process 988 had non-zero exit status 1
shntool [split]: error: failed to split file
Try replacing double quotes with single quotes, as is described in the manual.
shntool.exe split -f <cuefile> <flacfile> -t %n -o 'flac flac.exe --best --replay-gain - %f'
same...
maybe it's a bug of the version build for windows
It's been a long time since I've used shntool, but I looked through some batch files I made for use with shntool and noticed that it included the following any time I was converting to flac:
"flac flac -8V -o %%f -"
Note the use of the '-o' switch, the double %, and that the %%f comes before the -
Hopefully modifying that to suit your needs will solve the problem.
Note the use of the '-o' switch
!!!
the double %
AFAIK it's necessary only for commands inside batch files.
and that the %%f comes before the -
I don't think it's important.
Well,
shntool.exe split -f <cuefile> <flacfile> -t %n -o "flac flac -8V --replay-gain -o %%f -"
won't work
shntool.exe split -f <cuefile> <flacfile> -t %n -o "flac flac --best -o %%f -"
works...
turns out that shntool won't pass parameters to flac.exe
Does't matter if I pass --fast or --better it won't pass the parameter ahead.