HydrogenAudio

Hydrogenaudio Forum => General Audio => Topic started by: geohuz on 2010-08-14 03:23:42

Title: Searching for a tool to auto generate cue file from the embedded audio
Post by: geohuz on 2010-08-14 03:23:42
I'm planning to move to the XBMC for my music server solution from the Foobar2000, but the problem is, I have many single/multiple audio files (APE/FLAC) with cue sheet embedded, the reason I make them embedded is for simplify purpose and to avoid the double library items in the Foobar2000. However, the XBMC doesn't seem to like the embedded cue sheet, it is so sad for me to have to enter into each of my directory and re-generate the cue sheet file from Foobar2000. Is there any tool (command line) which I can employ and run it in a batch mode? The CueProc seems promising but I can't figure out a way to use it in this way.
Title: Searching for a tool to auto generate cue file from the embedded audio
Post by: Synthetic Soul on 2010-08-14 14:18:56
You should be able to use my version of Tag (http://synthetic-soul.co.uk/tag/) to export the cue sheet of an .ape or .flac (if it is just using a CUESHEET tag) file.

You would use one of the following:
Code: [Select]
 --tocue <scheme>  : output cuesheet tag to file, name generated from <scheme>
--tocuen <name>   : output cuesheet tag to file <name>
--tocuea          : output cuesheet tag to file, name generated from source

E.g.:

Code: [Select]
TAG.EXE --tocuea myfile.ape

... should result in myfile.ape.cue (or myfile.cue, I can't remember!) in the source folder.

Used in conjunction with FOR /R you could process all files in a folder and its subfolders.

NB: This assumes that you've used a tag called "CUESHEET".  If you haven't you could try:

Code: [Select]
 --tostdoutn <tag> : write <tag> value to stdout

E.g.:

Code: [Select]
TAG.EXE --tostdoutn CUE --hideinfo --hidetags --hidenames myfile.ape>myfile.ape.cue

This thread (http://www.hydrogenaudio.org/forums/index.php?showtopic=45327) may be of some further use (I knew I'd written out an tostdoutn example before, at least once).

I can't remember whether CueProc or ACDIR would help in this situation, I think they will just use embedded cue sheets to pass to an encoder, but I'm not sure.
Title: Searching for a tool to auto generate cue file from the embedded audio
Post by: geohuz on 2010-08-22 13:11:12
This is great! Thanks a lot! I will give it a go and will see if I have any question there.