You are here: Home » Topic » Firefly OS X Setup

Firefly OS X Setup

Viewing 15 posts - 1 through 15 (of 23 total)
  • Author
    Posts
  • #300
    NA9D
    Participant

    Ron,

    I’m coming over here and posting following your lead from the forum over at Roku. You said we should ask here about setting up firefly for Mac OS X while you are waiting to release the full OS X version.

    So how do we go about doing this?

    Thanks,

    Jon

    #4747
    rpedde
    Participant

    @NA9D wrote:

    Ron,

    I’m coming over here and posting following your lead from the forum over at Roku. You said we should ask here about setting up firefly for Mac OS X while you are waiting to release the full OS X version.

    So how do we go about doing this?

    Okay. There are several steps. In order to compile any package from source, you need to have a compiler and the build tools. You can get that from the XCode disc that came with your OSX. Just install those packages. When you get done, you should be able to go to a terminal and type “gcc” and it should respond with “gcc: no input files”, or words to that effect.

    Once you have that, you’ll need to install fink. Fink has pre-packaged versions of lots of popular open-source packages for OSX. We’ll use fink to install the dependent packages for firefly. You can follow the instructions here to install it.

    Once you have it installed, and have done the selfupdate, like the installation documents describe, then install libid3tag-shlibs, libid3tag, sqlite, and sqlite-dev.

    Those are the mp3 tag reading libraries and the database libraries necessary to build firefly.

    Now to build firefly. Go to the nightlies page and download the tar.gz file.

    You can untar it anywhere you want, but I usually untar it in a directory called “working” in my home directory. Here’s how I would build the package from the terminal:


    [email protected]:~$ mkdir working
    [email protected]:~$ cd working
    [email protected]:~/working$ /usr/bin/curl http://nightlies.mt-daapd.org/mt-daapd-svn-1082.tar.gz | tar -xvzf -
    [email protected]:~/working$ cd mt-daapd-svn-1082
    [email protected]:~/working/mt-daapd-svn-1082$ ./configure --enable-sqlite --with-id3tag=/sw --prefix=$HOME



    [email protected]:~/working/mt-daapd-svn-1082$ make; make install

    Now it’s built and installed into your home directory. The binary is in ~/sbin, the configuration file is in ~/etc.

    Go into the new “etc” directory in your home directory and edit the config file using textedit or something. You’ll need to change the mp3_dir to something more correct. Maybe “/Users//Music”.

    Then, from the terminal, change to the sbin directory in your home directory, and run it in the foreground.


    [email protected]:~$ cd sbin
    [email protected]:~/sbin$ ./mt-daapd -d5 -f -y

    It should start up in debug mode, and you should see songs streaming by, as it indexes them. Once it’s done, then you should be able to see it from iTunes and the soundbridge.

    There are other things that can be done from here, like running it in the background and stuff, but this is where to start.

    Once you get to this point, I can guide you toward the rest of it.

    — Ron

    #4748
    NA9D
    Participant

    Thanks! I have X-Code already installed (I think there’s a new version that just came out – I’ll pull that from the ADC website). And I have Fink installed as well. I’ll try messing with it this weekend.

    I see though why you’d want to wrap the nice OS X stuff around it to make it easier to install for the average user though! 🙂

    #4749
    eddieb
    Participant

    I can confirm that the way ron describes work with xCode 2.3.
    I am building mt-daapd this way on my xserve since 0.2.3 and it works fine …
    I just have a different last step :
    sudo make install …
    To put stuff as root …

    Eddie

    #4750
    rpedde
    Participant

    @eddieb wrote:

    I can confirm that the way ron describes work with xCode 2.3.
    I am building mt-daapd this way on my xserve since 0.2.3 and it works fine …
    I just have a different last step :
    sudo make install …
    To put stuff as root …

    Eddie

    I’ve got him prefixing to $HOME, once we’ve verified that works, then I’ll have him install it in /usr/local or something.

    — Ron

    #4751
    NA9D
    Participant

    @rpedde wrote:

    Once you have it installed, and have done the selfupdate, like the installation documents describe, then install libid3tag-shlibs, libid3tag, sqlite, and sqlite-dev.

    OK, I got the libid3tag items installed and compiled from Fink no problem. But there are no sqlite items listed. Where do I get those from?

    Thanks,

    Jon

    #4752
    rpedde
    Participant

    @NA9D wrote:

    @rpedde wrote:

    Once you have it installed, and have done the selfupdate, like the installation documents describe, then install libid3tag-shlibs, libid3tag, sqlite, and sqlite-dev.

    OK, I got the libid3tag items installed and compiled from Fink no problem. But there are no sqlite items listed. Where do I get those from?

    do a “fink selfupdate”

    that should make them appear.

    — Ron

    #4753
    NA9D
    Participant

    @rpedde wrote:

    do a “fink selfupdate”

    that should make them appear.

    — Ron

    HMM…I did.. Not there. I’ll try it again..

    edit: OK. I did a self update again and this time forced everything to re-load. The sqlite items are there now.

    #4754
    NA9D
    Participant

    OK. I have the latest version, 1130, compiled and installed. It’s recognizing my music library and has loaded the songs. But…

    When I try to play anything from my Soundbridge, I get:


    Bus error
    madeira:~/sbin jon$ Rendezvous socket closed (daap server crashed?) Aborting.
    Aborting

    So…I can’t play anything.

    Also, I thought that Firefly was supposed to support all my iTunes playlists? But after connecting to the library, I don’t see any playlists at all. Is there a config setting for this?

    Thanks,

    Jon

    #4755
    NA9D
    Participant

    Anything? The software isn’t doing much good if I can’t use it. Why am I getting these disconnect errors?

    #4756
    rpedde
    Participant

    @NA9D wrote:

    Anything? The software isn’t doing much good if I can’t use it. Why am I getting these disconnect errors?

    Ya, sorry. bug on my side. I’m working to try and get a new build posted. You can work around it by adding this:


    [plugins]
    plugin_dir=/Users//share/mt-daapd/plugins
    plugins=rsp.so

    Make sure that rsp.so exists in that directory, and fire it up.

    #4757
    NA9D
    Participant

    OK. That fixed it. Thanks. I’m up and running.

    What is next in the process?

    Also, I thought I read that Firefly is able to utilize playlists created in iTunes? I don’t see how to do that and I’d hate to have to rebuild my playlists all over (which I can’t get to work in the web interface). And also, does your software have the ability to handle audio streams in the library?

    Thanks,

    Jon

    #4758
    rpedde
    Participant

    @NA9D wrote:

    OK. That fixed it. Thanks. I’m up and running.

    What is next in the process?

    Also, I thought I read that Firefly is able to utilize playlists created in iTunes? I don’t see how to do that and I’d hate to have to rebuild my playlists all over (which I can’t get to work in the web interface). And also, does your software have the ability to handle audio streams in the library?

    Thanks,

    Jon

    Set process_m3u to 1 in the config file, and it will pick up playlists, including those done by iTunes.

    As far as audio streams, it does handle audio streams, but it doesn’t pick them up from iTunes. I meant to do that, but forgot.

    I just put in a bug report for that, though, so I’ll get to it soon.

    — Ron

    #4759
    NA9D
    Participant

    Sweet! Thanks.

    Now, one more bother to you…

    What do I need to do to run this in the background? Based on your comments:

    There are other things that can be done from here, like running it in the background and stuff, but this is where to start.

    What is next then in setting up and getting fully running?

    Thanks,

    Jon

    #4760
    NA9D
    Participant

    Ron,

    Thanks for the tip on the playlists – it worked.

    But now I have a number of other “Playlists” including several IP addresses, and I also have my Roku’s in there as playlists. Not sure what these are or why but the real playlists seem to work good.

    How do I add a stream in Firefly until streams from iTunes are supported?

    Jon

    EDIT: I figured out what those “odd” playlists were. I had some old Shoutcast M3U files or something similar in my Music directory. I removed those and now things are all clean..Working well..Now just for internet streams from iTunes! 🙂

Viewing 15 posts - 1 through 15 (of 23 total)
  • The forum ‘Setup Issues’ is closed to new topics and replies.