genre statistics - general statistics on the use of genres in your collection
This script shows how to generate some basic statistics on your music library. It returns the following statistics:
- All genres - number of songs, albums, and artists in each genre
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) include boolean. If true, all songs, albums, and artists will also be returned.
eg:
genre_statistics [@options]
Todd Harris (harris@cshl.org); $Id: genre_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.