Page 1 of 1

VLC autoplay discs for Mac OS X

Posted: 29 Sep 2005 11:45
by chinarut
There's a lot of talk about autoplay on Windows - I didn't see an option to enable autoplay on Mac OS X. Is there a way I can make this happen for VCDs and DVDs?

It would be great to have an option to replace the default handler for CDs to VLC as well.

Re: VLC autoplay discs for Mac OS X

Posted: 29 Sep 2005 18:19
by fkuehne
Please have a look at the "CDs & DVDs" section of your global system preferences. You can select everything there.

Posted: 29 Sep 2005 21:15
by The DJ
Actually, VLC does open in case a CD is inserted then, but doesn't add the disc to the playlist. So it's a bit useless.

I tried supporting this once, but couldn't get it working. It depends on Apple events.

Posted: 08 Oct 2005 07:10
by arsenicum
You can use powerfull Applescript to run VLC player and autoplay DVDs. Here is the workaround:

1. Open "Script Editor" and paste the following code

Code: Select all

do shell script "/Applications/VLC.app/Contents/MacOS/VLC dvdnav:///dev/rdisk1 --fullscreen"
Save it as a script file

2. Open System Preferences->CDs & DVDs and choose previously saved script in the "When you insert a video DVD" field.

Try to insert a DVD movie now. It will launch VLC player in full screen mode and start playing the disk from the beginning.

Posted: 08 Oct 2005 12:30
by fkuehne
@ arsenicum: Nice idea :)

CDs

Posted: 07 Dec 2006 20:03
by flyabusa
has anyone come up with an Apple script to make VLC autoplay CDs in the same manner?