envtag is a simple audio tagger using taglib. It offers two interfaces to edit tags:
- Simple interface using environment variables.
- Advanced interface using Lua scripts.
Releases may be downloaded from http://dev.exherbo.org/~alip/envtag.
The latest release as of 26.12.2016 is 0.5
.
Here are some examples of simple usage. For advanced usage, have a look at examples/ directory under source tree.
# Reading tag information
eval $(envtag get /path/to/audio/file)
echo "Title: $TITLE"
echo "Artist: $ARTIST"
echo "Album: $ALBUM"
echo "Comment: $COMMENT"
echo "Genre: $GENRE"
echo "Year: $YEAR"
echo "Track: $TRACK"
# Saving tag information
COMMENT="Tagged by envtag" envtag set *.mp3
# Changing file format preserving tag information
eval $(envtag get --export /path/to/audio/file) # exports tag information
decoder -o - /path/to/audio/file | encoder - -o /path/to/audio/file.new
envtag set /path/to/audio/file.new # grabs exported tag information and saves it
Contributions to envtag are welcome:
- Patches can be submitted via e-mail. Use the
git format-patch
tool when emailing patches.
- Ali Polatel <alip@exherbo.org>