Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Filename of audio CDs modified by Finder



Hi,

My app has a notification registered for whenever a volume mounts. If it's an audio CD, then it loads all the tracks' filenames in an array. Then it does stuff with the files...

The problem is : when an audio CD is inserted,
- a notification is posted, my app captures it, and loads the filenames (usually Track 1.aiff, etc...)
- the Finder looks at CDDB for the tracks' real name and renames the tracks, but also the volume's name
- when I want to deal with these audio files from my app, the filenames don't match because the Finder modified them


What's your advice ?
Should I wait for the tracks to be renamed (and in that case, is there a notification posted when the trackers are renamed) ?
Or should I fill my array with something else than the path (inode, file descriptor) ?


Thanks,
Martin.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.