Mac::iTunes::Item
use Mac::iTunes::Item; my $item = Mac::iTunes::Item->new( { title => $title, genre => $genre, seconds => $seconds, file => $path, artist => $artist, url => $url, } );
**This module is unmaintained**
Create an iTunes item (aka track).
Creates a new item from the given file name.
Return a deep copy of the item. The returned object will not refer (as in, point to the same data) as the original object.
Return the title of the item
Return the length, in seconds, of the item
Return the genre of the song
Return the filename of the item
Return the artist of the item
Return a string representation of the item
This source is in GitHub:
https://github.com/CPAN-Adopt-Me/MacOSX-iTunes.git
Mac::iTunes, Mac::iTunes::Playlist, MP3::Info
* everything - the list of things already done is much shorter.
brian d foy, <bdfoy@cpan.org>
<bdfoy@cpan.org>
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.
To install Mac::iTunes, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mac::iTunes
CPAN shell
perl -MCPAN -e shell install Mac::iTunes
For more information on module installation, please visit the detailed CPAN module installation guide.