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

**This module is unmaintained**

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 in GitHub:

        https://github.com/CPAN-Adopt-Me/MacOSX-iTunes.git

SEE ALSO

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

TO DO

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

AUTHOR

brian d foy, <bdfoy@cpan.org>

COPYRIGHT AND LICENSE

Copyright (c) 2002-2007 brian d foy. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.