
Astroboy::AlbumFile

use Astroboy::AlbumFile;
my $m = Astroboy::AlbumFile->new('~/music/file.mp3');
my $organized_path = $m->refile
or die($m->errstr);
print "moved to $organized_path\n";

Private.

Argument is path to file. Returns undef if not file.
Boolean.
If this is an mp3, attempts to seek these id3tags.
Setget. Returns path like artist/album.
Tries to determine what the filename should be.
Abs path to music archive. Defaults to $ENV{HOME}/music. Please note this is a package variable, so it affects all Astroboy objects.

Returns File::PathInfo object.
Returns MP3::Tag object.

This package is in development. Do not use the api, use the cli. 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.