Skip to content
This repository has been archived by the owner on Jun 17, 2018. It is now read-only.

alip/envtag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is envtag?

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

Releases may be downloaded from http://dev.exherbo.org/~alip/envtag.

The latest release as of 26.12.2016 is 0.5.

Examples

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

Contributing

Contributions to envtag are welcome:

  • Patches can be submitted via e-mail. Use the git format-patch tool when emailing patches.

Authors