GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
CDDBTOFILENAME(1) User Contributed Perl Documentation CDDBTOFILENAME(1)

cddbtofilename - rename files according to cddb web page

cddbtofilename [-v] [-q] [-d] [-a] [-t] [-g] [-f] [-h] [cddbfile|-] [file.mp3...]

cddbtofilename takes data from the cddb (http://www.gracenote.com) web page and renames files accordingly.

As cddbtofilename works by scraping the web page, it can easily break if gracenote redesign the web site. If that happens, check the address below for an update.

As cddtofilename uses data from the web page, unlike many other freedb/cddb based tools, it has no need for the original CD.

Input from cddbfile can be either html or formatted output from lynx(1) (either from "lynx -dump page.html" or from pressing p then selecting Save to a local file from within lynx (when you have found the page you want). If raw html is passed to cddbtofilename, it runs lynx to format it before parsing.

MP3::Archive(3) is used for creating filenames and deciding whether a particular track should be treated as an album or non-album track (unless overridden by -a or -t), see MP3::Archive::Config for details on configuring .mp3archiverc to specify your filename styles.

-v
Verbose output.
-q
Quiet (no output). This is the default.
-d
Dry run. Just prints the changes it would make without actually doing them.
-a
Treat files as album tracks.
-t
Treat files as non-album tracks.
-g
Guess whether to treat files as album tracks or not, based on the current directory of the file.
-f
If the number of files specified does not agree with the number listed in the cddbfile, normally cddbtofilename will abort. With this option it will warn you then carry on, renaming as many files as it can. Use with care.
-h
Show a short help message.

None known. Please report any found to ianb@nessie.mcc.ac.uk

MP3::Archive(3), MP3::Archive::Config(3), freedbtofilename(1), mp3-archive-tools(1), mp3lint(1), lynx(1)

Ian Beckwith <ianb@nessie.mcc.ac.uk>

cddbtofilename is part of the mp3-archive-tools package.

The latest version can be found at:

http://nessie.mcc.ac.uk/~ianb/projects/mp3-archive-tools/

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.

2003-12-12 perl v5.32.1

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.