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.
- edit_track(position=>$position, artist=>$art, title=>$title)
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.
- add_track( artist=>$artist, title=>$title, lenght=>$lengh);
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 <firstname.lastname@example.org>. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.