library_statistics - generate some general statistics on your library
This script shows how to generate some basic statistics on your music library. It returns the following statistics:
- total songs, albums, artists, and genres - total duration of all songs - total size of all songs
Options [database] dsn the name of your database user database username, if required pass database password if required adaptor either dbi::sqlite or dbi::mysql (defaults to dbi::mysql)
eg:
library_statistics --dsn music
Todd Harris (harris@cshl.org); $Id: library_statistics.PLS,v 1.1 2005/02/27 16:56:25 todd Exp $
To install Audio::DB, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Audio::DB
CPAN shell
perl -MCPAN -e shell install Audio::DB
For more information on module installation, please visit the detailed CPAN module installation guide.