Re: MDItemCopyAttributes replacement for audio

2013-11-05 Thread Kyle Sluder
On Tue, Nov 5, 2013, at 10:29 PM, Gerriet M. Denkmann wrote: > > id aikey = ai.key; // is NSNumber - not documented > OSType hfsFileTypeCode = [ aikey unsignedIntValue ]; > NSString *ke1 = NSFileTypeForHFSTypeCode ( hfsFileTypeCode ); // > not documented either > But this gives ke

Re: MDItemCopyAttributes replacement for audio

2013-11-05 Thread Gerriet M. Denkmann
On 6 Nov 2013, at 01:57, Jens Alfke wrote: > > On Nov 5, 2013, at 9:49 AM, Gerriet M. Denkmann wrote: > >> Maybe Spotlight refuses to index app contents. > > Right. > >> So: how can I get this information directly from the sound files? >> I found some references to QuickTime and Audio Toolb

Re: MDItemCopyAttributes replacement for audio

2013-11-05 Thread Jens Alfke
On Nov 5, 2013, at 9:49 AM, Gerriet M. Denkmann wrote: > Maybe Spotlight refuses to index app contents. Right. > So: how can I get this information directly from the sound files? > I found some references to QuickTime and Audio Toolbox, but all this is > deprecated. > What is the current rep

Re: MDItemCopyAttributes replacement for audio

2013-11-05 Thread Kyle Sluder
> On Nov 5, 2013, at 9:49 AM, "Gerriet M. Denkmann" > wrote: > > I have a folder with some sound snippets. > I can use MDItemCopyAttributes to get useful information, like Album, Titel > etc. > > But when I copy this folder into my app (Content/Resources/...) then > MDItemCopyAttributes has