PDA

View Full Version : Writing a Spotlight Plugin




wahgnube
Jun 16, 2006, 09:47 AM
I'm new to the world of macs, and I've been thinking of writing a spotlight plugin for my music files (which happen to be in Ogg Vorbis and not MP3) as a means to wet my feet with XCode.

I've gotten code to read the music files and extract their meta-data working, but I am having some difficulty extending XCode's boilerplate meta-data importer code to work with mine. It turns out I want to use C++ (and not C or ObectiveC) to do this, so I'm running into some problems.

Is this an appropriate place to pose a more technically-detailed question, or does anyone know of a more developer oriented forum/mailing list where mac developers hang out? I would be very interested to know and participate.

Thanks!



robbieduncan
Jun 16, 2006, 10:16 AM
Write your plugin in Objective-C++ (search the Apple developer site for details). The bits of the plugin that have to be in Objective-C will be and you can interface with your evil C++ code to read the music files.

wahgnube
Jun 16, 2006, 03:10 PM
Thanks! Objective-C++ was what I was looking for.

In this interim, I also found a Spotlight developer mailing-list on the Apple website and they pointed me to the same thing.

stunna
Jul 18, 2006, 02:32 PM
I'm new to the world of macs, and I've been thinking of writing a spotlight plugin for my music files (which happen to be in Ogg Vorbis and not MP3) as a means to wet my feet with XCode.

I've gotten code to read the music files and extract their meta-data working, but I am having some difficulty extending XCode's boilerplate meta-data importer code to work with mine. It turns out I want to use C++ (and not C or ObectiveC) to do this, so I'm running into some problems.

Is this an appropriate place to pose a more technically-detailed question, or does anyone know of a more developer oriented forum/mailing list where mac developers hang out? I would be very interested to know and participate.

Thanks!
are you going to relase the code ?
i'm curious to how this is done