VLC autoplay discs for Mac OS X

macOS specific usage questions
chinarut
New Cone
New Cone
Posts: 6
Joined: 07 Sep 2005 10:05
Location: Thailand

VLC autoplay discs for Mac OS X

Postby chinarut » 29 Sep 2005 11:45

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.

fkuehne
Developer
Developer
Posts: 7262
Joined: 16 Mar 2004 19:37
VLC version: 0.4.6 - present
Operating System: Darwin
Location: Germany
Contact:

Re: VLC autoplay discs for Mac OS X

Postby fkuehne » 29 Sep 2005 18:19

Please have a look at the "CDs & DVDs" section of your global system preferences. You can select everything there.
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

The DJ
Cone Master
Cone Master
Posts: 5987
Joined: 22 Nov 2003 21:52
VLC version: git
Operating System: Mac OS X
Location: Enschede, Holland
Contact:

Postby The DJ » 29 Sep 2005 21:15

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.
Don't use PMs for support questions.

arsenicum
New Cone
New Cone
Posts: 7
Joined: 07 Oct 2005 00:57
Location: Hollywood, USA

Postby arsenicum » 08 Oct 2005 07:10

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.

fkuehne
Developer
Developer
Posts: 7262
Joined: 16 Mar 2004 19:37
VLC version: 0.4.6 - present
Operating System: Darwin
Location: Germany
Contact:

Postby fkuehne » 08 Oct 2005 12:30

@ arsenicum: Nice idea :)
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

flyabusa
New Cone
New Cone
Posts: 2
Joined: 13 Mar 2006 17:10

CDs

Postby flyabusa » 07 Dec 2006 20:03

has anyone come up with an Apple script to make VLC autoplay CDs in the same manner?


Return to “VLC media player for macOS Troubleshooting”

Who is online

Users browsing this forum: No registered users and 3 guests