FLAC spotlight importer problems

Discuss macOS Audio in general and anything that doesn't fit elsewhere.
felix26591
Posts: 7
Joined: Mon Apr 27, 2009 2:59 pm

FLAC spotlight importer problems

Post by felix26591 » Mon Apr 27, 2009 3:09 pm

I tried installing both importers on my system, the ogg importer installer worked perfectly. But the FLAC importer has no installer and when i place the .mdimporter file in the spotlight components and still it doesn't work. can anybody help me with this.

Thanks
Felix

User avatar
sbooth
Site Admin
Posts: 2445
Joined: Fri Dec 23, 2005 7:45 am
Location: USA
Contact:

Re: FLAC spotlight importer problems

Post by sbooth » Mon Apr 27, 2009 10:32 pm

Did you place the item in either /Library/Spotlight or ~/Library/Spotlight? If so, can you try running mdimport -L in Terminal and see if the importer is being found?

felix26591
Posts: 7
Joined: Mon Apr 27, 2009 2:59 pm

Re: FLAC spotlight importer problems

Post by felix26591 » Tue Apr 28, 2009 5:21 pm

Thanks for your help, I had already placed it in library/spotlight when i run mdimport -L it recognizes the FLAC plugin but I still can't see FLAC information in spotlight.

Thanks
Felix

User avatar
sbooth
Site Admin
Posts: 2445
Joined: Fri Dec 23, 2005 7:45 am
Location: USA
Contact:

Re: FLAC spotlight importer problems

Post by sbooth » Wed Apr 29, 2009 2:59 am

If you type mdimport -d 1 /path/to/a/flac what information is output?

felix26591
Posts: 7
Joined: Mon Apr 27, 2009 2:59 pm

Re: FLAC spotlight importer problems

Post by felix26591 » Wed Apr 29, 2009 4:20 am

When I write mdimport -d 1 /path/to/a/flac in terminal nothing comes up no info nothing.

User avatar
sbooth
Site Admin
Posts: 2445
Joined: Fri Dec 23, 2005 7:45 am
Location: USA
Contact:

Re: FLAC spotlight importer problems

Post by sbooth » Wed Apr 29, 2009 2:39 pm

felix26591 wrote:When I write mdimport -d 1 /path/to/a/flac in terminal nothing comes up no info nothing.
I should have elaborated a bit- please substitute in the path to an actual FLAC file for /path/to/a/flac.

felix26591
Posts: 7
Joined: Mon Apr 27, 2009 2:59 pm

Re: FLAC spotlight importer problems

Post by felix26591 » Wed Apr 29, 2009 4:04 pm

OK, now i did that I wrote this path to the flac file mdimport -d 1 /Users/felixperez/Desktop/01 - City Gate.flac and still nothing came up.

User avatar
sbooth
Site Admin
Posts: 2445
Joined: Fri Dec 23, 2005 7:45 am
Location: USA
Contact:

Re: FLAC spotlight importer problems

Post by sbooth » Wed Apr 29, 2009 9:32 pm

You get no output at all? That is strange- as a minimum you should see something that says "Imported 'xxxx' of type 'yyy' with ZZZ plugIn.

RonaldPR
Posts: 433
Joined: Tue May 30, 2006 8:27 am
Location: Amsterdam, Netherlands

Re: FLAC spotlight importer problems

Post by RonaldPR » Thu Apr 30, 2009 8:06 am

There are spaces in the path. In Terminal spaces (and several other characters) need to be preceded by a backslash:

mdimport -d 1 /Users/felixperez/Desktop/01\ -\ City\ Gate.flac

and, of course, you must hit enter (or return) after typing that line.

felix26591
Posts: 7
Joined: Mon Apr 27, 2009 2:59 pm

Re: FLAC spotlight importer problems

Post by felix26591 » Thu Apr 30, 2009 3:00 pm

After typing this mdimport -d 1 /Users/felixperez/Desktop/01\ -\ City\ Gate.flac i get this in terminal.

2009-04-30 09:58:04.600 mdimport[236] CFLog (21): Error loading /Library/Spotlight/FLAC Spotlight Importer.mdimporter/Contents/MacOS/FLAC Spotlight Importer: error code 4, error number 0 (Symbol not found: _chmod$UNIX2003
Referenced from: /Library/Spotlight/FLAC Spotlight Importer.mdimporter/Contents/MacOS/FLAC Spotlight Importer
Expected in: /usr/lib/libSystem.B.dylib
)
2009-04-30 09:58:04.605 mdimport[236] CFLog (22): Cannot find function pointer MetadataImporterPluginFactory for factory E6122CC3-0318-4188-A11E-107035E84EF8 in CFBundle/CFPlugIn 0x423650 </Library/Spotlight/FLAC Spotlight Importer.mdimporter> (bundle, not loaded)
2009-04-30 09:58:04.607 mdimport[236] Import '/Users/felixperez/Desktop/01 - City Gate.flac' type 'org.xiph.flac' no mdimporter


Thanks for the Help Ronald same Sbooth

User avatar
sbooth
Site Admin
Posts: 2445
Joined: Fri Dec 23, 2005 7:45 am
Location: USA
Contact:

Re: FLAC spotlight importer problems

Post by sbooth » Thu Apr 30, 2009 8:30 pm

Are you running on Leopard or Tiger?

felix26591
Posts: 7
Joined: Mon Apr 27, 2009 2:59 pm

Re: FLAC spotlight importer problems

Post by felix26591 » Thu Apr 30, 2009 8:52 pm

Tiger

User avatar
sbooth
Site Admin
Posts: 2445
Joined: Fri Dec 23, 2005 7:45 am
Location: USA
Contact:

Re: FLAC spotlight importer problems

Post by sbooth » Thu Apr 30, 2009 9:37 pm

I just uploaded a version built for Tiger on http://files.sbooth.org- I may have mistakenly linked to 10.5 libraries in the current posted version. Please try the one labeled FLACImporter-Tiger and let me know how it works for you.

felix26591
Posts: 7
Joined: Mon Apr 27, 2009 2:59 pm

Re: FLAC spotlight importer problems

Post by felix26591 » Fri May 01, 2009 5:57 am

Well this worked but it has a bug, all FLAC files already created in the system before you install the plugin aren't recognized. I had to move each song in each album to another location and then put it back for the plugin to recognize it. But when i create a new FLAC file it recognizes it without a problem.

Thanks Sbooth
Felix :D

dglow
Posts: 2
Joined: Sun Feb 21, 2010 7:55 pm

Re: FLAC spotlight importer problems

Post by dglow » Sun Feb 21, 2010 8:08 pm

First and foremost, thank you for the FLAC Importer, Stephen. I very much look forward to using it, hence this question. I've run through the steps and suggestions in this thread and am currently seeing the following in response to mdimport -d 1:

Code: Select all

2010-02-21 10:31:24.233 mdimport[32498:10b] Imported '/Users/dglow/Music/Help.flac' of type 'org.perian.flac' with no plugIn.
Which leads me to believe Perian owns the UTI association for FLAC. Is that diagnosis accurate? What is the best way to correct this?

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest