public
Description: Browse and Watch the videos in your iTunes library from your iPhone.
Clone URL: git://github.com/maddox/iphone2itunes.git
name age message
file README.textile Thu May 01 20:46:27 -0700 2008 updated readme for php config [maddox]
file browse.php Thu May 01 07:12:54 -0700 2008 first import [maddox]
directory images/ Thu May 01 07:12:54 -0700 2008 first import [maddox]
file index.php Thu May 01 07:12:54 -0700 2008 first import [maddox]
directory javascripts/ Thu May 01 07:12:54 -0700 2008 first import [maddox]
directory stylesheets/ Thu May 01 07:12:54 -0700 2008 first import [maddox]
README.textile

iPhone2iTunes! YEah!

The Point

Browse and watch all the video files you have in your iTunes library on your iPhone.

This only works locally. Unless you expose your webserver and you have kick ass bandwidth.

Setup

Edit /etc/apache2/httpd.conf and set its users to your user name:


    User jmaddox
    Group www

Don’t close the file! Uncomment the php module too if you haven’t already done that.


    LoadModule php5_module libexec/apache2/libphp5.so

Symlink your tv and movie directories from your iTunes library to your webserver directory:


$    ln -s /Users/jmaddox/Music/iTunes/iTunes\ Music/Movies movies
$    ln -s /Users/jmaddox/Music/iTunes/iTunes\ Music/TV\ Shows tv

Make SURE you use the same symbolic link names as above.

Dump all of this at the root of /Library/WebServer/Documents

Turn on web sharing!

That should be it. Simple as pie.