Skip to content
This repository has been archived by the owner on May 9, 2020. It is now read-only.

broken charset in cue results in scary bash syntax errors #17

Open
ygrek opened this issue Feb 5, 2014 · 0 comments
Open

broken charset in cue results in scary bash syntax errors #17

ygrek opened this issue Feb 5, 2014 · 0 comments

Comments

@ygrek
Copy link

ygrek commented Feb 5, 2014

split2flac -p -f ogg Ноль\ \ -\ Лучшее\ CD1.\ Лучшее\ CD1.flac
Output format : OGG VORBIS (-q 10)
Output dir    : .
Cue sheet is not utf-8
Please enter the charset (or just press ENTER to ignore) > 
Cue sheet     : /home/ygrek/.split2flac_OINJO.cue
Cover image   : not set
Copy over     : Covers,covers,*.log,*.txt,*.jpg,*.cbr
/home/ygrek/bin/split2flac: 433: [: -lt: argument expected
Failed to get number of tracks from CUE sheet.
There may be an error in the sheet.
/home/ygrek/bin/split2flac: 123: printf: %N: invalid directive
Running cueprint -n 1 -t 5: syntax error
/home/ygrek/.split2flac_OINJO.cue: input file error

Finished

The problem comes from cueprint invocation and TRACKS_NUM becomes empty.
Example cue (in cp1251) : http://www.sendspace.com/file/lqbtw8
Specifying cp1251 explicitely solves the problem, just that the errors look very scary :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant