DragonFly On-Line Manual Pages
MP3-ARCHIVE-TOOLS(1) User Contributed Perl Documentation MP3-ARCHIVE-TOOLS(1)
NAME
mp3-archive-tools - tools to maintain an archive of mp3 files
DESCRIPTION
mp3-archive-tools is a set of tools to ease organising a collection of
mp3 (and other audio) files. Each tool has its own man page.
Tools included:
mp3id
View/change id3 metadata. Supports ID3v2 and extended frames
(pictures, etc).
filenametoid3
Update id3 metadata from filename.
id3tofilename
Rename file based on id3 metadata.
freedbtofilename
Rename files based on data from freedb webpages (www.freedb.org).
cddbtofilename
Rename files based on data from cddb webpages (www.gracenote.com).
movemusic
Move music files to their correct place in your archive.
update-music-symlinks
Maintain a central link farm pointing to music in various places.
pmv Rename files using arbitrary perl code.
The file pmv-examples.sh (look in the source distribution or
/usr/share/doc/mp3-archive-tools/) contains a set of useful bourne
shell functions using pmv.
Commands available:
pmv-stdswap
Swaps round fields in filenames delimited by " - ".
pmv-space2_
converts all spaces in filename to underscores.
pmv-_2space
Converts all underscores in filename to spaces.
pmv-fixcaps
Crude attempt at capitalising filenames.
pmv-fixcase
Much better attempt at capitalising filenames. This requires the
Text::Autoformat module from CPAN (www.cpan.org).
pmv-number
Numbers filenames sequentially.
pmv-deepen
converts dirs from "artist - album" to "artist/album"
pmv-flatten
converts dirs from "artist/album" to "artist - album"
PREREQUISITES
freedbtofilename, cddbtofilename, id3tofilename, filenametoid3 and
movemusic require the MP3::Archive module, available from the same
place you got mp3-archive-tools.
mp3id, filenametoid3 and id3tofilename require the MP3::Tag module,
available from www.cpan.org.
If you want to use the example command pmv-fixcase, you will need the
Text::Autoformat module, also available from www.cpan.org.
PORTABILITY
All tools were developed in perl under linux. It should be trivial to
get them working on any POSIX based system. If you get them working
with windows, let me know.
BUGS
None known. Please report any found to ianb@nessie.mcc.ac.uk
SEE ALSO
freedbtofilename(1), cddbtofilename(1), id3tofilename(1),
filenametoid3(1), mp3id(1), movemusic(1), update-music-symlinks(1),
pmv(1).
MP3::Archive(3), MP3::Tag(3), Text::Autoformat(3).
AUTHOR
Ian Beckwith <ianb@nessie.mcc.ac.uk>
AVAILABILITY
The latest version can be found at:
http://nessie.mcc.ac.uk/~ianb/projects/mp3-archive-tools/
COPYRIGHT
Copyright 2003 Ian Beckwith <ianb@nessie.mcc.ac.uk>
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2 of the License, or (at your
option) any later version.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
675 Mass Ave, Cambridge, MA 02139, USA.
perl v5.20.2 2003-12-05 MP3-ARCHIVE-TOOLS(1)