1. scrutman's Avatar
    hey everyone.

    anyone know if firefly will be updated for 2.0?
    i love this app when we had 1.1.3 and 1.1.4 (with a little bit of hacking, it worked on 1.1.4) and would love to stream my iphone music library to my PC wirelessly like the app allowed.
    2008-08-17 09:32 PM
  2. shockme17's Avatar
    yes i agree! can someone get this working with 2.x?
    2008-09-01 09:16 AM
  3. shockme17's Avatar
    bump?
    2008-09-14 05:23 AM
  4. ChadK's Avatar
    I found this under Cydia and installed it. It didn't come with a configuration file, and it took some research to develop one. Once I got that running, the service worked. It took even more research to get a plist file created to integrate it with BossPrefs. Here's what I did:

    Create a /etc/mt-daapd.conf file
    Code:
    #
    # mt-daapd.conf
    #
    # Edited: Fri Sep 19 14:53:31 2008
    # By:     root
    #
    web_root        /usr/share/mt-daapd/admin-root
    port            3689
    admin_pw        alpine
    mp3_dir         /private/var/mobile/Media/iTunes_Control/Music
    servername      My iPhone
    runas           mobile
    playlist        /etc/mt-daapd.playlist
    extensions      .mp3,.m4a,.m4p
    db_dir          /private/var/cache/mt-daapd
    rescan_interval 300
    scan_type       2
    always_scan     1
    logfile         /var/log/mt-daapd.log
    process_m3u     1
    compress        1
    Create a /Library/LaunchDaemons/org.fireflymediaserver.mt-daapd.plist file
    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyLi....dtd">
    <plist version="1.0">
    <dict>
            <key>Label</key>
            <string>org.fireflymediaserver.mt-daapd.plist</string>
            <key>Program</key>
            <string>/usr/sbin/mt-daapd</string>
            <key>ProgramArguments</key>
            <array>
                    <string>/usr/sbin/mt-daapd</string>
            </array>
    </dict>
    </plist>
    Register your new /Library/LaunchDaemons/org.fireflymediaserver.mt-daapd.plist file with launchctl (this must be run as root)
    Code:
    launchctl load /Library/LaunchDaemonsorg.fireflymediaserver.mt-daapd.plist
    Add a new BossPrefs configuration to start/stop the server
    Code:
    Name: FireFly
    Start: launchctl start org.fireflymediaserver.mt-daapd.plist
    Stop: killall mt-daapd
    Process: /usr/sbin/mt-daapd
    Icon: /Applications/BossPrefs.app/firefly.png
    Enjoy!
    Last edited by ChadK; 2008-09-23 at 12:19 AM.
    2008-09-21 04:05 AM
  5. Beau's Avatar
    Thank you so so much ChadK - worked perfectly!
    2008-09-21 07:16 AM
  6. shockme17's Avatar
    Wow, finally!

    Though, I'm getting a Socket not found error when I try to register the plist file.

    also. where does the bossprefs configuration go?
    Last edited by shockme17; 2008-09-21 at 08:32 AM.
    2008-09-21 08:27 AM
  7. ChadK's Avatar
    I found a couple of issues and edited my original post. The mt-daapd.conf file should have the runas option set to mobile instead of root. When it is set as root, you won't be able to stop the service from BossPrefs.

    Wow, finally!

    Though, I'm getting a Socket not found error when I try to register the plist file.

    also. where does the bossprefs configuration go?
    Make sure you execute the "launchctl load" command as root. BossPrefs has a GUI interface to add new services. It's under the "config" menu.
    2008-09-21 05:07 PM
  8. shockme17's Avatar
    hmm.. now it's saying that the plist is already loaded, yet i cannot reach the server from my browser..

    is there a way to access the gui from my browser? iphonip:3689?
    2008-09-22 07:04 PM
  9. ChadK's Avatar
    hmm.. now it's saying that the plist is already loaded, yet i cannot reach the server from my browser..

    is there a way to access the gui from my browser? iphonip:3689?
    As root execute:
    Code:
    launchctl unload /Library/LaunchDaemonsorg.fireflymediaserver.mt-daapd.plist
    launchctl load /Library/LaunchDaemonsorg.fireflymediaserver.mt-daapd.plist
    Then reboot your iPhone.

    You can access the web interface (when it's running) by browsing to:

    http://127.0.0.1:3689

    Don't leave off the http either.
    2008-09-23 12:10 AM
  10. GrandmaPearl's Avatar
    doesnt the app SIMPLIFY MEDIA do the same thing? it was free when i got it in he app store.. i might be mistaken though..
    2008-09-23 05:19 AM
LINK TO POST COPIED TO CLIPBOARD