MP3::Album::Layout - Perl extension to manage/represent a layout for a m3 album.
use MP3::Album::Layout; #create a new layout my $layout = new MP3::Album::Layout; #change the disc title $layout->title("Perl conference"); #add a track $layout->add_track(artist=>'someone', title=>'regex how to'); #edit track $layout->edit_track(position=>1, artist=>'still dont know the name');
MP3::Album::Layout represents a mp3 album layout, which contains the (artistic) information of a album.
All methods return undef in error case. The error description will be in $@.
Creates a new object.
Edits the track info in $position. If you dont pass artist or title info, the ones you dont pass will be set as empty strings.
Adds a track to this the end of this layout tracklist.
Sets/retrieves the layout artist name.
Sets/retrieves this layout genre.
Sets/retrieves this layout comment.
Sets/retrieves this layout title.
There are no known bugs, if you catch one please let me know.
Copyright 2003 Bruno Tavares <bmavt@cpan.org>. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install MP3::Album, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MP3::Album
CPAN shell
perl -MCPAN -e shell install MP3::Album
For more information on module installation, please visit the detailed CPAN module installation guide.