Can’t play FLAC or OGG transcode but can play MP3

FireFly Media Server Firefly Media Server Forums Firefly Media Server Setup Issues Can’t play FLAC or OGG transcode but can play MP3

Viewing 10 posts - 11 through 20 (of 39 total)
  • Author
    Posts
  • #14436
    sonichouse
    Participant

    Not sure, but if I try to touch the file listed I get

    touch: cannot touch `New Order - (The Best Of)/(01) New Order - True Faith '94.flac': No such file or directory

    Must be a problem with escaping ?

    Can you do a

    ls -Q

    on that directory

    #14437
    Anonymous
    Inactive

    -Q didn’t work on the NLSU2, so I had to run ls -l to list them out.

    # ls -1
    (01) New Order – True Faith ’94.flac
    (02) New Order – Bizarre Love Triangle ’94.flac
    (03) New Order – 1963 ’94.flac
    (04) New Order – Regret.flac
    (05) New Order – Fine Time.flac
    (06) New Order – The Perfect Kiss.flac
    (07) New Order – Shell Shock.flac
    (08) New Order – Thieves Like Us.flac
    (09) New Order – Vanishing Point.flac
    (10) New Order – Run 2.flac
    (11) New Order – Round & Round ’94.flac
    (12) New Order – World (Price of Love).flac
    (13) New Order – Ruined In a Day.flac
    (14) New Order – Touched By The Hand of God.flac
    (15) New Order – Blue Monday ’88.flac
    (16) New Order – World In Motion.flac

    But I’ve done an ls -Q when it is mounted through Ubuntu if that’s any help

    “(01) New Order – True Faith ’94.flac”
    “(02) New Order – Bizarre Love Triangle ’94.flac”
    “(03) New Order – 1963 ’94.flac”
    “(04) New Order – Regret.flac”
    “(05) New Order – Fine Time.flac”
    “(06) New Order – The Perfect Kiss.flac”
    “(07) New Order – Shell Shock.flac”
    “(08) New Order – Thieves Like Us.flac”
    “(09) New Order – Vanishing Point.flac”
    “(10) New Order – Run 2.flac”
    “(11) New Order – Round & Round ’94.flac”
    “(12) New Order – World (Price of Love).flac”
    “(13) New Order – Ruined In a Day.flac”
    “(14) New Order – Touched By The Hand of God.flac”
    “(15) New Order – Blue Monday ’88.flac”
    “(16) New Order – World In Motion.flac”

    #14438
    sonichouse
    Participant

    Created the directory/file on my slug running 1696 I get

    2007-11-21 21:24:51 (00153404): Session 0: Streaming file '(01) New Order - True Faith '94.flac' to 192.168.100.15 (offset 0)
    2007-11-21 21:24:51 (00153404): Transcoding /share/hdd/data/public/mp3/test/New Order - (The Best Of)/(01) New Order - True Faith '94.flac with ssc-script/svn-1696
    2007-11-21 21:24:51 (00153404): Executing /opt/sbin/mt-daapd-ssc.sh "/share/hdd/data/public/mp3/test/New Order - "'('"The Best Of"')
    '"/"'('"01"')'" New Order - True Faith '94.flac" 0 3.684 "flac"
    2007-11-21 21:24:51 (00153404): Updating Content-Type from application/x-dmap-tagged to audio/wav
    2007-11-21 21:24:51 (00153404): Updating Connection from close to Close
    2007-11-21 21:24:51 (00153404): Emitting reponse header Expires: -1
    2007-11-21 21:24:51 (00153404): Emitting reponse header Cache-Control: no-cache
    2007-11-21 21:24:51 (00153404): Emitting reponse header DAAP-Server: firefly/svn-1696
    2007-11-21 21:24:51 (00153404): Emitting reponse header Accept-Ranges: bytes
    2007-11-21 21:24:51 (00153404): Emitting reponse header Content-Language: en_us
    2007-11-21 21:24:51 (00153404): Emitting reponse header Content-Type: audio/wav
    2007-11-21 21:24:51 (00153404): Emitting reponse header Server: mt-daapd/svn-1696
    2007-11-21 21:24:51 (00153404): Emitting reponse header Connection: Close
    2007-11-21 21:24:51 (00153404): Emitting reponse header Date: Wed, 21 Nov 2007 21:24:51 GMT
    2007-11-21 21:24:53 (00153404): Entering config_set_status
    2007-11-21 21:24:53 (00153404): Exiting config_set_status
    2007-11-21 21:24:53 (00153404): Executing: update songs set play_count=play_count + 1, time_played=1195680293 where id=3333
    2007-11-21 21:24:53 (00153404): Rows: 1

    And it worked 😕

    I have flac 1.2.1 installed.

    #14439
    Anonymous
    Inactive

    Thanks for the help
    Looking at your output the differences I can spot are

    Updating Content-Type from application/x-dmap-tagged to audio/wav

    and the extra lines

    2007-11-21 21:24:51 (00153404): Emitting reponse header Expires: -1
    2007-11-21 21:24:51 (00153404): Emitting reponse header Cache-Control: no-cache
    2007-11-21 21:24:51 (00153404): Emitting reponse header DAAP-Server: firefly/svn-1696
    2007-11-21 21:24:51 (00153404): Emitting reponse header Accept-Ranges: bytes

    after the updating connection from close to Close.

    No idea what this means though.
    Not sure what version of flac I’m using but will try and find out.

    #14440
    sonichouse
    Participant

    @Eddy5 wrote:

    Thanks for the help
    ….
    Not sure what version of flac I’m using but will try and find out.

    No problem, I just did flac -v to get the version installed.

    #14441
    Anonymous
    Inactive

    Hmmm, telneted into the NLSU2 when I do flac -v from the opt/bin directory it shows

    flac: No such file or directory

    Which seems to be the result for all other files in that folder, apart from bash.

    #14442
    Anonymous
    Inactive

    Oh wait

    /opt/sbin/mt-daapd-ssc.sh “/disk1/UserAccess/FLACs/BT – Ima/(02) BT – Quark.flac” > “/disk1/UserAccess/FLACs/test.wav”

    does work, well sort of. I get a wav file out, but get wavstreamer: read failed error.
    Looking at the wav properties in Ubuntu it’s shown as a audio/x-wav

    #14443
    sonichouse
    Participant

    Daft question I know, but is /opt/bin in your PATH for that shell ?

    #14444
    Anonymous
    Inactive

    $PATH
    /sbin:/bin:/usr/sbin:/usr/bin: No such file or directory

    Oh and the wav plays directly fine in Windows/Ubuntu

    #14445
    sonichouse
    Participant

    @Eddy5 wrote:

    I get a wav file out, but get wavstreamer: read failed error.

    Looks like you need to specify the length when testing e.g.

    /opt/sbin/mt-daapd-ssc.sh “/share/hdd/data/public/mp3/test/New Order – (The Best Of)/(01) New Order – True Faith ’94.flac” 0 3 >test.wav

    This created a wav file.
    If I leave out the final param I get the read error.

Viewing 10 posts - 11 through 20 (of 39 total)
  • The forum ‘Setup Issues’ is closed to new topics and replies.