FS#37759 - [cuetools] cuetag.sh fails to parse CJK files
Attached to Project:
Community Packages
Opened by Adam (adam900710) - Thursday, 14 November 2013, 01:50 GMT
Last edited by Lukas Jirkovsky (6xx) - Tuesday, 31 December 2013, 11:11 GMT
Opened by Adam (adam900710) - Thursday, 14 November 2013, 01:50 GMT
Last edited by Lukas Jirkovsky (6xx) - Tuesday, 31 December 2013, 11:11 GMT
|
Details
Description:
cuetags.sh fails to parse files whose file name contains UTF-8 CJK codes Additional info: * package version(s) cuetools 1.4.0-1 * config and/or log files etc. bash -x /usr/bin/cuetags my_cue_file my_flac_files http://pastebin.com/pdrbeQiL cue_file was parsed correctly but even I only passed 2 files, it still recoginzed them as 3 files. Steps to reproduce: 1. Download a cue file which is UTF-8 encoded and has CJK codes and correspoding music(in my case, flacs) 2. Use cuetags my_cue_file my_flac_files |
This task depends upon
Closed by Lukas Jirkovsky (6xx)
Tuesday, 31 December 2013, 11:11 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in cuetools 1.4.0-2
Tuesday, 31 December 2013, 11:11 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in cuetools 1.4.0-2
------
FILES= FIELDS=
for arg in "$@"; do
case "$arg" in
*.*) FILES="$FILES $arg";;
*) FIELDS="$FIELDS $arg";;
esac
done
set -- $FILES <<< After setting $FILES as arguments, space in filename broke up the filename
if [ $# -ne $ntrack ]; then
echo "warning: number of files does not match number of tracks"
fi
------
Quick fix use bash array from myself.
At least it works now.