I could easily make it recognize others as well, these were just some I could think of at the moment. It will read id3v1, id3v2, apev2, and vorbis comments, as well as some internal format properties, to extract information about the files and add them to the spotlight metadata database. Note that I have only tested the importer on Ogg Vorbis and MPC files, so I'm not 100% certain the importer will grab the tags from the other file types even though it has the capability to do so.

Right now, I've only made it add metadata for the values that Apple already fills in for mp4 and mp3 files, but in later versions I will make the information set much more complete. The metadata that it currently imports is:

It would be nice if I could get some people to help test and provide feedback. To use the importer, download the file, extract the importer, and copy it to the ~/Library/Spotlight directory. You may need to make the directory if it doesn't already exist. This will only add support for your current user so if you want it system wide, put it in /Library/Spotlight instead.

After this, to get the metadata to show up, you will need to reimport the files into the spotlight database (all files modified in the future will automatically be imported). To do this, you can either modify the file somehow (touch might do the trick), or you can use mdimport. To reimport a single file, just type "mdimport somefile" at the terminal. You can also have it check the entire file system for reimportation (best if you have tons of files you'd like to do this for) by typing "sudo mdimport /" at the terminal and typing in your password.

You can test to see if the metadata has been imported either by typing "mdls somefilename" at the terminal, or by making some sort of smart folder that filters via one of the metadata properties for audio files.

Although there should be no problems I can see with this importer, use it at your own risk I suggest making a backup of files you are testing the import on if you are super paranoid.

Anyway, I will be releasing updates in the near future along with source code. Once this importer is more solid, it will serve as the foundation for Euphonos metadata reading.

Oh, one final thing, it would be nice if someone wanted to make OS X icons for the different file types so that the importer would actually show them up as something other than a blank document in Finder

Working fine on my other Ogg files too, and the data shows up lovely in Spotlights main interface.

Do you have a website for testing this stuff, cause I would love to help out, maybe even code a little for you. I want to start work on a OggVorbis CoreAudio codec after my exams. This may be of use to your Euphonos Player, and it would be super seksy if it was distributed with your player

Do you have a website for testing this stuff, cause I would love to help out, maybe even code a little for you. I want to start work on a OggVorbis CoreAudio codec after my exams. This may be of use to your Euphonos Player, and it would be super seksy if it was distributed with your player

Thanks

Jan

I don't have a website setup for it yet, but I probably will put something online in a few days. I will be releasing an updated version of this importer later today that is significantly improved. Not only do I add metadata for quite a few of the other apple provided fields now, but I've also added custom fields, and I even have a field setup that holds an array of strings (I'd use a dictionary, but that type isn't supported for the custom metadata schemas unfortunately) containing all xiphcomments or ape tags, so that all the tags are searchable according to their standard name in the spec even if there is no standard spotlight field for them.

Another difference in the new version is that I've added better codec detection for .ogg container files now so that the importer can determine whether the codec is vorbis, flac, speex, theora, or a dozen other formats that people have used.

As for help, that could certainly be useful. I'll see what I can get setup for collaboration here soon. Also, it would be quite nice to have a coreaudio vorbis decoder, and if it worked well, it'd certainly be nice to include something like that in the player bundle

Hmmmm... very cool idea. A player for Mac like foobar2000..I don't have a Mac, but my old brother and some friends that use Mac computers for audio would be very interested with this player, and they could recommend it.

I was planning on releasing a revision of this importer earlier tonight, but I think I might hold off for a few days to polish up some of the rough edges and improve handling of other formats I haven't tested as much with yet.

Anyway, here's a preview of what the latest version is looking like with MPC:

Groovy beans, btw, if you need a good mirror, I will be glad to give you some webspace with unlimited bandwidth I own monkeydev.org too if you need a website It is located in the US, San Francisco My MSN is chs@phucknut.net.

I shall check this thread periodically to give your importer some testing. Also, any chance of some source code?!