Writing a Spotlight Plugin

Discussion in 'Mac Programming' started by wahgnube, Jun 16, 2006.

  1. macrumors member

    wahgnube

    Joined:
    Feb 15, 2006
    #1
    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!
     
  2. Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #2
    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.
     
  3. thread starter macrumors member

    wahgnube

    Joined:
    Feb 15, 2006
    #3
    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.
     
  4. macrumors member

    Joined:
    Dec 27, 2005
    #4
    are you going to relase the code ?
    i'm curious to how this is done
     

Share This Page