Sorry - I've done it again!  After a bit more digging, I think I've
answered my own question.  I've found one way of doing this.

The following command will import the CUE sheet into the CUESHEET field
(so that the track names and details are stored) and will also set the
start points of each track.  The resulting file seems to open correctly
in FOOBAR, with the tracks correctly identified and tagged.  I haven't
checked for correct operation in slimserver yet though.

It seems as though it's useful to first of all remove all the metadata
blocks from the flac file, using METAFLAC --remove-all

Then type:

METAFLAC --set-tag-from-file="CUESHEET=test.cue"
--import-cuesheet-from="test.cue" test.flac

This can all be automated into a batch file, eg 'embed.bat' as follows
(assuming the CUE sheet has the same name as the flac file):

METAFLAC --remove-all %1.flac
METAFLAC --set-tag-from-file="CUESHEET=%1.cue"
--import-cuesheet-from="%1.cue" %1.flac

To run this batch file, one would simply issue the following command
from a command prompt:
EMBED test
The full path to the 'test' files could be included if necessary.

I think it is probably also possible to export the CUE sheet
information into a Vorbis comments file, and then import these into
vorbis tags in the FLAC file, but the above method seems to work just
as well.  Does anyone know what the pros and cons of each method are?


-- 
chill
------------------------------------------------------------------------
chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=34114

_______________________________________________
ripping mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/ripping

Reply via email to