publisher.pl - reformat iTunes Music Library
% publisher.pl TEMPLATE [ LIBRARY [ PLAYLIST ] ]
This script reformats the iTunes Music Library according to the Text::Template template in TEMPLATE. By default it uses the iTunes Music Library in your home directory, or the file you specify in LIBRARY. It works with all the tracks in the library by default, or the playlist PLAYLIST.
The template has access to these variables:
Name of the playlist
Array of Mac::iTunes::Item objects
brian d foy, <bdfoy@cpan.org>
Copyright 2002, brian d foy, All rights reserved.
You may use this script 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.