Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Command line help needed (Read 5181 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Command line help needed

I'm using bat files to create flac files, and although I never cared about proper tagging, I'm finally trying to get things right.
But because I can't find any documentation about it, at least not in my language (Dutch), I desperately trying to get some help here.
There are probably better ways to do this, but I'm just old fashioned 

Usually I use something like this to convert wav-files to flac (using a batch file, and sometimes using the command line)

MAKEFLAC.BAT (filename)
flac -8 --picture=front.jpg "Track 01.wav"
flac -8 --picture=front.jpg "Track 02.wav"
flac -8 --picture=front.jpg "Track 03.wav"
flac -8 --picture=front.jpg "Track 04.wav"
flac -8 --picture=front.jpg "Track 05.wav"
flac -8 --picture=front.jpg "Track 06.wav"
flac -8 --picture=front.jpg "Track 07.wav"
flac -8 --picture=front.jpg "Track 08.wav"

Strange enough, I know how to include album art, but how do I get Artist, TrackTitle, Tracknumber, Albumtitle, Year, and Genre in the file?
Thanks in advance.

Command line help needed

Reply #1
I find it odd that you would have wav files at all. Are these files that you ripped yourself, and if so, why didn't you rip directly to flac or some other file format that the ripper could tag for you?

Command line help needed

Reply #2
You sir, are making things hard for yourself

Foobar2000 can batch convert them all for you, you can add tags with it, too.
For a more advanced and easier to use tagging app i recommend Mp3Tag.
Foobar can be installed portably (on a thumbdrive), Mp3Tag unfortunately can't.


But if you absolutely want command line...

You add something like this:
-T "title=TRACKTITLE" -T "artist=TRACKARTIST"

Replace the words in caps with your own.

Command line help needed

Reply #3
If those WAV files were ripped from CD, try CUETools.
With a few clicks, it will automatically pull metadata from MusicBraniz/FreeDB, allow you to encode to one of your favorite formats, automatically write tags and cuesheet, and even checks with AccurateRip.
No need to write batch files or something.



Command line help needed

Reply #6
You sir, are making things hard for yourself

Foobar2000 can batch convert them all for you, you can add tags with it, too.
For a more advanced and easier to use tagging app i recommend Mp3Tag.
Foobar can be installed portably (on a thumbdrive), Mp3Tag unfortunately can't.


But if you absolutely want command line...

You add something like this:
-T "title=TRACKTITLE" -T "artist=TRACKARTIST"

Replace the words in caps with your own.


Thanks man, this is really helpful. 
I've got lots of recordings which are not from cd, like live recordings from FM radio, digitized vinyl, and even some digitized cassette tapes,
so I can't let EAC do the job.

It's all working pretty well as I want it right now, (in a batch file) except I can't seem to get the total number of tracks in the tag.
And what are all the possible field values, like TITLE, ARTIST etc. ?

 

Command line help needed

Reply #7
FLAC uses Vorbis Comments for tagging, which means you can use pretty much anything you want as a field value.
Xiph.org's Specification for Vorbis Comments proposes a few tags about halfway down the page.
That list is missing a few tags that i think have become pretty popular, such as 'comment', 'totaltracks', 'discnumber' and 'totaldiscs'.