Play DVDs automatically on insertion in VLC media player

Sep 18, '07 07:30:00AM

Contributed by: michalc

Here's how to get VLC media player to play a DVD automatically on insertion in Mac OS X. First, create and save this AppleScript:

tell application "VLC"
  OpenURL "dvdnav:///dev/rdisk1"
  play
end tell
Next, open System Preferences, and go to the CDs & DVDs tab. For the When you insert a video DVD option, in the drop down menu select Run Script, and then select the AppleScript you just saved. That's it!

Comments (11)


Mac OS X Hints
http://hints.macworld.com/article.php?story=2007091707155374