Unfortunately I was wrong in suggesting that the DVD/CD drive on my Mac would always be disk1. Today it shows up as disk2, with the result that I got an error message when trying to play the CD.
The result of performing the 'mount' command with no parameters was dev/disk0s2 on / (hfs, local, journaled) devfs on /dev (devfs, local) fdesc on /dev (fdesc, union) map -hosts on /net (autofs, automounted) map auto_home on /home (autofs, automounted) /dev/disk0s3 on /Volumes/Windows (ntfs, local, read-only, noowners) http://local.JungleDisk.com:2667/JungleDisk/ on /Volumes/JungleDisk (webdav, nodev, noexec, nosuid, mounted by danco) /dev/disk1s3 on /Volumes/Leopard Duplicate (hfs, local, nodev, nosuid, journaled) /dev/disk1s2 on /Volumes/Wells (hfs, local, nodev, nosuid, journaled) /dev/disk2 on /Volumes/Audio CD (cddafs, local, nodev, nosuid, read-only, noowners) This, of course, was with an unplayed CD, so the name was Audio CD. If it had been played, either via the plugin or via iTunes, the name would change to the retrieved name. I don't know if you could issue a mount command, look for a line containing cddafs, and then pick up the disk number from the start of that line. Another possibility, though that might not be safe, would be to go through all numbers until it reached one where a CD was recognised. -- danco ------------------------------------------------------------------------ danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=47288 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/plugins
