Working on "cut and paste" cheat sheet for MSS

FireFly Media Server (formerly mt-daapd) Firefly Media Server Forums Firefly Media Server Setup Issues Working on "cut and paste" cheat sheet for MSS

Viewing 1 post (of 1 total)
  • Author
  • #2027

    Firefly 1673 is working perfectly on my MSS. It’s an amazing program once you get it running. I like it so much I went out and bought another MSS for a friend. The thing is, I haven’t been able to get his working. The hardest part is that I’m not very good at all of this, and he is worse. I’ve been trying to get his working by asking his 14-year-old son to edit files on the MSS using Putty, and I’m trying to create a simple “cut & paste” cheat sheet in Notepad that will enable him to edit the startup, config, and rendezvous files efficiently.

    One challenge with this approach is that the buffer in Putty makes it impossible to copy and paste the entire config file if you leave in all of the commentary. From what I gather, any lines preceded by a “#” do not affect the server, so I edited them out, and created the attached file. Unfortunately, something still isn’t right.

    Kindly take a close look at the file below, and tell me what you think might be wrong.

    Thank you!


    Copy, and then paste this into Putty by clicking the right mouse button after the “#” to edit the startup file:
    LD_LIBRARY_PATH=/opt/lib /opt/bin/nano /opt/etc/init.d/S60mt-daapd

    Start at the first line, delete everything by holding down CTRL+K, select and copy the code below, then paste it into Putty by clicking the right mouse button. Then write the file by pressing CTRL+O, “enter” to save the file, and CTRL+X to exit the editor.


    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/lib
    if [ -n “`pidof mt-daapd`” ] ; then killall mt-daapd 2>/dev/null
    sleep 2
    /opt/lib/ /opt/sbin/mt-daapd -c /opt/etc/mt-daapd/mt-daapd.conf

    Confirm the startup configuration with this:
    cat /opt/etc/init.d/S60mt-daapd


    Edit the mt-daapd configuration With this:
    LD_LIBRARY_PATH=/opt/lib /opt/bin/nano /opt/etc/mt-daapd/mt-daapd.conf

    Delete everything with CTRL+K, copy and paste the code below, then write files by pressing CTRL+O, “enter” to save the file, and CTRL+X to exit the editor.


    web_root = /shares/mss-hdd/__opt/share/mt-daapd/admin-root
    port = 3689
    admin_pw = mt-daapd
    db_type = sqlite
    db_parms = /shares/mss-hdd/__opt/var/mt-daapd
    mp3_dir = /shares/mss-hdd/Public/Music
    runas = guest
    playlist = /opt/etc/mt-daapd/mt-daapd.playlist
    extensions = .mp3,.m4a,.m4p,.ogg,.flac
    ssc_codectypes = ogg,flac,alac
    ssc_prog = /opt/sbin/
    rescan_interval = 600
    always_scan = 0
    process_m3u = 0
    scan_type = 0
    plugin_dir = /shares/mss-hdd/__opt/share/mt-daapd/plugins

    Confirm with this:
    # cat /opt/etc/mt-daapd/mt-daapd.conf

    Edit the Rendezvous configuration file with this:
    LD_LIBRARY_PATH=/opt/lib /opt/bin/nano /shares/mss-hdd/__bonjour/etc/rendezvous.conf

    Mine looks like this:

    MAXTOR_JSK Information

    MAXTOR_JSK Configuration

    MAXTOR_JSK Name Service

    MAXTOR_JSK Session Service

    Check the rendezvous configuration with this
    cat /shares/mss-hdd/__bonjour/etc/rendezvous.conf

    Type “reboot” to reboot the MSS. You will need to press the button on the front to turn it back on.

    Once the light is green, type ps auxw to see if the firefly server starts. If it does, ps auxw should look something like this:

    BusyBox v1.00-pre2 (2006.02.01-23:21+0000) Built-in shell (msh)
    Enter ‘help’ for a list of built-in commands.

    # ps auxw
    PID Uid VmSize Stat Command
    1 root 356 S init
    2 root SW< [keventd]
    3 root SWN [ksoftirqd_CPU0]
    4 root SW [kswapd]
    5 root SW [bdflush]
    6 root SW [kupdated]
    7 root SW [mtdblockd]
    8 root SW [khubd]
    13 root SW< [mdrecoveryd]
    26 root SW [eth0_link_event]
    32 root SW [gpio_out_pulse]
    33 root SW [button_notify_u]
    36 root SW< [ksed]
    37 root SW [ksechanged]
    41 root SW< [raid1d]
    46 root SW< [raid1d]
    49 root SW [kreiserfsd]
    78 root 60 S httpd
    107 root 76 S /usr/local/samba/sbin/smbd
    109 root 572 S /usr/local/samba/sbin/nmbd
    196 root 128 S restore
    204 root 48 S hnscontrol
    208 root 232 S fanctl 47 65
    211 root SW discoveryd
    214 root 284 S utelnetd
    222 root SW netlink
    226 root 24 S mDNSResponderPosix -f /shares/mss-hdd/__bonjour/etc/r
    248 root 104 S /opt/lib/ /opt/sbin/mt-daapd -c /opt/etc/mt-da
    249 root 204 S /opt/lib/ /opt/sbin/mt-daapd -c /opt/etc/mt-da
    261 root 204 S /opt/lib/ /opt/sbin/mt-daapd -c /opt/etc/mt-da
    262 root 204 S /opt/lib/ /opt/sbin/mt-daapd -c /opt/etc/mt-da
    4308 root 704 S < /usr/local/samba/sbin/smbd
    4554 root 588 S /bin/sh
    4555 root 652 R ps auxw

    If it doesn’t, try to turn on the server with this line:

    Check again to see if it’s running with this line:
    ps auxw

    If not, try this:
    opt/lib/ /opt/sbin/mt-daapd -f -c /opt/etc/mt-daapd/mt-daapd.conf -y &

    Once you get it running, it will take a while to index the music – just let it rip.Once you get it running, it will take a while to index the music – just let it rip.

Viewing 1 post (of 1 total)
  • The forum ‘Setup Issues’ is closed to new topics and replies.