Joe Emenaker
unread,Jul 29, 2010, 6:34:55 PM7/29/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Teridon's iTunes Programs
So, I came across Teridon's iTunes scripts yesterday and was blown
away. I didn't know you could do all of that COM control of iTunes
from Perl.
However, my sister and I have a slightly different need from the ones
addressed by the provided scripts.
What I wanted was a script which would go through all of a playlist,
find all of the ones lacking album artwork, and either: 1) get that
artwork from *another* song from the same album in the playlist, or 2)
Notify the user to get album artwork for that song.
You see, when you add album artwork to a song in iTunes, it doesn't
get added to all of the other songs from that album (which I guess is
the right way). But it's not obvious that that's the way it works
because iTunes is clever enough to show the right album in CoverFlow.
If you select a song without artwork, and iTunes is able to find
another song from that same album which *does* have artwork, it'll
show that artwork in CoverFlow. But it *won't* show it in the lower-
left artwork pane. The lower-left pane is your only clue that
something is amiss.
But that makes it tough to find missing artwork. I used to just leaf
through CoverFlow, looking for missing covers. But, like I said, if
just *one* song from the album has artwork, then CoverFlow will look
fine. So, now, to really check, you'd need to click through *every*
song in your library and check the lower-left artwork pane.
And, even if you *found* them, you'd have to drag in artwork for each
of those songs.
So, I altered one of Teridon's scripts to go through any playlist and
find all of the songs without artwork and, if possible, get the
artwork from another song on the same album. Worked like a charm! Now,
I think *every* song in my music library has artwork.
NOW, the problem is... I want to send it to my sister. But she doesn't
have Perl installed on her machine and I don't want her to have to. I
wanted to compile the script to an .exe like Teridon did, but I'm
having issues. I tried the Perl2Exe program, but the .exe that it
creates complains about missing the Data::Dumper library. And I looked
into PAM-Packer on CPAN, but it seems to require a bunch of other
stuff (like nmake and VC++) which I don't want to have to install.
Does anybody know what Teridon uses to compile his perl scripts to
exe's?