Pick of the Week - Nov 10 [Show all picks]
Path Finder 5 - A feature-laden Finder replacement
Submit Hint Search The Forums LinksStatsPollsFAQHeadlinesRSS
12,000 hints and counting!


Click here to return to the 'Play DVDs automatically on insertion in VLC media player: Updated Script' hint
The following comments are owned by whomever posted them. This site is not responsible for what they say.
Play DVDs automatically on insertion in VLC media player: Updated Script
Authored by: michalc on Tue, Sep 18 2007 at 9:46AM PDT
I've just realised that the AppleScript I gave does not work if VLC was open and was used to play another video before the DVD was inserted. In such a case the original video played gets played again. The solution is to add a "next" command to the AppleScript":
tell application "VLC"
	OpenURL "dvdnav:///dev/rdisk1"
	play
	next
end tell
This should hopefully now work in all cases.

[ Reply to This | # ]