New topic: check if dvd or audio cd is inserted?
<http://forums.realsoftware.com/viewtopic.php?t=46970> Page 1 of 1 [ 2 posts ] Previous topic | Next topic Author Message wakatanka Post subject: check if dvd or audio cd is inserted?Posted: Sat Feb 16, 2013 11:09 am Joined: Thu Feb 01, 2007 12:35 pm Posts: 15 Location: Italy Hi, i'm making an app to organize DVD and AUDIOCD, is there a way to check in an inserted media is a DVD or a CD audio? thanks Top IIGS_User Post subject: Re: check if dvd or audio cd is inserted?Posted: Sat Feb 16, 2013 1:41 pm Joined: Tue Oct 24, 2006 3:38 am Posts: 143 Location: Ger Audio CDs contains an invisible file ".TOC.plist". To determine how many tracks are on it, let read its lines <key>Last Track</key> <integer>14</integer> There is a thread "Reading TOC of Audio CD?" somewhere in General, but I can't find it yet: Tomis wrote:Audio CDs are accessible via virtualized file system on Mac OS X. You'll see the tracks displayed as AIFF files; Track 1.aif, Track 2.aif, etc. You could open all the tracks in EditableMovie properties or MoviePlayer controls, then get their durations from there and tally them up. ImagePlay Effects Library (40+ image effects in one open source module. No plugins, no dependencies, no restrictions.) http://imageplay.sourceforge.net/ _________________ This is REALbasic 2011r3 on a MacBook Pro Late '10 ("MacBookPro6,2") with Mac OS X 10.8.2 Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 2 posts ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
