beatgammit / mediatags

Generates JSON from ID3 tags

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MediaTags

A collection of tools to output unabstracted tag information as JSON and (in the future) ProtoBuf formats.

id3tags

Usage:

./id3tags /path/to/my/song.mp3
find /path/to/my/music/ -name *.mp3 -exec ./id3tags {} \;

Building

cd mediatags
make

Dependencies

The id3lib by Dirk Mahoney (as opposed to the others of similar name)

  • id3lib-3.8.3 - you know it's the right one because of the 3.8.3 and if the contents match
    • /usr/lib/libid3.a
    • /usr/lib/libid3.so
    • /usr/include/id3/tag.h
  • zlib

Mac OS X:

# ??? this doesn't seem to install anything
sudo port install id3lib

Ubuntu:

# libid3-3.8.3-dev
sudo apt-get install libid3-dev

OpenEmbedded:

bitbake libid3
# should produce packages in `${OE_HOME}/tmp/deploy/glibc/ipk/arm7a/` such as
# id3lib_3.8.3-r2.6_armv7a.ipk
# id3lib-static_3.8.3-r2.6_armv7a.ipk
# id3lib-dev_3.8.3-r2.6_armv7a.ipk
sudo opkg install id3lib-dev id3lib id3lib-static

Considerations

id3lib appeared to be the only library with documentation easily googleable documentation.

Some have said others are better. Well, tell us how to use them!

About

Generates JSON from ID3 tags

License:Other


Languages

Language:C++ 100.0%