• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Control iTunes removtely via PHP+AppleScript

SPeedY_B

I may actually be insane.
#1
Nice little guide on how to control iTunes via a web-page locally hosted, very easy to set-up considering Mac OSX ships with Apache and PHP which can be enabled at the click of a button: http://www.macmod.com/content/view/95// :)


Note that the article states that PHP doesn't come with OSX, but in-fact it does, it's simply not enabled by default. To enable PHP do the following:
PHP isn't enabled by default, so you'll need to edit the Apache configuration file. It's located at /etc/httpd/httpd.conf. The necessary lines should already be in there, but commented out. Just remove the # from in front of these lines:

LoadModule php4_module libexec/httpd/libphp4.so
AddModule mod_php4.c
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

You'll need to restart the web server for this change to take effect. All you need to do is go back to Sharing and stop and start it again.
 

Scooter

Random Apple Dude
#2
I've seen ickle things like that doing the net rounds, but I can't honestly think when I'd ever use it ... but... surely, there would be a time... maybes?? oO
 

SPeedY_B

I may actually be insane.
#3
I can't think of one either, just thought it was cool :p

If I really need to control one computer from another, I always use VNC anyway :)
 

X-Istence

*
Political User
#6
can you get apple script to list all of the libraries the iTunes thing has, and playlists, and then let you sort them, and or add them to party mix. This way you can let people touch a keyboard and mouse, but not your lovely mac, which can be sitting some place else so that it does not get dirty and whatnot, can it be done?
 

Members online

No members online now.

Latest posts

Latest profile posts

Perris Calderon wrote on Electronic Punk's profile.
Ep, glad to see you come back and tidy up...did want to ask a one day favor, I want to enhance my resume , was hoping you could make me administrator for a day, if so, take me right off since I won't be here to do anything, and don't know the slightest about the board, but it would be nice putting "served administrator osnn", if can do, THANKS

Been running around Quora lately, luv it there https://tinyurl.com/ycpxl
Electronic Punk wrote on Perris Calderon's profile.
All good still mate?
Hello, is there anybody in there? Just nod if you can hear me ...
Xie
What a long strange trip it's been. =)

Forum statistics

Threads
61,962
Messages
673,240
Members
89,015
Latest member
loxioalix