mp3ascd 2 v0.1 README
mp3ascd 2 is free software and is licensed under the terms of the GPL. You should have received a copy of it with this software.
INSTALLATION
Make sure the script is executable.
I copy mine into a directory in my PATH, such as /usr/bin/
It should work on a multitude of platforms, but if it does not work on yours, please let me know.
REQUIREMENTS
Perl >=5
Perl packages:
-MP3::Info - you probably have this, if not you'll get an error telling you otherwise -CDDB.pm - maybe/maybe not
you can get all perl modules from cpan.org
USAGE
Please remember that mp3ascd uses the alphabetically sorted list of .mp3 files per directory Hence it is possible that if your filenames are somehow mismatched (case?), they may be sorted incorrectly. If you're getting a mismatch that you think is wrong, run mp3ascd with default options to make sure that the enumerated list of files it finds is sorted correctly.
in the meantime. run
mp3ascd -h
to get the latest usage info
Usage: mp3ascd [options] [directory]
Where current directory is used if not specified, and [options] is zero or more of the following:
-u Print out a URL that performs (would perform) the cddb lookup. -n Do not query cddb server, or import CDDB module.
-q Do not display track info, just results (quiet) -Q Display nothing except NON-matching directories (recursive)
or just set exit code (non-recursive) -t Display details for each matching disc in results (tracks) -v Verbose
-s server Use alternate CDDB server -p port Use alternate port
-d Turn on debugging (CDDB) (Do this if having problems) -h Display this help screen.
- Examples
- mp3ascd -t -s cddb.cddb.com -p 8880
This attempts to lookup current directory's mp3s using cddb as opposed t
o the default server specified by CDDB.pm (currently freedb.org), and prints dis
c details if successful
Note that usage of cddb.com in this way may be unauthorized, I don't know
mp3ascd -r -Q
This will recursively check all subdirectories below current,
and print only non-matching directories.
Note: exit code 1 is set if no matches were found (non-recursive)
