You are here: Home » Reply

Reply To: Firefly, sharing iphone music TO iTunes on V2 firmware

#17492

Anonymous

@ChadK wrote:

  1. Install FireFly Media Server via Cydia
  2. SSH to your iPhone as root and create an /etc/mt-daapd.conf file:
    #
    # 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

    I recommend changing the admin password.

  3. Create a /Library/LaunchDaemons/org.fireflymediaserver.mt-daapd.plist file




    Label
    org.fireflymediaserver.mt-daapd.plist
    Program
    /usr/sbin/mt-daapd
    ProgramArguments

    /usr/sbin/mt-daapd


  4. Register your new /Library/LaunchDaemons/org.fireflymediaserver.mt-daapd.plist file with launchctl:
    launchctl load /Library/LaunchDaemons/org.fireflymediaserver.mt-daapd.plist
  5. Add a BossPrefs custom service to start and stop the server
    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
  6. Enjoy your music

FireFly won’t stay on in Boss Prefs. It stops every time I leave the Boss Prefs screen. For that matter, it doesn’t auto-start either. (Basically I have not been able to get it to work at all.) There are also TWO FireFly controls listed in Boss Prefs – even though I only added ONE.

I copied and pasted the conf and plist directly from your post. Are there permissions chmod/chown that need to be set?

Doesn’t start from command line either – indicating that I’ve done something wrong. While I try to figure out what it is, can you suggest places to look?