Mac Writing a Spotlight Plugin

wahgnube

macrumors member
Original poster
Feb 15, 2006
85
0
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

Moderator emeritus
Jul 24, 2002
24,638
61
Harrogate
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

macrumors member
Original poster
Feb 15, 2006
85
0
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

macrumors member
Dec 27, 2005
83
0
wahgnube said:
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