You are here: Home » Topic » Firefly now running on unmodifed Linkstation Live/Pro

Firefly now running on unmodifed Linkstation Live/Pro

FireFly Media Server (formerly mt-daapd) Firefly Media Server Forums Firefly Media Server General Discussion Firefly now running on unmodifed Linkstation Live/Pro

This topic contains 36 replies, has 12 voices, and was last updated by  Anonymous 9 years, 9 months ago.

Viewing 15 posts - 1 through 15 (of 37 total)
  • Author
    Posts
  • #1571

    bawbagg
    Participant

    I’ve been able to get Firefly running on my unmodded Linkstation Live (with a 500GB disk 😉 ).

    It loads 4000 songs into my Soundbridge in 1/2 the time it took my slug 😀 .

    Linkstation Live seem very well priced for the spec these days (150UKP for 500GB version – and the have GB ethernet too).

    I posted a detailed howto on the Linkstation forums – thread is http://forum.linkstationwiki.net/viewtopic.php?f=39&t=3509

    Hope this is useful / interesting for some!!

    Cheers,

    BB

    #11732

    richdunlop
    Participant

    That’s a very useful write up. Would you consider adding it to the Firefly wiki (wiki.fireflymediaserver.org)?

    #11733

    bawbagg
    Participant

    I’ll have a bash.

    Hopefully I can re-use the wiki code over at the LSWiki too.

    [edit]
    Wasn’t too bad. Page is now up http://wiki.fireflymediaserver.org/Linkstation_Live_Pro_Install

    BB

    #11734

    rpedde
    Participant

    @bawbagg wrote:

    I’ll have a bash.

    Hopefully I can re-use the wiki code over at the LSWiki too.

    [edit]
    Wasn’t too bad. Page is now up http://wiki.fireflymediaserver.org/Linkstation_Live_Pro_Install

    BB

    Woot!

    Thanks!

    Add yourself to the credits page, as well.

    — Ron

    #11735

    richdunlop
    Participant

    Fantastic :D. That plugs a big gap in the install guides section.

    It also looks very easy to follow which means the Linkstation may be a good alternative for those daunted by a slug install.

    #11736

    bawbagg
    Participant

    @richdunlop wrote:

    It also looks very easy to follow which means the Linkstation may be a good alternative for those daunted by a slug install.

    Just need someone to verify it works now!!!

    The devs at Linkstationwiki seem confident, but I’d like to see a post from someone with a 100% stock and unmodified LS say it worked for them. I had fiddled about a little bit with libraries before trying this out so there’s an outside chance I got something working by accident 😯 .

    That said, assuming this process does work, then it is BY FAR the easiest way to get Firefly running on a NAS. I have a slug, and the reflashing from NSLU2 was by no means an enjoyable experience!! The Linkstation Live/Pro process really is a piece of cake, with no reflashing required. Splendid – all credit to the smart guys at Linkstationwiki.

    BB

    #11737

    fizze
    Participant

    Linkstation != Linksys 😉

    Yes, but this is only because the folks at Linksys (NSLU2) decided to exclude telnet access and whatnot.
    Anyhow, I wanna get a Terastation Live, but I’ll deffo keep my slug 😉

    #11738

    bawbagg
    Participant

    Whoops!!!! 😳 😳

    OP now corrected!!!!

    Thx!!!

    BB

    #11739

    mave
    Participant

    Hi,

    I tried the instructions at http://wiki.fireflymediaserver.org/Linkstation_Live_Pro_Install and now Firefly runs on my LinkStation Live (which was 100% unmodified before, because I received it 2 days ago).

    Congratulations, the instructions are very good and even a Linux newbie like me could follow it without problems. 😀

    But there is a big problem:

    My Roku M1000 connects to the LinkStation and I can browse through my Songs (all in flac-format) but I can not play anyone of them. Additionally I added some Songs in MP3-format and they work, i.e. the Roku can play them without problem.

    But for every flac-Song my Roku tells me that it can’t play that song and asks me if it should try the next one.

    : Connection: non-persist
    2007-07-20 09:00:03 (41b7a520): Thread 138: Original URI: /rsp/stream/4633
    2007-07-20 09:00:03 (41b7a520): Thread 138: Translated URI: /rsp/stream/4633
    2007-07-20 09:00:03 (41b7a520): Thread 138: Preparing to find handler
    2007-07-20 09:00:03 (41b7a520): Checking /rsp/stream/4633 against handler for /
    2007-07-20 09:00:03 (41b7a520): Thread 138: URI Match!
    2007-07-20 09:00:03 (41b7a520): Thread 138: Time is 1184889603 seconds after epoch
    2007-07-20 09:00:03 (41b7a520): Thread 138: Setting time header
    2007-07-20 09:00:03 (41b7a520): Added *Date=Fri, 20 Jul 2007 00:00:03 GMT*
    2007-07-20 09:00:03 (41b7a520): Added *Connection=close*
    2007-07-20 09:00:03 (41b7a520): Added *Server=mt-daapd/svn-1586*
    2007-07-20 09:00:03 (41b7a520): Added *Content-Type=text/html*
    2007-07-20 09:00:03 (41b7a520): Added *Content-Language=en_us*
    2007-07-20 09:00:03 (41b7a520): Thread 138: Using non-default handler
    2007-07-20 09:00:03 (41b7a520): in main_auth
    2007-07-20 09:00:03 (41b7a520): Checking url /rsp/stream/4633
    2007-07-20 09:00:03 (41b7a520): Dispatching auth for /rsp/stream/4633 to plugin
    2007-07-20 09:00:03 (41b7a520): Checking url /rsp/stream/4633
    2007-07-20 09:00:03 (41b7a520): Dispatching /rsp/stream/4633 to rsp/svn-1586
    2007-07-20 09:00:03 (41b7a520): Checking if pw required for /rsp/stream/4633 as user
    2007-07-20 09:00:03 (41b7a520): Nope
    2007-07-20 09:00:03 (41b7a520): in main_handler
    2007-07-20 09:00:03 (41b7a520): Checking url /rsp/stream/4633
    2007-07-20 09:00:03 (41b7a520): Dispatching /rsp/stream/4633 to plugin
    2007-07-20 09:00:03 (41b7a520): Checking url /rsp/stream/4633
    2007-07-20 09:00:03 (41b7a520): Dispatching /rsp/stream/4633 to rsp/svn-1586
    2007-07-20 09:00:03 (41b7a520): Getting uri…
    2007-07-20 09:00:03 (41b7a520): Mallocing privinfo…
    2007-07-20 09:00:03 (41b7a520): Tokenizing url
    2007-07-20 09:00:03 (41b7a520): Found 5 elements
    2007-07-20 09:00:03 (41b7a520): Checking reponse 0
    2007-07-20 09:00:03 (41b7a520): Checking reponse 1
    2007-07-20 09:00:03 (41b7a520): Checking reponse 2
    2007-07-20 09:00:03 (41b7a520): Checking reponse 3
    2007-07-20 09:00:03 (41b7a520): Checking reponse 4
    2007-07-20 09:00:03 (41b7a520): Found it! Index: 4
    2007-07-20 09:00:03 (41b7a520): Executing: select * from songs where id=4633
    2007-07-20 09:00:03 (41b7a520): Entering config_set_status
    2007-07-20 09:00:03 (41b7a520): Exiting config_set_status
    2007-07-20 09:00:03 (41b7a520): Session 0: Streaming file ‘A Day Without Rain – Enya – 11 – The First Of Autumn.flac’ to 192.168.1.12 (offset 0)
    2007-07-20 09:00:03 (41b7a520): Transcoding /mnt/disk1/Music/Alben Lossless/Enya/A Day Without Rain/A Day Without Rain – Enya – 11 – The First Of Autumn.flac with ssc-script/svn-1586
    2007-07-20 09:00:03 (41b7a520): Executing /usr/local/bin/mt-daapd-ssc.sh “/mnt/disk1/Music/Alben Lossless/Enya/A Day Without Rain/A Day Without Rain – Enya – 11 – The First Of Autumn.flac” 0 190.066 “flac”
    2007-07-20 09:00:03 (41b7a520): Updating Content-Type from text/html to audio/wav
    2007-07-20 09:00:03 (41b7a520): Updating Connection from close to Close
    2007-07-20 09:00:03 (41b7a520): Emitting reponse header Content-Language: en_us
    2007-07-20 09:00:03 (41b7a520): Emitting reponse header Content-Type: audio/wav
    2007-07-20 09:00:03 (41b7a520): Emitting reponse header Server: mt-daapd/svn-1586
    2007-07-20 09:00:03 (41b7a520): Emitting reponse header Connection: Close
    2007-07-20 09:00:03 (41b7a520): Emitting reponse header Date: Fri, 20 Jul 2007 00:00:03 GMT
    2007-07-20 09:00:03 (41b7a520): Entering config_set_status
    2007-07-20 09:00:03 (41b7a520): Exiting config_set_status
    2007-07-20 09:00:03 (41b7a520): Thread 138: Terminating
    2007-07-20 09:00:03 (41b7a520): Thread 138: Freeing request headers
    2007-07-20 09:00:03 (41b7a520): Thread 138: Freeing response headers
    2007-07-20 09:00:03 (41b7a520): Thread 138: Freeing request vars
    2007-07-20 09:00:03 (41b7a520): Thread 138: Closing fd
    2007-07-20 09:00:03 (41b7a520): With thread 138 exiting, 0 are still running
    2007-07-20 09:00:04 (4032e550): Got CLD signal. Reaping
    2007-07-20 09:00:05 (4032e550): select(8, 5.000000)
    2007-07-20 09:00:07 (41b7a520): Thread 139: Entering ws_dispatcher (Connection from 192.168.1.12)
    2007-07-20 09:00:07 (41b7a520): Thread 139: got request
    2007-07-20 09:00:07 (41b7a520): Request: GET /rsp/db/0?query=id%3D4634&type=full HTTP/1.0

    2007-07-20 09:00:07 (41b7a520): Thread 139: Read: User-Agent: Roku SoundBridge/3.0

    2007-07-20 09:00:07 (41b7a520): Thread 139: Adding header *User-Agent=Roku SoundBridge/3.0*
    2007-07-20 09:00:07 (41b7a520): Added *User-Agent=Roku SoundBridge/3.0*
    2007-07-20 09:00:07 (41b7a520): Thread 139: Read: Host: 192.168.1.55:3689

    2007-07-20 09:00:07 (41b7a520): Thread 139: Adding header *Host=192.168.1.55:3689*
    2007-07-20 09:00:07 (41b7a520): Added *Host=192.168.1.55:3689*
    2007-07-20 09:00:07 (41b7a520): Thread 139: Read: Accept: */*

    2007-07-20 09:00:07 (41b7a520): Thread 139: Adding header *Accept=*/**
    2007-07-20 09:00:07 (41b7a520): Added *Accept=*/**
    2007-07-20 09:00:07 (41b7a520): Thread 139: Read: Pragma: no-cache

    2007-07-20 09:00:07 (41b7a520): Thread 139: Adding header *Pragma=no-cache*
    2007-07-20 09:00:07 (41b7a520): Added *Pragma=no-cache*
    2007-07-20 09:00:07 (41b7a520): Thread 139: Read: accept-encoding: gzip

    2007-07-20 09:00:07 (41b7a520): Thread 139: Adding header *accept-encoding=gzip*
    2007-07-20 09:00:07 (41b7a520): Added *accept-encoding=gzip*
    2007-07-20 09:00:07 (41b7a520): Thread 139: Read: accept-codecs: wma,mpeg,wav,mp4a,alac

    2007-07-20 09:00:07 (41b7a520): Thread 139: Adding header *accept-codecs=wma,mpeg,wav,mp4a,alac*
    2007-07-20 09:00:07 (41b7a520): Added *accept-codecs=wma,mpeg,wav,mp4a,alac*
    2007-07-20 09:00:07 (41b7a520): Thread 139: Read: rsp-version: 0.1

    2007-07-20 09:00:07 (41b7a520): Thread 139: Adding header *rsp-version=0.1*
    2007-07-20 09:00:07 (41b7a520): Added *rsp-version=0.1*
    2007-07-20 09:00:07 (41b7a520): Thread 139: Read: transcode-codecs: wav,mp3

    2007-07-20 09:00:07 (41b7a520): Thread 139: Adding header *transcode-codecs=wav,mp3*
    2007-07-20 09:00:07 (41b7a520): Added *transcode-codecs=wav,mp3*
    2007-07-20 09:00:07 (41b7a520): Thread 139: Read:

    2007-07-20 09:00:07 (41b7a520): Thread 139: Headers parsed!
    2007-07-20 09:00:07 (41b7a520): Checking to see if connection matches keep-alive
    2007-07-20 09:00:07 (41b7a520): Nope!
    2007-07-20 09:00:07 (41b7a520): Thread 139: Connection type HTTP/1.0

    : Connection: non-persist

    The flac files are OK because I have exactly the same library on a Windows based PC were the Roku connects and plays without any problem.

    Any idea what could be wrong, or at least any hints how find out if something is missing?

    🙂 Marcus

    #11740

    bawbagg
    Participant

    @mave wrote:

    I tried the instructions at http://wiki.fireflymediaserver.org/Linkstation_Live_Pro_Install and now Firefly runs on my LinkStation Live (which was 100% unmodified before, because I received it 2 days ago).

    Congratulations, the instructions are very good and even a Linux newbie like me could follow it without problems. 😀

    Ahhhh!!!! BRILLIANT. You are the first to verify this DOES work. Many, many thanks.

    @mave wrote:

    But there is a big problem:

    My Roku M1000 connects to the LinkStation and I can browse through my Songs (all in flac-format) but I can not play anyone of them. Additionally I added some Songs in MP3-format and they work, i.e. the Roku can play them without problem.

    OK. This is entirely possible – I don’t have any flac encoded files. I’ll try to rip one and test myself.

    The switches use during compilation of the firefly binary you downloaded are shown in this post: http://forum.linkstationwiki.net/viewtopic.php?p=33876#p33876

    It’s supposed to include flac support. I’ll need to pass this one over to the experts.

    BB

    #11741

    bawbagg
    Participant

    Yup. I ripped a .flac and tried it out. Doesn’t work for me either.

    BB

    #11742

    mave
    Participant

    Thank you for the quick response.

    This following part of the logfile looks like the transcoding works somehow:

    2007-07-20 09:00:03 (41b7a520): Session 0: Streaming file ‘A Day Without Rain – Enya – 11 – The First Of Autumn.flac’ to 192.168.1.12 (offset 0)
    2007-07-20 09:00:03 (41b7a520): Transcoding /mnt/disk1/Music/Alben Lossless/Enya/A Day Without Rain/A Day Without Rain – Enya – 11 – The First Of Autumn.flac with ssc-script/svn-1586
    2007-07-20 09:00:03 (41b7a520): Executing /usr/local/bin/mt-daapd-ssc.sh “/mnt/disk1/Music/Alben Lossless/Enya/A Day Without Rain/A Day Without Rain – Enya – 11 – The First Of Autumn.flac” 0 190.066 “flac”

    But I hope that Ron could answer that.

    🙂 Marcus

    #11743

    Kaiten
    Participant

    Hey Guys, I’m interested in this thread especially the flac files not working. it was me who compiled svn- 1571 & svn-1586 for the Linkstation boxes. I’d like to see it working fully.

    On my Dev & Prod LinkStations, the flac binaries work fine.

    Dev

    [email protected]:/# flac -d /mnt/disk1/Music/Exit1_1.flac -f

    flac 1.1.4, Copyright (C) 2000,2001,2002,2003,2004,2005,2006,2007 Josh Coalson
    flac comes with ABSOLUTELY NO WARRANTY. This is free software, and you are
    welcome to redistribute it under certain conditions. Type `flac' for details.

    Exit1_1.flac: done
    [email protected]:/#

    Prod

    [email protected]:~# flac -d /mnt/disk1/Music/Exit1_1.flac -f

    flac 1.1.4, Copyright (C) 2000,2001,2002,2003,2004,2005,2006,2007 Josh Coalson
    flac comes with ABSOLUTELY NO WARRANTY. This is free software, and you are
    welcome to redistribute it under certain conditions. Type `flac' for details.

    Exit1_1.flac: done
    [email protected]:~#

    In both these instances the wav file is produced fine.

    I have svn-1571 running on my Prod box. With the same flac binaries/libs as the Dev box, it plays flac files fine. However with svn-1586 running on the Dev box they don’t play.

    I’m playing the same file: Exit1_1.flac a 9 second audio file.

    Both logs show the same info.
    Dev

    2007-07-20 18:37:07 (424ff520): Session 0: Streaming file 'Exit1_1.flac' to 192.168.1.104 (offset 0)
    2007-07-20 18:37:08 (403305d0): Got CLD signal. Reaping

    Prod

    2007-07-20 18:37:32 (41cff520): Session 0: Streaming file 'Exit1_1.flac' to 192.168.1.104 (offset 0)
    2007-07-20 18:37:39 (4032e550): Got CLD signal. Reaping

    I’ll try recompiling svn-1586 & test on both boxes. Any way I can look further into this?

    I only test using xbmc & iTunes(OS X) with a small number of audio files, ogg, m4a, mp3 & wav. I don’t have any flac files other than the one I encoded today.

    #11744

    mave
    Participant

    Hi Kaiten,

    I checked the basic flac functionality and it works:

    [email protected]:/mnt/disk1/Music# flac -d Test.flac -f

    flac 1.1.4, Copyright (C) 2000,2001,2002,2003,2004,2005,2006,2007 Josh Coalson
    flac comes with ABSOLUTELY NO WARRANTY. This is free software, and you are
    welcome to redistribute it under certain conditions. Type `flac' for details.

    Test.flac: done
    [email protected]:/mnt/disk1/Music#

    Might be a problem with the streaming. If so, how could I debug that – is there a streaming test client?

    🙂 Marcus

    #11745

    Kaiten
    Participant

    Easy fix… I forgot the stock firmware only root has permissions for /dev/null as per http://bugtracker.linkstationwiki.net/view.php?id=86

    Alter the permissions for /dev/null for read/write access.

    chmod 0666 /dev/null

    Test please 😀

Viewing 15 posts - 1 through 15 (of 37 total)

You must be logged in to reply to this topic.