Re: MDItemCopyAttributes replacement for audio
Re: MDItemCopyAttributes replacement for audio
- Subject: Re: MDItemCopyAttributes replacement for audio
- From: Kyle Sluder <email@hidden>
- Date: Tue, 05 Nov 2013 10:09:55 -0800
> On Nov 5, 2013, at 9:49 AM, "Gerriet M. Denkmann" <email@hidden> 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 none of this information.
>
> Maybe Spotlight refuses to index app contents.
>
> 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 replacement?
Audio Toolbox is not deprecated.
But does filtering AVAsset.commonMetadata for AVMetadataiTunesMetadataKeyAlbum work?
--Kyle Sluder
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden