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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
how to rip a dvd with a G5 newt2mac Apple TV and Home Theater 0 Jul 4, 2010 07:44 PM
how to make a dvd with powerpoint qualities fearxtragedy MacBook Pro 1 Dec 12, 2007 04:26 PM


All times are GMT -5. The time now is 03:42 AM.

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

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