Re: Find network mounted DVD's
Re: Find network mounted DVD's
- Subject: Re: Find network mounted DVD's
- From: Michael Dautermann <email@hidden>
- Date: Tue, 19 Apr 2011 09:36:53 -0400
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 (email@hidden)
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:
This email sent to email@hidden