l008com
02-24-2002, 03:33 PM
Heres my situation. I host my own personal web site off my own personal computer. I bought a domain name and pointed it to my ip address, i'm on cable, so I have to update it once in a while. What I'm trying to do it make a perl script that talks to iTunes, IF its running, and pulls info about the current song and slaps it onto my web page. Now I know how to get CGI's running and I know how to do a server side include, I actually have this cgi running in place on my site right now. Problem is all it does is return the text 'Not Available Right Now". What I need is a way to make perl talk to iTunes. Now over at Macnn, someone told me about a "perl module" called OSXMacPerl. Of coarse they're too stuck up to explain to me how to use this thing, but I do have it on here. It defiantly appears to be a way to have perls in apache send and receive AppleEvents.
Also, AppleScript CGI's are out of the question, they are too much of a hassle to have running on a machine that you use from day to day.
Also, AppleScript CGI's are out of the question, they are too much of a hassle to have running on a machine that you use from day to day.