Unified · Split
| @@ -155,6 +155,8 @@ fi · 154 unmodified lines | |||
| 155 | METAFLAC="metaflac --no-utf8-convert" | 155 | METAFLAC="metaflac --no-utf8-convert" |
| 156 | VORBISCOMMENT="vorbiscomment -R -a" | 156 | VORBISCOMMENT="vorbiscomment -R -a" |
| 157 | ID3TAG="id3tag -2" | 157 | ID3TAG="id3tag -2" |
| 158 | GETTAG="cueprint -n 1 -t" | ||
| 159 | VALIDATE="sed s/[^-[:space:][:alnum:]&_#,.'\"]//g" | ||
| 158 | 160 | ||
| 159 | # check & print output format | 161 | # check & print output format |
| 160 | msg_format="${cG}Output format :$cZ" | 162 | msg_format="${cG}Output format :$cZ" |
| @@ -262,9 +264,6 @@ split_file ( ) { · 101 unmodified lines | |||
| 262 | fi | 264 | fi |
| 263 | fi | 265 | fi |
| 264 | 266 | ||
| 265 | GETTAG="cueprint -n 1 -t" | ||
| 266 | VALIDATE="sed s/[^-[:space:][:alnum:]&_#,.'\"]//g" | ||
| 267 | |||
| 268 | # get common tags | 267 | # get common tags |
| 269 | TAG_ARTIST=$(${GETTAG} %P "${CUE}") | 268 | TAG_ARTIST=$(${GETTAG} %P "${CUE}") |
| 270 | TAG_ALBUM=$(${GETTAG} %T "${CUE}") | 269 | TAG_ALBUM=$(${GETTAG} %T "${CUE}") |