- SEE ALSO
Argument is abs path to directory.
If it's not deemed as an is_album(), returns undef.
Abs path to dir.
Abs pathto where music should reside. Default is ~/music.
Returns array ref of all files, these are filenames only. Not absolute paths.
Returns count of files.
Like ls(), returns array ref of mp3 files in this dir.
Like ls(), returns everything not mp3.
Of the files in this dir, what percentage are mp3s.
If more than 50% of files are mp3, then true, else false.
Moves files to a temp directory. Sort of a safe delete. This is everything that is not an mp3 file. Call at your own peril.
If there are mp3 files, and they all have same album id3 tag, returns album.
If there are mp3 files, and they all have same artist id3 tag, returns artist.
This package is in development. Do not interface with the api directly. Use the command line interface scripts for stability.
Leo Charre leocharre at cpan dot org
Copyright (c) 2008 Leo Charre. All rights reserved.
This package is free software; you can redistribute it and/or modify it under the same terms as Perl itself, i.e., under the terms of the "Artistic License" or the "GNU General Public License".
This package 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.