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 - 1 through 10 (of 39 total)
  • Author
    Posts
  • #1943
    Anonymous
    Inactive

    Help, I can’t seem to play transcoded files (FLAC/OGG to WAV) on my Soundbridge M1001.
    It used to play OGGs fine, so I don’t know what’s happened there, but I’ve never been able to get FLACs to work properly.
    I’m using svn-1696.
    Also MP3s stream fine to RhythmBox in Ubuntu, but the transcoded files don’t play in that either. There must be something wrong with the transcoding, but I don’t know what to do.
    Any help would be appreciated.

    #14427
    rpedde
    Participant

    @Eddy5 wrote:

    Help, I can’t seem to play transcoded files (FLAC/OGG to WAV) on my Soundbridge M1001.
    It used to play OGGs fine, so I don’t know what’s happened there, but I’ve never been able to get FLACs to work properly.
    I’m using svn-1696.
    Also MP3s stream fine to RhythmBox in Ubuntu, but the transcoded files don’t play in that either. There must be something wrong with the transcoding, but I don’t know what to do.
    Any help would be appreciated.

    What platform? Windows, nslu2?

    #14428
    Anonymous
    Inactive

    Ooops, sorry missed that vital bit of info. It’s on an NSLU2

    #14429
    rpedde
    Participant

    @Eddy5 wrote:

    Ooops, sorry missed that vital bit of info. It’s on an NSLU2

    Is it possible that you are accidentally using the 0.2.4 version and not nightlies? The nightlies packages should have everything set up and configured for transcoding.

    You can check your config and make sure you have a ssc_script, and it points to a valid script. Then you can check to see that you have the packages for transcoding installed — ivorbis-tools for ogg decoding, “flac” for flac decoding, etc.

    — Ron

    #14430
    Anonymous
    Inactive

    Thanks for the reply.
    I’m pretty sure I’m using the nightly (It shows svn-1696 on the Firefly server webpages).
    I’ve run the folloing
    ipkg install ivorbis-tools
    ipkg install flac
    ipkg install ffmpeg

    In /opt/sbin/mt-daapd-ssc.sh
    I have the lines
    WAVSTREAMER=/opt/bin/wavstreamer
    OGGDEC=/opt/bin/oggdec
    FLAC=/opt/bin/flac
    ALAC=/opt/bin/alac
    FFMPEG=/opt/bin/ffmpeg
    and I can see the relevant files these point to.

    The last 3 lines in the file
    /opt/etc/mt-daapd/mt-daapd.conf
    shows
    [plugins]
    plugin_dir = /opt/share/mt-daapd/plugins
    plugins = rsp.so,ssc-script.so

    Also in this file there are the lines
    ssc_codectypes = ogg,flac,alac
    ssc_prog = /opt/sbin/mt-daapd-ssc.sh

    Does this all sound OK?
    Anyway, I’m still not getting any joy playing FLACs.

    #14431
    Anonymous
    Inactive

    I’ve tried the following
    /opt/sbin/mt-daapd-ssc.sh “/disk1/UserAccess/FLACs/BT – Ima/(02) BT – Quark.flac” > “/disk1/UserAccess/FLACs/test.wav”
    Which results in pages if random text.
    When I tried this
    /opt/sbin/mt-daapd-ssc.sh “/disk1/UserAccess/FLACs/BT – Ima/(02) BT – Quark.flac” > “/disk1/UserAccess/FLACs/test.wav” > /disk1/UserAccess/FLACs/test.wav”
    I get the following error
    wavstreamer : Read Error
    ?

    #14432
    Anonymous
    Inactive

    Looking in the log file from /var/log/mt-daapd.log
    2007-11-14 17:58:21 (0004cc04): Session 0: Streaming file ‘(01) 10 CC – Rubber Bullets.flac’ to 10.0.0.7 (offset 0)
    2007-11-14 17:58:37 (0004d004): Session 0: Streaming file ‘(01) Foo Fighters – This Is A Call.mp3’ to 10.0.0.7 (offset 0)
    2007-11-14 17:58:37 (0004d004): Write error: Connection reset by peer
    The MP3 plays but shows an error in the log.
    The FLAC doesn’t play but shows no error. Odd.

    #14433
    rpedde
    Participant

    @Eddy5 wrote:

    Looking in the log file from /var/log/mt-daapd.log
    2007-11-14 17:58:21 (0004cc04): Session 0: Streaming file ‘(01) 10 CC – Rubber Bullets.flac’ to 10.0.0.7 (offset 0)
    2007-11-14 17:58:37 (0004d004): Session 0: Streaming file ‘(01) Foo Fighters – This Is A Call.mp3’ to 10.0.0.7 (offset 0)
    2007-11-14 17:58:37 (0004d004): Write error: Connection reset by peer
    The MP3 plays but shows an error in the log.
    The FLAC doesn’t play but shows no error. Odd.

    Try turning the debuglevel up to 9 and trying to transcode.

    There should be a section that shows the command line it tries to open to do the transcode.

    — Ron

    #14434
    Anonymous
    Inactive

    OK, here’s an excerpt from the log when trying to transcode an OGG to my Roku. I will try a FLAC later on.


    2007-11-21 07:00:47 (00001403): Request: GET /rsp/db/0?query=id%3D8377&type=full HTTP/1.0

    2007-11-21 07:00:47 (00001403): Thread 3: Read: User-Agent: Roku SoundBridge/3.0

    2007-11-21 07:00:47 (00001403): Thread 3: Adding header *User-Agent=Roku SoundBridge/3.0*
    2007-11-21 07:00:47 (00001403): Added *User-Agent=Roku SoundBridge/3.0*
    2007-11-21 07:00:47 (00001403): Thread 3: Read: Host: 10.0.0.3:3689

    2007-11-21 07:00:47 (00001403): Thread 3: Adding header *Host=10.0.0.3:3689*
    2007-11-21 07:00:47 (00001403): Added *Host=10.0.0.3:3689*
    2007-11-21 07:00:47 (00001403): Thread 3: Read: Accept: */*

    2007-11-21 07:00:47 (00001403): Thread 3: Adding header *Accept=*/**
    2007-11-21 07:00:47 (00001403): Added *Accept=*/**
    2007-11-21 07:00:47 (00001403): Thread 3: Read: Pragma: no-cache

    2007-11-21 07:00:47 (00001403): Thread 3: Adding header *Pragma=no-cache*
    2007-11-21 07:00:47 (00001403): Added *Pragma=no-cache*
    2007-11-21 07:00:47 (00001403): Thread 3: Read: accept-encoding: gzip

    2007-11-21 07:00:47 (00001403): Thread 3: Adding header *accept-encoding=gzip*
    2007-11-21 07:00:47 (00001403): Added *accept-encoding=gzip*
    2007-11-21 07:00:47 (00001403): Thread 3: Read: accept-codecs: wma,mpeg,wav,mp4a,alac

    2007-11-21 07:00:47 (00001403): Thread 3: Adding header *accept-codecs=wma,mpeg,wav,mp4a,alac*
    2007-11-21 07:00:47 (00001403): Added *accept-codecs=wma,mpeg,wav,mp4a,alac*
    2007-11-21 07:00:47 (00001403): Thread 3: Read: rsp-version: 0.1

    2007-11-21 07:00:47 (00001403): Thread 3: Adding header *rsp-version=0.1*
    2007-11-21 07:00:47 (00001403): Added *rsp-version=0.1*
    2007-11-21 07:00:47 (00001403): Thread 3: Read: transcode-codecs: wav,mp3

    2007-11-21 07:00:47 (00001403): Thread 3: Adding header *transcode-codecs=wav,mp3*
    2007-11-21 07:00:47 (00001403): Added *transcode-codecs=wav,mp3*
    2007-11-21 07:00:47 (00001403): Thread 3: Read:

    2007-11-21 07:00:47 (00001403): Thread 3: Headers parsed!
    2007-11-21 07:00:47 (00001403): Checking to see if connection matches keep-alive
    2007-11-21 07:00:47 (00001403): Nope!
    2007-11-21 07:00:47 (00001403): Thread 3: Connection type HTTP/1.0

    : Connection: non-persist
    2007-11-21 07:00:47 (00001403): Thread 3: parsing GET args
    2007-11-21 07:00:47 (00001403): Thread 3: Adding arg query = id=8377
    2007-11-21 07:00:47 (00001403): Added *query=id=8377*
    2007-11-21 07:00:47 (00001403): Thread 3: Adding arg type = full
    2007-11-21 07:00:47 (00001403): Added *type=full*
    2007-11-21 07:00:47 (00001403): Thread 3: Done parsing GET/POST args!
    2007-11-21 07:00:47 (00001403): Thread 3: Original URI: /rsp/db/0
    2007-11-21 07:00:47 (00001403): Thread 3: Translated URI: /rsp/db/0
    2007-11-21 07:00:47 (00001403): Thread 3: Preparing to find handler
    2007-11-21 07:00:47 (00001403): Checking /rsp/db/0 against handler for /
    2007-11-21 07:00:47 (00001403): Thread 3: URI Match!
    2007-11-21 07:00:47 (00001403): Thread 3: Time is 1195628447 seconds after epoch
    2007-11-21 07:00:47 (00001403): Thread 3: Setting time header
    2007-11-21 07:00:47 (00001403): Added *Date=Wed, 21 Nov 2007 07:00:47 GMT*
    2007-11-21 07:00:47 (00001403): Added *Connection=close*
    2007-11-21 07:00:47 (00001403): Added *Server=mt-daapd/svn-1696*
    2007-11-21 07:00:47 (00001403): Added *Content-Type=text/html*
    2007-11-21 07:00:47 (00001403): Added *Content-Language=en_us*
    2007-11-21 07:00:47 (00001403): Thread 3: Using non-default handler
    2007-11-21 07:00:47 (00001403): in main_auth
    2007-11-21 07:00:47 (00001403): Checking url /rsp/db/0
    2007-11-21 07:00:47 (00001403): Checking url /rsp/db/0
    2007-11-21 07:00:47 (00001403): Dispatching auth for /rsp/db/0 to plugin
    2007-11-21 07:00:47 (00001403): Checking url /rsp/db/0
    2007-11-21 07:00:47 (00001403): Checking url /rsp/db/0
    2007-11-21 07:00:47 (00001403): Dispatching /rsp/db/0 to rsp/svn-1696
    2007-11-21 07:00:47 (00001403): Checking if pw required for /rsp/db/0 as user
    2007-11-21 07:00:47 (00001403): Nope
    2007-11-21 07:00:47 (00001403): in main_handler
    2007-11-21 07:00:47 (00001403): Checking url /rsp/db/0
    2007-11-21 07:00:47 (00001403): Checking url /rsp/db/0
    2007-11-21 07:00:47 (00001403): Dispatching /rsp/db/0 to plugin
    2007-11-21 07:00:47 (00001403): Checking url /rsp/db/0
    2007-11-21 07:00:47 (00001403): Checking url /rsp/db/0
    2007-11-21 07:00:47 (00001403): Dispatching /rsp/db/0 to rsp/svn-1696
    2007-11-21 07:00:47 (00001403): Getting uri...
    2007-11-21 07:00:47 (00001403): Mallocing privinfo...
    2007-11-21 07:00:47 (00001403): Tokenizing url
    2007-11-21 07:00:47 (00001403): Found 5 elements
    2007-11-21 07:00:47 (00001403): Checking reponse 0
    2007-11-21 07:00:47 (00001403): Checking reponse 1
    2007-11-21 07:00:47 (00001403): Checking reponse 2
    2007-11-21 07:00:47 (00001403): Found it! Index: 2
    2007-11-21 07:00:47 (00001403): Returning token 2002
    2007-11-21 07:00:47 (00001403): Entering sp_parse_phrase
    2007-11-21 07:00:47 (00001403): Entering sp_parse_oexpr
    2007-11-21 07:00:47 (00001403): Entering sp_parse_aexpr
    2007-11-21 07:00:47 (00001403): Entering sp_parse_expr
    2007-11-21 07:00:47 (00001403): Entering sp_parse_criterion
    2007-11-21 07:00:47 (00001403): Entering sp_parse_int_criterion
    2007-11-21 07:00:47 (00001403): Returning token 000f
    2007-11-21 07:00:47 (00001403): Returning token 00fd
    2007-11-21 07:00:47 (00001403): Exiting sp_parse_int_criterion (success)
    2007-11-21 07:00:47 (00001403): Exiting sp_parse_criterion (success)
    2007-11-21 07:00:47 (00001403): Exiting sp_parse_expr (success)
    2007-11-21 07:00:47 (00001403): Exiting sp_parse_aexpr (success)
    2007-11-21 07:00:47 (00001403): Exiting sp_parse_oexpr (success)
    2007-11-21 07:00:47 (00001403): Exiting sp_parse_phrase (success)
    2007-11-21 07:00:47 (00001403): Got query/filter
    2007-11-21 07:00:47 (00001403): Fetching sql statement size
    2007-11-21 07:00:47 (00001403): Size: 47
    2007-11-21 07:00:47 (00001403): Serialized to : (id = 8377)
    2007-11-21 07:00:47 (00001403): Executing: select count(songs.id) from songs where ((id = 8377))
    2007-11-21 07:00:47 (00001403): Number of results: 1
    2007-11-21 07:00:47 (00001403): Executing: select * from songs where ((id = 8377))
    2007-11-21 07:00:47 (00001403): Entering config_set_status
    2007-11-21 07:00:47 (00001403): Exiting config_set_status
    2007-11-21 07:00:47 (00001403): Added *Cache-Control=no-cache*
    2007-11-21 07:00:47 (00001403): Added *Expires=-1*
    2007-11-21 07:00:47 (00001403): Updating Content-Type from text/html to text/xml; charset=utf-8
    2007-11-21 07:00:47 (00001403): Emitting reponse header Expires: -1
    2007-11-21 07:00:47 (00001403): Emitting reponse header Cache-Control: no-cache
    2007-11-21 07:00:47 (00001403): Emitting reponse header Content-Language: en_us
    2007-11-21 07:00:47 (00001403): Emitting reponse header Content-Type: text/xml; charset=utf-8
    2007-11-21 07:00:47 (00001403): Emitting reponse header Server: mt-daapd/svn-1696
    2007-11-21 07:00:47 (00001403): Emitting reponse header Connection: close
    2007-11-21 07:00:47 (00001403): Emitting reponse header Date: Wed, 21 Nov 2007 07:00:47 GMT
    2007-11-21 07:00:47 (00001403): Transcode: 1, ogg: (01) 10 CC - Rubber Bullets.ogg
    2007-11-21 07:00:47 (00001403): Thread 3: Terminating
    2007-11-21 07:00:47 (00001403): Thread 3: Freeing request headers
    2007-11-21 07:00:47 (00001403): Thread 3: Freeing response headers
    2007-11-21 07:00:47 (00001403): Thread 3: Freeing request vars
    2007-11-21 07:00:47 (00001403): Thread 3: Closing fd
    2007-11-21 07:00:47 (00001403): With thread 3 exiting, 0 are still running
    2007-11-21 07:00:47 (00000402): Got listen socket 12
    2007-11-21 07:00:47 (00001803): Thread 4:
    2007-11-21 07:00:47 (00001803): Request: GET /rsp/stream/8377 HTTP/1.0

    2007-11-21 07:00:47 (00001803): Thread 4: Read: User-Agent: Roku SoundBridge/3.0

    2007-11-21 07:00:47 (00001803): Thread 4: Adding header *User-Agent=Roku SoundBridge/3.0*
    2007-11-21 07:00:47 (00001803): Added *User-Agent=Roku SoundBridge/3.0*
    2007-11-21 07:00:47 (00001803): Thread 4: Read: Host: 10.0.0.3:3689

    2007-11-21 07:00:47 (00001803): Thread 4: Adding header *Host=10.0.0.3:3689*
    2007-11-21 07:00:47 (00001803): Added *Host=10.0.0.3:3689*
    2007-11-21 07:00:47 (00001803): Thread 4: Read: Accept: */*

    2007-11-21 07:00:47 (00001803): Thread 4: Adding header *Accept=*/**
    2007-11-21 07:00:47 (00001803): Added *Accept=*/**
    2007-11-21 07:00:47 (00001803): Thread 4: Read: Pragma: no-cache

    2007-11-21 07:00:47 (00001803): Thread 4: Adding header *Pragma=no-cache*
    2007-11-21 07:00:47 (00001803): Added *Pragma=no-cache*
    2007-11-21 07:00:47 (00001803): Thread 4: Read: accept-codecs: wma,mpeg,wav,mp4a,alac

    2007-11-21 07:00:47 (00001803): Thread 4: Adding header *accept-codecs=wma,mpeg,wav,mp4a,alac*
    2007-11-21 07:00:47 (00001803): Added *accept-codecs=wma,mpeg,wav,mp4a,alac*
    2007-11-21 07:00:47 (00001803): Thread 4: Read: rsp-version: 0.1

    2007-11-21 07:00:47 (00001803): Thread 4: Adding header *rsp-version=0.1*
    2007-11-21 07:00:47 (00001803): Added *rsp-version=0.1*
    2007-11-21 07:00:47 (00001803): Thread 4: Read: transcode-codecs: wav,mp3

    2007-11-21 07:00:47 (00001803): Thread 4: Adding header *transcode-codecs=wav,mp3*
    2007-11-21 07:00:47 (00001803): Added *transcode-codecs=wav,mp3*
    2007-11-21 07:00:47 (00001803): Thread 4: Read:

    2007-11-21 07:00:47 (00001803): Thread 4: Headers parsed!
    2007-11-21 07:00:47 (00001803): Checking to see if connection matches keep-alive
    2007-11-21 07:00:47 (00001803): Nope!
    2007-11-21 07:00:47 (00001803): Thread 4: Connection type HTTP/1.0

    : Connection: non-persist
    2007-11-21 07:00:47 (00001803): Thread 4: Original URI: /rsp/stream/8377
    2007-11-21 07:00:47 (00001803): Thread 4: Translated URI: /rsp/stream/8377
    2007-11-21 07:00:47 (00001803): Thread 4: Preparing to find handler
    2007-11-21 07:00:47 (00001803): Checking /rsp/stream/8377 against handler for /
    2007-11-21 07:00:47 (00001803): Thread 4: URI Match!
    2007-11-21 07:00:47 (00001803): Thread 4: Time is 1195628447 seconds after epoch
    2007-11-21 07:00:47 (00001803): Thread 4: Setting time header
    2007-11-21 07:00:47 (00001803): Added *Date=Wed, 21 Nov 2007 07:00:47 GMT*
    2007-11-21 07:00:47 (00001803): Added *Connection=close*
    2007-11-21 07:00:47 (00001803): Added *Server=mt-daapd/svn-1696*
    2007-11-21 07:00:47 (00001803): Added *Content-Type=text/html*
    2007-11-21 07:00:47 (00001803): Added *Content-Language=en_us*
    2007-11-21 07:00:47 (00001803): Thread 4: Using non-default handler
    2007-11-21 07:00:47 (00001803): in main_auth
    2007-11-21 07:00:47 (00001803): Checking url /rsp/stream/8377
    2007-11-21 07:00:47 (00001803): Checking url /rsp/stream/8377
    2007-11-21 07:00:47 (00001803): Dispatching auth for /rsp/stream/8377 to plugin
    2007-11-21 07:00:47 (00001803): Checking url /rsp/stream/8377
    2007-11-21 07:00:47 (00001803): Checking url /rsp/stream/8377
    2007-11-21 07:00:47 (00001803): Dispatching /rsp/stream/8377 to rsp/svn-1696
    2007-11-21 07:00:47 (00001803): Checking if pw required for /rsp/stream/8377 as user
    2007-11-21 07:00:47 (00001803): Nope
    2007-11-21 07:00:47 (00001803): in main_handler
    2007-11-21 07:00:47 (00001803): Checking url /rsp/stream/8377
    2007-11-21 07:00:47 (00001803): Checking url /rsp/stream/8377
    2007-11-21 07:00:47 (00001803): Dispatching /rsp/stream/8377 to plugin
    2007-11-21 07:00:47 (00001803): Checking url /rsp/stream/8377
    2007-11-21 07:00:47 (00001803): Checking url /rsp/stream/8377
    2007-11-21 07:00:47 (00001803): Dispatching /rsp/stream/8377 to rsp/svn-1696
    2007-11-21 07:00:47 (00001803): Getting uri...
    2007-11-21 07:00:47 (00001803): Mallocing privinfo...
    2007-11-21 07:00:47 (00001803): Tokenizing url
    2007-11-21 07:00:47 (00001803): Found 5 elements
    2007-11-21 07:00:47 (00001803): Checking reponse 0
    2007-11-21 07:00:47 (00001803): Checking reponse 1
    2007-11-21 07:00:47 (00001803): Checking reponse 2
    2007-11-21 07:00:47 (00001803): Checking reponse 3
    2007-11-21 07:00:47 (00001803): Checking reponse 4
    2007-11-21 07:00:47 (00001803): Found it! Index: 4
    2007-11-21 07:00:47 (00001803): Executing: select * from songs where id=8377
    2007-11-21 07:00:47 (00001803): Entering config_set_status
    2007-11-21 07:00:47 (00001803): Exiting config_set_status
    2007-11-21 07:00:47 (00001803): Session 0: Streaming file '(01) 10 CC - Rubber Bullets.ogg' to 10.0.0.8 (offset 0)
    2007-11-21 07:00:47 (00001803): Transcoding /disk1/UserAccess/Oggs/_Albums 002/10 CC - 10 CC's Greatest Hits 1972-1978/(01) 10 CC - Rubber Bullets.ogg with ssc-script/svn-1696
    2007-11-21 07:00:47 (00001803): Executing /opt/sbin/mt-daapd-ssc.sh "/disk1/UserAccess/Oggs/_Albums 002/10 CC - 10 CC's Greatest Hits 1972-1978/"'('"01"')'" 10 CC - Rubber Bullets.ogg" 0 284.000 "ogg"
    2007-11-21 07:00:47 (00001803): Updating Content-Type from text/html to audio/wav
    2007-11-21 07:00:47 (00001803): Updating Connection from close to Close
    2007-11-21 07:00:47 (00001803): Emitting reponse header Content-Language: en_us
    2007-11-21 07:00:47 (00001803): Emitting reponse header Content-Type: audio/wav
    2007-11-21 07:00:47 (00001803): Emitting reponse header Server: mt-daapd/svn-1696
    2007-11-21 07:00:47 (00001803): Emitting reponse header Connection: Close
    2007-11-21 07:00:47 (00001803): Emitting reponse header Date: Wed, 21 Nov 2007 07:00:47 GMT
    2007-11-21 07:00:48 (00001803): Entering config_set_status
    2007-11-21 07:00:48 (00001803): Exiting config_set_status
    2007-11-21 07:00:48 (00001803): Executing: update songs set play_count=play_count + 1, time_played=1195628448 where id=8377
    2007-11-21 07:00:48 (00001803): Rows: 1
    2007-11-21 07:00:48 (00001803): Thread 4: Terminating
    2007-11-21 07:00:48 (00001803): Thread 4: Freeing request headers
    2007-11-21 07:00:48 (00001803): Thread 4: Freeing response headers
    2007-11-21 07:00:48 (00001803): Thread 4: Freeing request vars
    2007-11-21 07:00:48 (00001803): Thread 4: Closing fd
    2007-11-21 07:00:48 (00001803): With thread 4 exiting, 0 are still running
    2007-11-21 07:00:49 (00000402): Got listen socket 12

    (Sorry this is so long, I wanted to put it inside one of those scrollable boxes but couldn’t see how to do that.

    #14435
    Anonymous
    Inactive

    Here’s the result from a FLAC

    2007-11-21 17:38:33 (00000402): Got listen socket 12
    2007-11-21 17:38:33 (00011c03): Thread 69:
    2007-11-21 17:38:33 (00011c03): Request: GET /rsp/stream/11006 HTTP/1.0

    2007-11-21 17:38:33 (00011c03): Thread 69: Read: User-Agent: Roku SoundBridge/3.0

    2007-11-21 17:38:33 (00011c03): Thread 69: Adding header *User-Agent=Roku SoundBridge/3.0*
    2007-11-21 17:38:33 (00011c03): Added *User-Agent=Roku SoundBridge/3.0*
    2007-11-21 17:38:33 (00011c03): Thread 69: Read: Host: 10.0.0.3:3689

    2007-11-21 17:38:33 (00011c03): Thread 69: Adding header *Host=10.0.0.3:3689*
    2007-11-21 17:38:33 (00011c03): Added *Host=10.0.0.3:3689*
    2007-11-21 17:38:33 (00011c03): Thread 69: Read: Accept: */*

    2007-11-21 17:38:33 (00011c03): Thread 69: Adding header *Accept=*/**
    2007-11-21 17:38:33 (00011c03): Added *Accept=*/**
    2007-11-21 17:38:33 (00011c03): Thread 69: Read: Pragma: no-cache

    2007-11-21 17:38:33 (00011c03): Thread 69: Adding header *Pragma=no-cache*
    2007-11-21 17:38:33 (00011c03): Added *Pragma=no-cache*
    2007-11-21 17:38:33 (00011c03): Thread 69: Read: accept-codecs: wma,mpeg,wav,mp4a,alac

    2007-11-21 17:38:33 (00011c03): Thread 69: Adding header *accept-codecs=wma,mpeg,wav,mp4a,alac*
    2007-11-21 17:38:33 (00011c03): Added *accept-codecs=wma,mpeg,wav,mp4a,alac*
    2007-11-21 17:38:33 (00011c03): Thread 69: Read: rsp-version: 0.1

    2007-11-21 17:38:33 (00011c03): Thread 69: Adding header *rsp-version=0.1*
    2007-11-21 17:38:33 (00011c03): Added *rsp-version=0.1*
    2007-11-21 17:38:33 (00011c03): Thread 69: Read: transcode-codecs: wav,mp3

    2007-11-21 17:38:33 (00011c03): Thread 69: Adding header *transcode-codecs=wav,mp3*
    2007-11-21 17:38:33 (00011c03): Added *transcode-codecs=wav,mp3*
    2007-11-21 17:38:33 (00011c03): Thread 69: Read:

    2007-11-21 17:38:33 (00011c03): Thread 69: Headers parsed!
    2007-11-21 17:38:33 (00011c03): Checking to see if connection matches keep-alive
    2007-11-21 17:38:33 (00011c03): Nope!
    2007-11-21 17:38:33 (00011c03): Thread 69: Connection type HTTP/1.0

    : Connection: non-persist
    2007-11-21 17:38:33 (00011c03): Thread 69: Original URI: /rsp/stream/11006
    2007-11-21 17:38:33 (00011c03): Thread 69: Translated URI: /rsp/stream/11006
    2007-11-21 17:38:33 (00011c03): Thread 69: Preparing to find handler
    2007-11-21 17:38:33 (00011c03): Checking /rsp/stream/11006 against handler for /
    2007-11-21 17:38:33 (00011c03): Thread 69: URI Match!
    2007-11-21 17:38:33 (00011c03): Thread 69: Time is 1195666713 seconds after epoch
    2007-11-21 17:38:33 (00011c03): Thread 69: Setting time header
    2007-11-21 17:38:33 (00011c03): Added *Date=Wed, 21 Nov 2007 17:38:33 GMT*
    2007-11-21 17:38:33 (00011c03): Added *Connection=close*
    2007-11-21 17:38:33 (00011c03): Added *Server=mt-daapd/svn-1696*
    2007-11-21 17:38:33 (00011c03): Added *Content-Type=text/html*
    2007-11-21 17:38:33 (00011c03): Added *Content-Language=en_us*
    2007-11-21 17:38:33 (00011c03): Thread 69: Using non-default handler
    2007-11-21 17:38:33 (00011c03): in main_auth
    2007-11-21 17:38:33 (00011c03): Checking url /rsp/stream/11006
    2007-11-21 17:38:33 (00011c03): Checking url /rsp/stream/11006
    2007-11-21 17:38:33 (00011c03): Dispatching auth for /rsp/stream/11006 to plugin
    2007-11-21 17:38:33 (00011c03): Checking url /rsp/stream/11006
    2007-11-21 17:38:33 (00011c03): Checking url /rsp/stream/11006
    2007-11-21 17:38:33 (00011c03): Dispatching /rsp/stream/11006 to rsp/svn-1696
    2007-11-21 17:38:33 (00011c03): Checking if pw required for /rsp/stream/11006 as user
    2007-11-21 17:38:33 (00011c03): Nope
    2007-11-21 17:38:33 (00011c03): in main_handler
    2007-11-21 17:38:33 (00011c03): Checking url /rsp/stream/11006
    2007-11-21 17:38:33 (00011c03): Checking url /rsp/stream/11006
    2007-11-21 17:38:33 (00011c03): Dispatching /rsp/stream/11006 to plugin
    2007-11-21 17:38:33 (00011c03): Checking url /rsp/stream/11006
    2007-11-21 17:38:33 (00011c03): Checking url /rsp/stream/11006
    2007-11-21 17:38:33 (00011c03): Dispatching /rsp/stream/11006 to rsp/svn-1696
    2007-11-21 17:38:33 (00011c03): Getting uri...
    2007-11-21 17:38:33 (00011c03): Mallocing privinfo...
    2007-11-21 17:38:33 (00011c03): Tokenizing url
    2007-11-21 17:38:33 (00011c03): Found 5 elements
    2007-11-21 17:38:33 (00011c03): Checking reponse 0
    2007-11-21 17:38:33 (00011c03): Checking reponse 1
    2007-11-21 17:38:33 (00011c03): Checking reponse 2
    2007-11-21 17:38:33 (00011c03): Checking reponse 3
    2007-11-21 17:38:33 (00011c03): Checking reponse 4
    2007-11-21 17:38:33 (00011c03): Found it! Index: 4
    2007-11-21 17:38:33 (00011c03): Executing: select * from songs where id=11006
    2007-11-21 17:38:33 (00011c03): Entering config_set_status
    2007-11-21 17:38:33 (00011c03): Exiting config_set_status
    2007-11-21 17:38:33 (00011c03): Session 0: Streaming file '(01) New Order - True Faith '94.flac' to 10.0.0.8 (offset 0)
    2007-11-21 17:38:33 (00011c03): Transcoding /disk1/UserAccess/FLACs/New Order - (The Best Of)/(01) New Order - True Faith '94.flac with ssc-script/svn-1696
    2007-11-21 17:38:33 (00011c03): Executing /opt/sbin/mt-daapd-ssc.sh "/disk1/UserAccess/FLACs/New Order - "'('"The Best Of"')'"/"'('"01"')'" New Order - True Faith '94.flac" 0 335.533 "flac"
    2007-11-21 17:38:33 (00011c03): Updating Content-Type from text/html to audio/wav
    2007-11-21 17:38:33 (00011c03): Updating Connection from close to Close
    2007-11-21 17:38:33 (00011c03): Emitting reponse header Content-Language: en_us
    2007-11-21 17:38:33 (00011c03): Emitting reponse header Content-Type: audio/wav
    2007-11-21 17:38:33 (00011c03): Emitting reponse header Server: mt-daapd/svn-1696
    2007-11-21 17:38:33 (00011c03): Emitting reponse header Connection: Close
    2007-11-21 17:38:33 (00011c03): Emitting reponse header Date: Wed, 21 Nov 2007 17:38:33 GMT
    2007-11-21 17:38:33 (00011c03): Entering config_set_status
    2007-11-21 17:38:33 (00011c03): Exiting config_set_status
    2007-11-21 17:38:33 (00011c03): Executing: update songs set play_count=play_count + 1, time_played=1195666713 where id=11006
    2007-11-21 17:38:33 (00011c03): Rows: 1
    2007-11-21 17:38:33 (00011c03): Thread 69: Terminating
    2007-11-21 17:38:33 (00011c03): Thread 69: Freeing request headers
    2007-11-21 17:38:33 (00011c03): Thread 69: Freeing response headers
    2007-11-21 17:38:33 (00011c03): Thread 69: Freeing request vars
    2007-11-21 17:38:33 (00011c03): Thread 69: Closing fd
    2007-11-21 17:38:33 (00011c03): With thread 69 exiting, 0 are still running
    2007-11-21 17:38:37 (00000402): Got listen socket 12
    2007-11-21 17:38:37 (00012003): Thread 70:

    Comparing it to an MP3 output, there doesn’t seem to be a track length sent out for the FLAC

    2007-11-21 17:39:21 (00014003): Updating Content-Type from text/html to audio/mp3
    2007-11-21 17:39:21 (00014003): Added *Content-Length=9076009*
    2007-11-21 17:39:21 (00014003): Updating Connection from close to Close
    2007-11-21 17:39:21 (00014003): Emitting reponse header Content-Length: 9076009
Viewing 10 posts - 1 through 10 (of 39 total)
  • The forum ‘Setup Issues’ is closed to new topics and replies.