Re: How to get Extended File Info


Keary Suska
 

I believe there is a function where you can pull all available attributes/properties. You can look at that dict and see if it contains what you are looking for.

Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"

On Jun 6, 2019, at 9:04 AM, Dave <dave@...> wrote:

Hi,

I’m looking at the Audio Toolbox, I assume you mean the AudioOpenFile, AudioFileGetProperty and AudioCloseFile C functions? If so, then I can’t see how to get the fields I mentioned? In the Finder for MP3 files, it displays the Title, Album, Genre, etc. I don’t see a method that returns the same info?

Spotlight, I can’t seem to find any reference to how to get this extended documentation any where.

Surely then must be a Higher Level method to do this simple task?

All the Best
Dave

On 6 Jun 2019, at 15:36, Keary Suska <cocoa-dev@...> wrote:

AudioToolbox, especially Audio File Services (don’t have links but should be able to search docs easily), appear to have this capability.

Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"

On Jun 6, 2019, at 5:19 AM, Dave <dave@...> wrote:

Hi,

Looking at the Finder “Get Info” window, for instance for an mp3 file, it displays under the “More Info” tab, the Title, Authors, etc.

How can I get this information programatically?

Thanks a lot
All the Best
Dave







Join {cocoa@apple-dev.groups.io to automatically receive all group messages.