In this case, since you know what the CD should be and what the
contents of the CD should be I'd do the following:
- rip the tunes yourself
- do a cksum (or one of the more secure equivalents) on the ripped file
- when the user inserts the CD
- rip the first tune
- validate against the known cksum
- continue
Embedding someone else's IP in your product without specific
permissions is a bad idea. I'm not a lawyer, but having the user rip
the tunes from the user's own verified source seems to be a smarter
way of doing it. Always check with legal before doing anything where
use of other's IP is involved.
On Jul 8, 2006, at 9:37 AM, William Squires wrote:
Hi!
I need to:
1) Present a dialog that asks the user to insert a particular CD.
Easy enough, but how do I actually 'wait' until the CD in question
(or any CD, for that matter) is inserted (MacOS X only, though it'd
be nice if there were an x-platform - Win/Linux - way of doing it.)
2) check the CD (an audio CD - no copy protection on it) to see if
it's the one I'm looking for.
Reason: I'm trying to make a program that goes along with the early
"Advanced Dungeons & Dragons. Karameikos: Land of Adventure" boxed
set. It includes an audio CD with tracks that are played at
specific points in the game.
In order to avoid copyright violation, I want to import the
tracks (as WAVs), and require the user to have bought the 'real' CD
(thus the 'check the CD' dialog above.)
Is there some unique feature (maybe a 'key' that's used for the
CDDB lookup in iTunes?) of audio CDs that I can look for?
Can I make a FolderItem to represent the CD volume, then iterate
over it to get the tracks, or is that just a Finder trick?
William H Squires Jr
4400 Horizon Hill #4006
San Antonio, TX 78229
[EMAIL PROTECTED] <- remove the .nospam
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>