You are here: Home » Reply

Reply To: flac [email protected] OS X

#16117

rpedde
Participant

@Labchip wrote:

Thanks for the info and your patience. I tried to follow your steps, but I seem to have run into some trouble. I will try to outline what I did; perhaps you can tell me what I did wrong.

My monitor conked out last week, so I didn’t get much time on my mini. But I did try make a first attempt using SSH & VNC.

So I updated DarwinPorts to the newest version, and was able to get the packages libid3tag sqlite3 and flac (I think this brings version 1.1.2 while the current recommended version is 1.2.1 – but I guess I can worry about that later). I followed your instructions. Configure and make seemed to proceed without throwing out any drastic error messages.

Then from the ~/firefly/mt-daapd-svn-1586/src/plugins/.libs folder, I copied 3 files: ssc-script.so , rsp.so , and out-daap.so to the /Library/PreferencePanes/Firefly.prefPane/Contents/Resources/Firefly Helper.app/Contents/Resources/Server/plugins folder

That’s when I wasn’t too sure how to proceed. The only file that seemed to be the firefly binary with flac support, was a 528980 size executable file called ‘mt-daapd’ located in ~/firefly/mt-daapd-svn-1586/src/ . Is this correct? or am I hopelessly off target? So I copied this file as firefly to the folder /Library/PreferencePanes/Firefly.prefPane/Contents/Resources/Firefly Helper.app/Contents/Resources/Server/firefly . I noticed that the size was slightly less than half of the previous firefly file – but I thought perhaps it was because the original was a universal binary and this was not.

So then I tried to start the server from the preference pane, but it would not launch. Here is what the log says:

2008-02-20 12:26:34 (a000ed88): Firefly Version svn-1586: Starting with debuglevel 2
2008-02-20 12:26:34 (a000ed88): Plugin loaded: ssc-script/svn-1586
2008-02-20 12:26:34 (a000ed88): Plugin loaded: rsp/svn-1586
2008-02-20 12:26:34 (a000ed88): Plugin loaded: daap/svn-1586
2008-02-20 12:26:34 (a000ed88): Starting rendezvous daemon
2008-02-20 12:26:34 (a000ed88): Starting signal handler
2008-02-20 12:26:34 (a000ed88): Error opening db: No backend database support for type: sqlite

Any suggestions?

Thanks!

Ah, yes. You’ll need to change the db_type in your config file (~/Library/Application Support/Firefly/firefly.conf) to sqlite3, rather than sqlite.

That should do it.

— Ron