Thanks for your suggestion. I did look at all the sample projects and know about that approach. But it does seem somewhat inelegant. Am I missing something available using IOKit?
On 2011-04-19, at 9:36 AM, Michael Dautermann wrote: > On Apr 18, 2011, at 10:35 PM, P Teeson wrote: > >> In an app I am working on I have the below code to detect physical DVDs >> attached to the computer. > >> But I have not had success in figuring out how to find LAN mounted DVD's >> Can someone please point me to the correct documentation or suggest a >> direction for me to go in? > > Hi Peter, > > LAN (or network) mounted DVD's are accessible through the file system, just > like physically attached DVD's are. > > My suggestion would be to enumerate through all the attached volumes to look > for the telltale signs that a particular volume is a DVD (e.g. a "VIDEO_TS" > or "AUDIO_TS" directory, a VIDEO_TS.VOB file, etc.). > > And if you want to catch new DVD's as they are being attached, register for > an appropriate notification (e.g. volume attached?). > > I hope this suggestion helps! > > michael > > > _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com