Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Prevent autoplay of CD and DVD media System
I (write | copy | use) many DATA DVD at home, so after a while I got very fustrated becouse OS X desides to spawn the DVD Player with every insert of a DVD (including data DVD`s).

I searched but did not find any hints, so I did some investigation, after a while (finding out how mounting works, reading man autodiskmount and some wild guesses), I came up with this solution. Edit the com.apple.finder.plist file (in your user's Library / Preferences folder) using your favorite text editor. Here is the top part of the file:
<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
<plist version="0.9">
<dict>
Insert the following lines below the <dict> tag:
<key>AutoplayAudioCD</key>
<false/>
<key>AutoplayDVD</key>
<false/>
Keep the rest of the file intact, save your changes, and then logout/login (or relaunch the Finder). Your discs should no longer autoplay.

[Editor's note: I thought for certain there was a Finder pref for this, but I certainly can't see one! This seems to be the best solution at present ... if there's a simpler way that I'm missing, let us know!]
    •    
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
 
[14,040 views]  

Prevent autoplay of CD and DVD media | 10 comments | Create New Account
Click here to return to the 'Prevent autoplay of CD and DVD media' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
DVD autoplay PreferencesPane
Authored by: wench on Jan 27, '02 11:22:09AM

I knew that I had seen a preferences panel for this, so I checked and it is one of the features of TinkerTool under the General tab.



[ Reply to This | # ]
more finder.plist stuff
Authored by: kyngchaos on Jan 27, '02 05:03:29PM

another way to edit this (besides a text editor and Tinker Tool) - if you have the Dev Tools installed, double-click the plist and it will open in PropertyListEditor! You get a hierarchical list of the properties. Unfortunately, you can't copy and paste properties, but it's less confusing.

I found something else here, that I thought Apple sadly dropped - the Label item for files. Unfortunately (again), this doesn't show any labels (ie from some old files I KNOW have labels), but it's a good sign that they may eventually return.

Something to do with the finder.plist - change the default column order for new windows (ie put the size before the date, a long-time preference of mine). This is easier to do in a text editor, since, as I said, PListEd won't copy/paste.



[ Reply to This | # ]
DVD/CD Autoplay
Authored by: corwin on Jan 27, '02 08:00:48PM

There is indeed a preference panel that can turn this off, but it's in the respective applications, not in the System Preferences. In Apple's DVD Player Preferences:Disc:Start Up, just uncheck "Start Playing Disc." In iTunes Preferences, under the "General" tab, you can select a number of options, including simply "show songs," which will prevent the CD from automatically playing. Or is there something to this I'm not following (certainly the DVD Player does not start up automatically on insertion on my computer...)



[ Reply to This | # ]
DVD AutoPlay (also CD autoplay)
Authored by: corwin on Jan 27, '02 08:03:36PM

Sorry, I meant to post this here... Besides TinkerTool, there is indeed a preference panel that can turn this off, but it's in the respective applications, not in the System Preferences. In Apple's DVD Player Preferences:Disc:Start Up, just uncheck "Start Playing Disc." In iTunes Preferences, under the "General" tab, you can select a number of options, including simply "show songs," which will prevent the CD from automatically playing. Or is there something to this I'm not following (certainly the DVD Player does not start up automatically on insertion on my computer...)



[ Reply to This | # ]
DVD AutoPlay (also CD autoplay)
Authored by: cowboy on Jan 28, '02 10:42:38PM

I think the problem is the launch of the DVD player is annoying. I have the autoplay option unchecked but the DVD player still launches when I put in a DVD (it doesn't play - just launches). Will this trick stop the DVD player from launching?



[ Reply to This | # ]
DVD AutoPlay (also CD autoplay)
Authored by: karebma on Jan 08, '10 06:49:16AM

I have exactly the same situation on my iMac running 10.6.2; DVD Player loads up and starts playing no matter what pref I set or where.



[ Reply to This | # ]
DVD AutoPlay (also CD autoplay)
Authored by: karebma on Jan 08, '10 07:28:33AM
This has turned into an interesting exercise ... First I updated OmniOutliner. Big mistake since the "upgraded" version won't open a plist file now (all grayed out in selection dialog box). No worries since I've used TextWrangler for this sort of thing before. So I added the suggested text and, no joy. I hunted around and found com.apple.DVDPlayer.plist in the user Library/Preferences directory and altered the entry

<key>AutoPlay</key>
	<true/>
to read false/. Also no joy. Immediately beneath it is an entry

<key>AutoPlayOnDiscMount</key>
	<false/>
which I suspect was set to false/ by the application preference panel setting I changed day or two ago. Methinks this is a good old fashioned bug...

[ Reply to This | # ]
DVD AutoPlay (also CD autoplay)
Authored by: jetak on Mar 10, '10 01:45:28AM

I set both of these keys to false as well as added AutoplayDVD false to com.apple.finder.pref, and DVDplayer still opens. It does not play, but I DO NOT want it to automatically open when I mount a DVD.



[ Reply to This | # ]
DVD AutoPlay (also CD autoplay)
Authored by: jimmyhoffa on Aug 07, '10 08:22:11PM

The problem is that DVD Player is responding to preferences on what to do once the application is already running. To adjust settings on what to do when a DVD (or CD) is inserted, go to System Preferences -> CDs & DVDs (in the Hardware section) -> and set the drop-downs to "Ignore".

For a more detailed explanation: http://www.macyourself.com/2009/06/02/stop-dvd-player-from-opening-when-a-disc-is-inserted-plus-tips/



[ Reply to This | # ]
plist files in OmniOutliner
Authored by: Jaharmi on Feb 03, '02 09:21:26AM

I believe you can also edit .plist files from within OmniOutliner. In fact, someone on the OmniOutliner list indicated that OO was set as the default .plist editor when it gets installed. If not, I'm sure you could do that from the Finder by using the Show Info windows to reset the default app for all files with the .plist extension.

OO is a great little outliner!



[ Reply to This | # ]