Mdp

Mdp is a program for automatically setting music metadata for multiple files at once. It has a sparse command-line interface.

Dependencies

Download

I have a darcs repo on my (non-internet-connected) localhost.

Installation

make
then copy the binary («mdp«) and the man page (»mdp.1«) to their proper places in your path.

Usage

Create a text file where the first line is the artist name, the second line is the album name, and the other rows are the song titles.

If a particular track uses another artist than the one specified on the first line, you can add it to the beginning of that song title line, followed by the string " -/- ". The line should look like:
Special artist -/- Song name

It's fine to do this for all tracks, which is nice for »various artists«-type albums.

Then, just call mdp with the text file as it's first argument, and the songs (in order) as the following arguments. You need to specify the same number of song files as you have song title lines in your text file.

Please be mindful of character encoding issues in the text file. (Not important if you're only using standard American letters.)

Example:

% cd cranberries-wake_up_and_smell_the_coffee
% > /tmp/metadata
The Cranberries
Wake up and smell the coffee
Never grow old
Analyse
Time is ticking out
Dying inside
This is the day
The concept
Wake up and smell the coffee
Pretty eyes
I really hope
Every morning
Do you know
Carry on
Chocolate brown
Salvation (live)
Dolores O'Riordan -/- In the ghetto
% mdp /tmp/metadata *mp3

Mdp handles the same files that TagLib handles. This means (at least) oggs, mp3:s, mpc and flac.

It takes care of the tracknumbers for you automatically (by looking at the line number in the text file).

Planned features

Copyright

Public Domain Dedication
This software is dedicated to the Public Domain.

Authors

Mdp was written by the LNYC collective. Metaflac support was originally added by Blx.

FAQ

What does Mdp mean?
It means »metadata pariah«.
Is it Mdp or mdp?
Either is fine. The binary is called mdp.

Issues

Comments