Reply To: svn-1696 on NSLU2: "Out of memory" when using WMP

#15796
Anonymous
Inactive

exactly, I’m using svn-1696 on the NSLU2 (SlugOS/BE).

I just found out, that the “Out of memory” does not happen, if “.mp3” is appended to the link, for example

http://server:3689/rsp/stream/1234.mp3

instead of just

http://server:3689/rsp/stream/1234

The logfile for such a link using WMP looks then like this:

2008-01-10 09:18:48 (00004002): Got listen socket 11
2008-01-10 09:18:48 (00034003): Thread 11:
2008-01-10 09:18:48 (00034003): Request: GET /rsp/stream/6471.mp3 HTTP/1.1
2008-01-10 09:18:48 (00034003): Thread 11: Read: Accept: */*
2008-01-10 09:18:48 (00034003): Thread 11: Adding header *Accept=*/**
2008-01-10 09:18:48 (00034003): Added *Accept=*/**
2008-01-10 09:18:48 (00034003): Thread 11: Read: User-Agent: NSPlayer/11.0.5721.5145 WMFSDK/11.0
2008-01-10 09:18:48 (00034003): Thread 11: Adding header *User-Agent=NSPlayer/11.0.5721.5145 WMFSDK/11.0*
2008-01-10 09:18:48 (00034003): Added *User-Agent=NSPlayer/11.0.5721.5145 WMFSDK/11.0*
2008-01-10 09:18:48 (00034003): Thread 11: Read: UA-CPU: x86
2008-01-10 09:18:48 (00034003): Thread 11: Adding header *UA-CPU=x86*
2008-01-10 09:18:48 (00034003): Added *UA-CPU=x86*
2008-01-10 09:18:48 (00034003): Thread 11: Read: Accept-Encoding: gzip, deflate
2008-01-10 09:18:48 (00034003): Thread 11: Adding header *Accept-Encoding=gzip, deflate*
2008-01-10 09:18:48 (00034003): Added *Accept-Encoding=gzip, deflate*
2008-01-10 09:18:48 (00034003): Thread 11: Read: Host: vpn.swissmediaportal.ch:3689
2008-01-10 09:18:48 (00034003): Thread 11: Adding header *Host=vpn.swissmediaportal.ch:3689*
2008-01-10 09:18:48 (00034003): Added *Host=vpn.swissmediaportal.ch:3689*
2008-01-10 09:18:48 (00034003): Thread 11: Read: Connection: Keep-Alive
2008-01-10 09:18:48 (00034003): Thread 11: Adding header *Connection=Keep-Alive*
2008-01-10 09:18:48 (00034003): Added *Connection=Keep-Alive*
2008-01-10 09:18:48 (00034003): Thread 11: Read:
2008-01-10 09:18:48 (00034003): Thread 11: Headers parsed!
2008-01-10 09:18:48 (00034003): Checking to see if connection matches close
2008-01-10 09:18:48 (00034003): And it does NOT
2008-01-10 09:18:48 (00034003): Thread 11: Connection type HTTP/1.1
: Connection: persist
2008-01-10 09:18:48 (00034003): Thread 11: Original URI: /rsp/stream/6471.mp3
2008-01-10 09:18:48 (00034003): Thread 11: Translated URI: /rsp/stream/6471.mp3
2008-01-10 09:18:48 (00034003): Thread 11: Preparing to find handler
2008-01-10 09:18:48 (00034003): Checking /rsp/stream/6471.mp3 against handler for /
2008-01-10 09:18:48 (00034003): Thread 11: URI Match!
2008-01-10 09:18:48 (00034003): Thread 11: Time is 1199953128 seconds after epoch
2008-01-10 09:18:48 (00034003): Thread 11: Setting time header
2008-01-10 09:18:48 (00034003): Added *Date=Thu, 10 Jan 2008 08:18:48 GMT*
2008-01-10 09:18:48 (00034003): Added *Connection=keep-alive*
2008-01-10 09:18:48 (00034003): Added *Server=mt-daapd/svn-1696*
2008-01-10 09:18:48 (00034003): Added *Content-Type=text/html*
2008-01-10 09:18:48 (00034003): Added *Content-Language=en_us*
2008-01-10 09:18:48 (00034003): Thread 11: Using non-default handler
2008-01-10 09:18:48 (00034003): in main_auth
2008-01-10 09:18:48 (00034003): Checking url /rsp/stream/6471.mp3
2008-01-10 09:18:48 (00034003): Checking url /rsp/stream/6471.mp3
2008-01-10 09:18:48 (00034003): Dispatching auth for /rsp/stream/6471.mp3 to plugin
2008-01-10 09:18:48 (00034003): Checking url /rsp/stream/6471.mp3
2008-01-10 09:18:48 (00034003): Checking url /rsp/stream/6471.mp3
2008-01-10 09:18:48 (00034003): Dispatching /rsp/stream/6471.mp3 to rsp/svn-1696
2008-01-10 09:18:48 (00034003): Checking if pw required for /rsp/stream/6471.mp3 as user
2008-01-10 09:18:48 (00034003): Nope
2008-01-10 09:18:48 (00034003): in main_handler
2008-01-10 09:18:48 (00034003): Checking url /rsp/stream/6471.mp3
2008-01-10 09:18:48 (00034003): Checking url /rsp/stream/6471.mp3
2008-01-10 09:18:48 (00034003): Dispatching /rsp/stream/6471.mp3 to plugin
2008-01-10 09:18:48 (00034003): Checking url /rsp/stream/6471.mp3
2008-01-10 09:18:48 (00034003): Checking url /rsp/stream/6471.mp3
2008-01-10 09:18:48 (00034003): Dispatching /rsp/stream/6471.mp3 to rsp/svn-1696
2008-01-10 09:18:48 (00034003): Getting uri…
2008-01-10 09:18:48 (00034003): Mallocing privinfo…
2008-01-10 09:18:48 (00034003): Tokenizing url
2008-01-10 09:18:48 (00034003): Found 5 elements
2008-01-10 09:18:48 (00034003): Checking reponse 0
2008-01-10 09:18:48 (00034003): Checking reponse 1
2008-01-10 09:18:48 (00034003): Checking reponse 2
2008-01-10 09:18:48 (00034003): Checking reponse 3
2008-01-10 09:18:48 (00034003): Checking reponse 4
2008-01-10 09:18:48 (00034003): Found it! Index: 4
2008-01-10 09:18:48 (00034003): Executing: select * from songs where id=6471
2008-01-10 09:18:48 (00034003): Creating new db handle
2008-01-10 09:18:48 (00034003): Opening file:///media/sdb1/musik/Sounds/B/Blunt+James/All+the+lost+souls/01-james_blunt-1973.mp3
2008-01-10 09:18:48 (00034003): Checking handler for file
2008-01-10 09:18:48 (00034003): opening /media/sdb1/musik/Sounds/B/Blunt James/All the lost souls/01-james_blunt-1973.mp3
2008-01-10 09:18:48 (00034003): Thread 11: Length of file (remaining): 6285724
2008-01-10 09:18:48 (00034003): Updating Content-Type from text/html to audio/mp3
2008-01-10 09:18:48 (00034003): Added *Content-Length=6285724*
2008-01-10 09:18:48 (00034003): Updating Connection from keep-alive to Close
2008-01-10 09:18:48 (00034003): Emitting reponse header Content-Length: 6285724
2008-01-10 09:18:48 (00034003): Emitting reponse header Content-Language: en_us
2008-01-10 09:18:48 (00034003): Emitting reponse header Content-Type: audio/mp3
2008-01-10 09:18:48 (00034003): Emitting reponse header Server: mt-daapd/svn-1696
2008-01-10 09:18:48 (00034003): Emitting reponse header Connection: Close
2008-01-10 09:18:48 (00034003): Emitting reponse header Date: Thu, 10 Jan 2008 08:18:48 GMT
2008-01-10 09:18:48 (00034003): Entering config_set_status
2008-01-10 09:18:48 (00034003): Exiting config_set_status
2008-01-10 09:18:48 (00034003): Session 0: Streaming file ’01-james_blunt-1973.mp3′ to 84.226.32.119 (offset 0)

Quite strange behavior, I think..