Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Daenyth/audiotag
A command line tool for ID3/Ogg tag editing. It features pattern matching and recursive directory traversal. It is suitable for editing single files and tagging en masse.
https://github.com/Daenyth/audiotag
Last synced: about 1 month ago
JSON representation
A command line tool for ID3/Ogg tag editing. It features pattern matching and recursive directory traversal. It is suitable for editing single files and tagging en masse.
- Host: GitHub
- URL: https://github.com/Daenyth/audiotag
- Owner: Daenyth
- License: gpl-2.0
- Created: 2009-03-22T15:45:26.000Z (almost 16 years ago)
- Default Branch: master
- Last Pushed: 2009-10-12T18:23:17.000Z (about 15 years ago)
- Last Synced: 2024-10-16T14:17:59.512Z (2 months ago)
- Homepage:
- Size: 104 KB
- Stars: 12
- Watchers: 5
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README
- Changelog: ChangeLog
- License: COPYING
Awesome Lists containing this project
README
REQUIREMENTS
To use Audiotag, you must have:1. Perl >= 5.6
2. At least one of...
- id3tag and id3info (from id3lib, id3lib.sourceforge.net) in $PATH
- vorbiscomment (from vorbis-tools, xiph.org/ogg/vorbis) in $PATH
- metaflac (from flac, flac.sourceforge.net) in $PATHINSTALL
Just copy `audiotag' to /usr/local/bin (or somewhere in your $PATH)USAGE
% audiotag [OPTION]... [FILE]...tip: Always use the -p option before running it for real!
Examples:
Set GENRE to "Metal"
% audiotag -g Metal *.mp3 *.oggGuess and set TRACKNUM - guess track uses the simple pattern '(\d\d)'
% audiotag -G *.mp3 *.oggSet TITLE based on a pattern match of the filename - This example would
work for files with a name in the form "Mudvayne - 01. Shadow of a Man.ogg"
% audiotag --title-pattern '.*?\d\d\. (.*?)\.ogg' *.oggSame as above, but don't really do anything, just see what it WOULD do
% audiotag --pretend --title-pattern '.*?\d\d\. (.*?)\.ogg' *.oggRename files based on their meta-data, so the filenames are in the form:
"TRACKNUM. Artist (Album Name) Song Title.ogg"
eg. "02. Tool (Undertow) Prison Sex.ogg"
% audiotag --rename-files --rename-pattern '%t. %a (%A) %s' *.oggBUGS
- comment field support isn't fully functional for MP3s, because, for some
reason, comment fields in MP3s are key/value pairs... which doesn't
translate to ogg and flac. And id3tag doesn't support MP3 comment fields
very well to begin with either.- the --rename-files option will fail(ungracefully) if illegal filename
characters are in a track's meta-data, eg. '/' on *nix(and most other
systems), or '\' on 'doze(but who cares?).