The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Mac::iTunes::Item

SYNOPSIS

        use Mac::iTunes::Item;

        my $item = Mac::iTunes::Item->new( 
                {
                title    => $title,
                genre    => $genre,
                seconds  => $seconds,
                file     => $path,
                artist   => $artist,
                url      => $url,
                }
                );
        

DESCRIPTION

Create an iTunes item (aka track).

METHODS

new
new_from_mp3( FILE )

Creates a new item from the given file name.

copy

Return a deep copy of the item. The returned object will not refer (as in, point to the same data) as the original object.

title

Return the title of the item

seconds

Return the length, in seconds, of the item

genre

Return the genre of the song

file

Return the filename of the item

artist

Return the artist of the item

as_string

Return a string representation of the item

SOURCE AVAILABILITY

This source is part of a SourceForge project which always has the latest sources in CVS, as well as all of the previous releases.

        https://sourceforge.net/projects/brian-d-foy/
        

If, for some reason, I disappear from the world, one of the other members of the project can shepherd this module appropriately.

SEE ALSO

Mac::iTunes, Mac::iTunes::Playlist, MP3::Info

TO DO

* everything - the list of things already done is much shorter.

BUGS

AUTHOR

brian d foy, <bdfoy@cpan.org>

COPYRIGHT

Copyright 2002, brian d foy, All rights reserved

You may redistribute this under the same terms as Perl.