Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Applications > Mac Applications and Mac App Store

Reply
 
Thread Tools Search this Thread Display Modes
Old Jun 21, 2008, 05:27 PM   #1
pusman83
macrumors regular
 
Join Date: May 2005
How to automatically play DVDs with VLC?

I found a script to do so, but I get an error message about audio tracks every time.

tell application "VLC"
activate
OpenURL "dvdnav:///dev/rdisk1"
play
next
fullscreen
end tell


Anyone know of a sure-fire way to have inserted DVDs automatically play in VLC?
__________________
iMac G5 Rev. B, 2.0GHz, 2GB RAM, 250GB HD
pusman83 is offline   0 Reply With Quote
Old Jun 21, 2008, 05:34 PM   #2
saxman
macrumors 6502
 
Join Date: May 2004
Go to System Preferences --> CDs & DVDs and choose VLC instead of DVD Player. I think that was in Tiger too, but I know it's in Leopard.

I had to do that for a while since DVD player crashed Leopard on my 12" powerbook until 10.5.3
saxman is offline   0 Reply With Quote
Old Dec 28, 2010, 10:34 PM   #3
petertheartist
macrumors newbie
 
Join Date: Dec 2010
More surefire applescript

A lot of times people have issues with this type of script because attaching/removing external disks, or optical drives can change the rdisk number associated with the DVD drive. Enable UI scripting, then use this applescript as the default to open DVDs:

tell application "VLC"
activate
end tell
tell application "System Events"
key down command
keystroke "d"
key up command
delay 3
keystroke return
tell application "VLC"
play
fullscreen
end tell
end tell

If your drive can deal with the region, then any DVD you insert will go straight to the menu in fullscreen mode. If your system is faster than my G4, you can reduce or remove the 'delay 3'

peter
petertheartist is offline   0 Reply With Quote
Old Dec 19, 2012, 12:56 AM   #4
neil509
macrumors newbie
 
Join Date: Dec 2012
Quote:
Originally Posted by saxman View Post
Go to System Preferences --> CDs & DVDs and choose VLC instead of DVD Player. I think that was in Tiger too, but I know it's in Leopard.

I had to do that for a while since DVD player crashed Leopard on my 12" powerbook until 10.5.3

It still works and im using mountain lion now
neil509 is offline   0 Reply With Quote
Old Jul 10, 2013, 05:43 AM   #5
Muggsy
macrumors newbie
 
Join Date: Feb 2013
Hi everyone

I am stuck with VLC as each time I insert a CD/DVD, it opens the programme but nothing more.
It shows the Main Window, but then to play the Disc I have to do Open Disc/Open.
Very, very boring.

Any ideas to make it to play the disc automatically??

Thanks a lot
Muggsy is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Applications > Mac Applications and Mac App Store

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
VLC plays DVDs with mirrored video SpectreOne3 Mac Applications and Mac App Store 2 May 3, 2013 07:47 PM
Getting VLC to play BluRays FrozenSoul80 Mac Basics and Help 1 Feb 20, 2013 11:09 AM
Can't play library DVDs. pilkenton Mac Basics and Help 2 Dec 25, 2012 08:45 PM
VLC automatically plays last video slapple Mac Applications and Mac App Store 1 Aug 18, 2012 04:33 AM
VLC (stop auto play) DJTaurus Mac Basics and Help 2 Jun 4, 2012 06:40 AM

Forum Jump

All times are GMT -5. The time now is 01:54 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC