How to split big flac file int tracks and fill the id3 tag?

6

7

I have a music album, but whole album is in single flac file and tracks are listed in cue file. So I'd like to split it into tracks, but also fill the id3 tags and name files by track name.

kravemir

Posted 2011-12-17T11:52:55.790

Reputation: 2 447

Answers

9

Install reaquired packages on Debian (Ubuntu):

sudo apt-get install cuetools shntool flac

Split flac file and fill id3 tags:

cuebreakpoints sample.cue | shnsplit -o flac sample.flac
cuetag sample.cue split-track*.flac

Some systems has cuetag.sh instead of cuetag.

AnotherOneAckap

Posted 2011-12-17T11:52:55.790

Reputation: 106

5Can you explain what these commands do? Not everyone knows what these commands are or how to use them. – bwDraco – 2012-03-31T11:31:15.753

1They're installed with cuetools. Read the man page. – Rob – 2012-04-08T17:19:52.343

shnsplit, which takes a single audio file and provides a mechanism for splitting and transcoding it, can actually read cue files directly. -f specifies the split point source, -o specifies the output format. cuetag on the other hand, automatically runs the appropriate tagging program for a given format based on the content of a cue file. Since id3 tags were specified in the question, one could change -o flac to -o mp3, and use cuetag sample.cue split-track*.mp3 instead. – Jeremy Sturdivant – 2012-10-14T15:50:01.760