HydrogenAudio

Hydrogenaudio Forum => General Audio => Topic started by: yenerich on 2011-10-18 18:08:17

Title: Id3 Tags as windows command line tool?
Post by: yenerich on 2011-10-18 18:08:17
Hello

Im looking for something like tag.exe, but i found that tag.exe has some bugs or limitations.
What i want to do is to copy the tags from one file (lets say an mp3) to a file in another format (acc, ogg, etc).
Also want to be able to read and write the tags.

As i have a large collection, i want to find a command line tool.

Please, if possible, point me to the right direction.
Title: Id3 Tags as windows command line tool?
Post by: vampirnata on 2011-11-08 15:06:02
I am not sure why you would want a command line tool as the GUI ones will do this much easier/faster.

Try MP3Tag or TagScanner (using this one now and it's growing on me)
Title: Id3 Tags as windows command line tool?
Post by: db1989 on 2011-11-09 10:19:21
If an automated GUI solution is a possibility, consider this the inevitable mention of foobar2000; it can copy metadata fields between two sets of files, provided they are arranged in equivalent order in two playlists.
Title: Id3 Tags as windows command line tool?
Post by: viktor on 2011-11-09 10:56:45
foobar2000.
Title: Id3 Tags as windows command line tool?
Post by: yenerich on 2011-11-09 12:17:50
Thnaks for all your replies.

I am looking for a windows command line solution, if there is any.

Why? Because i am a developer too and im planning to use it in a manager i am building for my own use.
Title: Id3 Tags as windows command line tool?
Post by: db1989 on 2011-11-09 19:14:15
Good to know. Unfortunately I can’t be of much help in that case. This question (both the general idea and the desire for something better than tag.exe) comes up quite frequently, but I don’t recall there being any program that decisively answers it. Hopefully that’s just my memory failing me!
Title: Id3 Tags as windows command line tool?
Post by: Kohlrabi on 2011-11-09 19:37:54
I don't know in what language you are planning to write your manager, but a google search will probably give you some results on tagging libraries for popular languages. For example you could use mutagen (Python 2.3+) (https://github.com/nex3/mutagen) to read and write tags using Python. I didn't test it so far, but the library looks clean and easy to use, and you could set up your own Python command line tool in short time (if you know some Python).


EDIT: Typos.
Title: Id3 Tags as windows command line tool?
Post by: viktor on 2011-11-09 19:58:41
Thnaks for all your replies.

I am looking for a windows command line solution, if there is any.

Why? Because i am a developer too and im planning to use it in a manager i am building for my own use.

so what's your problem with id3lib?
Title: Id3 Tags as windows command line tool?
Post by: Kohlrabi on 2011-11-09 20:18:23
so what's your problem with id3lib?

What i want to do is to copy the tags from one file (lets say an mp3) to a file in another format (acc, ogg, etc).
Also want to be able to read and write the tags.


Title: Id3 Tags as windows command line tool?
Post by: viktor on 2011-11-09 20:19:20
so what's your problem with id3lib?

What i want to do is to copy the tags from one file (lets say an mp3) to a file in another format (acc, ogg, etc).
Also want to be able to read and write the tags.


yes, so obviously add all the other required format's libs?
Title: Id3 Tags as windows command line tool?
Post by: alondon on 2011-11-10 17:20:28
Have you looked at this?

http://developer.kde.org/~wheeler/taglib.html (http://developer.kde.org/~wheeler/taglib.html)
Title: Id3 Tags as windows command line tool?
Post by: Juha on 2011-11-12 16:38:24
Long ago I did make a VBScript for this type usage (I had also feature which constructed music library based on tag information (create folders by artist/album etc.).
I couldn't find those scripts I made anymore but, still located the sources I got ideas from to start.

http://www.motobit.com/tips/detpg_change-id3-tags-script/ (http://www.motobit.com/tips/detpg_change-id3-tags-script/)
http://www.motobit.com/tips/detpg_list-id3-tags-script/ (http://www.motobit.com/tips/detpg_list-id3-tags-script/)

Juha