|
Lines 223-235
Link Here
|
| 223 |
$msg "${cP}Configuration saved$cZ\n" |
223 |
$msg "${cP}Configuration saved$cZ\n" |
| 224 |
fi |
224 |
fi |
| 225 |
|
225 |
|
| 226 |
# use flake if possible |
226 |
# use flake if possible |
| 227 |
which flake &>/dev/null && FLAC_ENCODER="flake" || FLAC_ENCODER="flac" |
227 |
which flake 2>&- >&- && FLAC_ENCODER="flake" || FLAC_ENCODER="flac" |
| 228 |
|
228 |
|
| 229 |
METAFLAC="metaflac --no-utf8-convert" |
229 |
METAFLAC="metaflac --no-utf8-convert" |
| 230 |
VORBISCOMMENT="vorbiscomment -R -a" |
230 |
VORBISCOMMENT="vorbiscomment -R -a" |
| 231 |
which mid3v2 &>/dev/null && ID3TAG="mid3v2" || ID3TAG="id3tag -2" |
231 |
which mid3v2 2>&- >&- && ID3TAG="mid3v2" || ID3TAG="id3tag -2" |
| 232 |
MP4TAGS="mp4tags" |
232 |
MP4TAGS="mp4tags" |
| 233 |
GETTAG="cueprint -n 1 -t" |
233 |
GETTAG="cueprint -n 1 -t" |
| 234 |
VALIDATE="sed s/[^][[:space:][:alnum:]&_#,.'\"\(\)!-]//g" |
234 |
VALIDATE="sed s/[^][[:space:][:alnum:]&_#,.'\"\(\)!-]//g" |
| 235 |
|
235 |
|