On Thu, Oct 18, 2012 at 7:04 AM, Leon Merten Lohse <[email protected]> wrote: > Second try... > > What exactly is not working for you? I tried to feed your .cue to > cd-info and it behaved as expected. > There is a little quirk, though as there has to be a .bin sharing the > cue's basename.
You beat me to it. I was going to try this. I suppose the question is what my code is doing differently that it does not work which is why I included my function. My function appears to be pretty close to print_cdtext_track_info in cd-info.c Hmm. Do you have to call cdtext_select_language for cdtext_get_const to work? I will look at it more closely when I can. And yeah, I know there has to be a .bin file.... >> Also, there does not seem to be a unit test for getting cd-text from >> bin/cue which is perhaps why this was missed? > > There are some cue parsing tests, although they do not target the > cue/bin cdtext parsing algorithm alone. See test/check_cue.sh. I saw this as well. The cd-text tests should be added to this. It shouldn't be too hard. Rob
