A Perl script to manipulate tags on a variety of audio file types.
Requires the following Perl modules:
Installing Audio::TagLib might be problematic and seems to require the prior installation of the TagLib package (libtag1-dev on Debian).
It looks as if
Audio::TagLib has vanished from the CPAN repository. It is
not clear why, although the module has apparently not been actively maintained
for some time. Looking at the equivalent interface libraries for Python and
Ruby, neither have they. This in itself does not seem to be a reason to drop
it, since the TagLib API hasn't changed to my knowledge.
The module can still be downloaded and installed thus:
$ wget http://search.cpan.org/CPAN/authors/id/G/GL/GLEACH/Audio-TagLib-1.65.tar.gz $ tar -xvzf Audio-TagLib-1.65.tar.gz $ cd Audio-TagLib-1.65/ $ perl Makefile.PL $ make $ make test # should get the result 'PASS' $ sudo make install
The script is intended to be self-documenting. Run:
for basic help, or use
perldoc in this way:
perldoc -oman /path/to/fix_tags
to obtain the full help in Man format.