Bug 2377 - Slimserver hangs on WMA radio play
: Slimserver hangs on WMA radio play
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Streaming From SlimServer
: 6.2.0
: PC Windows XP
: P2 major (vote)
: ---
Assigned To: Dan Sully
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-10-26 04:33 UTC by Jonas Nordstr�m
Modified: 2008-09-15 14:37 UTC (History)
0 users

See Also:
Category: ---


Attachments
convert.conf (5.32 KB, text/plain)
2005-10-27 10:55 UTC, Jonas Nordstr�m
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonas Nordstr�m 2005-10-26 04:33:21 UTC
When I enter a url in the "Tune in now" field, slimserver hangs.
This is the URL:
mms://sr-wm.qbrick.com/02038_sr-malmo-high

and this is the error message (which is repeated infinitely):
D:\Program Files\SlimServer\server\Bin\MSWin32-x86-multi-thread\wmadec.exe: ille
gal option -- -
D:\Program Files\SlimServer\server\Bin\MSWin32-x86-multi-thread\wmadec.exe: ille
gal option -- a
Illegal value passed for bits per sample parameter
wmadec [-qh] [ -b bits_per_sample ] [ -r sample_rate ]
[ -n num_channels ] [ -o outputfile ] [input]
-q
Suppresses program output.
-h
Print help message.
-b n
Bits per sample of output. Valid values are 8 or 16 (default)
-r n
Sample rate of output. Default is 44100.
-n n
Number of channels of output. Default is 2
-o filename
Write output to specified filename. Default is stdout.


I'm running SlimServer Version: 6.2b1 - 4502 - Windows XP - EN - cp1252
"Squeezebox Graphic"
Let me now if I should provide more info.
Comment 1 Dan Sully 2005-10-26 22:45:42 UTC
Please attach your convert.conf file?

And can you run with the --d_source debugging option?

Thanks.
Comment 2 Jonas Nordstr�m 2005-10-27 10:55:18 UTC
Created attachment 952 [details]
convert.conf
Comment 3 Jonas Nordstr�m 2005-10-27 10:56:35 UTC
With --d_source:
2005-10-27 19:47:18.4811 Pipeline reader connected
2005-10-27 19:47:18.5317 We need to send 0 seconds of silence...
2005-10-27 19:47:18.5329 sending 0 bytes of silence
2005-10-27 19:47:18.5343 readlen undef: (Unknown error)10054
2005-10-27 19:47:18.5356 end of file or error on socket, opening next song, (son
g pos: 0(tell says: . ), totalbytes: )
2005-10-27 19:47:18.5375 opening next song...
2005-10-27 19:47:18.5395 the next song is number 0, was 0
2005-10-27 19:47:18.5424 Setting maxBitRate for 192.168.0.120 to: 320
2005-10-27 19:47:18.5437 Setting maxBitRate for 192.168.0.120 to: 320
2005-10-27 19:47:18.5475 undermax = 1, type = mp3, squeezebox = 00:04:20:05:61:9
a, lame = D:\Program Files\SlimServer\server\Bin\MSWin32-x86-multi-thread\lame.e
xe
2005-10-27 19:47:18.5496 checking formats for: mp3-aif-squeezebox-00:04:20:05:61
:9a
2005-10-27 19:47:18.5513 checking formats for: mp3-aif-*-00:04:20:05:61:9a
2005-10-27 19:47:18.5526 checking formats for: mp3-aif-squeezebox-*
2005-10-27 19:47:18.5539 checking formats for: mp3-aif-*-*
2005-10-27 19:47:18.5551 checking formats for: mp3-wav-squeezebox-00:04:20:05:61
:9a
2005-10-27 19:47:18.5569 checking formats for: mp3-wav-*-00:04:20:05:61:9a
2005-10-27 19:47:18.5581 checking formats for: mp3-wav-squeezebox-*
2005-10-27 19:47:18.5594 checking formats for: mp3-wav-*-*
2005-10-27 19:47:18.5606 checking formats for: mp3-mp3-squeezebox-00:04:20:05:61
:9a
2005-10-27 19:47:18.5625 checking formats for: mp3-mp3-*-00:04:20:05:61:9a
2005-10-27 19:47:18.5637 checking formats for: mp3-mp3-squeezebox-*
2005-10-27 19:47:18.5649 checking formats for: mp3-mp3-*-*
2005-10-27 19:47:18.5661 Checking to see if mp3-mp3-*-* is enabled
2005-10-27 19:47:18.5675    enabled
2005-10-27 19:47:18.5686   Found command: -
2005-10-27 19:47:18.5701 Setting maxBitRate for 192.168.0.120 to: 320
2005-10-27 19:47:18.5715 Setting maxBitRate for 192.168.0.120 to: 320
2005-10-27 19:47:18.5753 Matched Format: mp3 Type: mp3 Command: -
2005-10-27 19:47:18.5765 opening next song (old format: mp3, new: mp3) current p
laymode: play
2005-10-27 19:47:18.5783 Adding song index 0 to song queue
2005-10-27 19:47:18.5795 Clearing out song queue first
2005-10-27 19:47:18.5809 Song queue is now 0
2005-10-27 19:47:18.5829 openSong on: mms://sr-wm.qbrick.com/02038_sr-malmo-high

2005-10-27 19:47:18.5859 URL is remote : mms://sr-wm.qbrick.com/02038_sr-malmo-h
igh
2005-10-27 19:47:18.5876 Trying to open protocol stream for mms://sr-wm.qbrick.c
om/02038_sr-malmo-high
2005-10-27 19:47:18.5898 Looking for handler for protocol mms
2005-10-27 19:47:18.5912 Found handler for protocol mms
2005-10-27 19:47:18.7500 Setting maxBitRate for 192.168.0.120 to: 320
2005-10-27 19:47:18.7512 Setting maxBitRate for 192.168.0.120 to: 320
2005-10-27 19:47:18.7531 undermax = 0, type = wma, squeezebox = 00:04:20:05:61:9
a, lame = D:\Program Files\SlimServer\server\Bin\MSWin32-x86-multi-thread\lame.e
xe
2005-10-27 19:47:18.7552 checking formats for: wma-aif-squeezebox-00:04:20:05:61
:9a
2005-10-27 19:47:18.7570 checking formats for: wma-aif-*-00:04:20:05:61:9a
2005-10-27 19:47:18.7583 checking formats for: wma-aif-squeezebox-*
2005-10-27 19:47:18.7596 checking formats for: wma-aif-*-*
2005-10-27 19:47:18.7608 checking formats for: wma-wav-squeezebox-00:04:20:05:61
:9a
2005-10-27 19:47:18.7627 checking formats for: wma-wav-*-00:04:20:05:61:9a
2005-10-27 19:47:18.7639 checking formats for: wma-wav-squeezebox-*
2005-10-27 19:47:18.7651 checking formats for: wma-wav-*-*
2005-10-27 19:47:18.7663 Checking to see if wma-wav-*-* is enabled
2005-10-27 19:47:18.7677    enabled
2005-10-27 19:47:18.7689   Found command: [wmadec] -r 44100 -b 16 -n 2 $FILE$
2005-10-27 19:47:18.7703 Setting maxBitRate for 192.168.0.120 to: 320
2005-10-27 19:47:18.7720 Setting maxBitRate for 192.168.0.120 to: 320
2005-10-27 19:47:18.7740 checking formats for: wma-mp3-squeezebox-00:04:20:05:61
:9a
2005-10-27 19:47:18.7756 checking formats for: wma-mp3-*-00:04:20:05:61:9a
2005-10-27 19:47:18.7769 checking formats for: wma-mp3-squeezebox-*
2005-10-27 19:47:18.7782 checking formats for: wma-mp3-*-*
2005-10-27 19:47:18.7795 Checking to see if wma-mp3-*-* is enabled
2005-10-27 19:47:18.7807    enabled
2005-10-27 19:47:18.7820   Found command: [wmadec] -r 44100 --abr 16 -n 2 $FILE$
 | [lame] -x --resample 44100  --silent -q $QUALITY$ --abr $BITRATE$ - -
2005-10-27 19:47:18.7839 Setting maxBitRate for 192.168.0.120 to: 320
2005-10-27 19:47:18.7853 Setting maxBitRate for 192.168.0.120 to: 320
2005-10-27 19:47:18.7893 Matched Format: mp3 Type: wma Command: [wmadec] -r 4410
0 --abr 16 -n 2 $FILE$ | [lame] -x --resample 44100  --silent -q $QUALITY$ --abr
 $BITRATE$ - -
2005-10-27 19:47:18.9394 Setting maxBitRate for 192.168.0.120 to: 320
2005-10-27 19:47:18.9407 Setting maxBitRate for 192.168.0.120 to: 320
2005-10-27 19:47:18.9430 Using command for conversion: "D:\Program Files\SlimSer
ver\server\Bin\MSWin32-x86-multi-thread\wmadec.exe" -r 44100 --abr 16 -n 2 "mms:
//sr-wm.qbrick.com/02038_sr-malmo-high" | "D:\Program Files\SlimServer\server\Bi
n\MSWin32-x86-multi-thread\lame.exe" -x --resample 44100  --silent -q 9 --abr 32
0 - -
2005-10-27 19:47:18.9492 Launching process with command: "D:\Program Files\SlimS
erver\server\Bin\MSWin32-x86-multi-thread\socketwrapper.exe" -o 4479 -c "\"D:\Pr
ogram Files\SlimServer\server\Bin\MSWin32-x86-multi-thread\wmadec.exe\" -r 44100
 --abr 16 -n 2 \"mms://sr-wm.qbrick.com/02038_sr-malmo-high\" | \"D:\Program Fil
es\SlimServer\server\Bin\MSWin32-x86-multi-thread\lame.exe\" -x --resample 44100
  --silent -q 9 --abr 320 - -"
2005-10-27 19:47:18.9569 remoteURL is a song : mms://sr-wm.qbrick.com/02038_sr-m
almo-high
2005-10-27 19:47:18.9601 Setting maxBitRate for 192.168.0.120 to: 320
2005-10-27 19:47:18.9613 Setting maxBitRate for 192.168.0.120 to: 320
2005-10-27 19:47:18.9654 undermax = 1, type = mp3, squeezebox = 00:04:20:05:61:9
a, lame = D:\Program Files\SlimServer\server\Bin\MSWin32-x86-multi-thread\lame.e
xe
2005-10-27 19:47:18.9676 checking formats for: mp3-aif-squeezebox-00:04:20:05:61
:9a
2005-10-27 19:47:18.9694 checking formats for: mp3-aif-*-00:04:20:05:61:9a
2005-10-27 19:47:18.9706 checking formats for: mp3-aif-squeezebox-*
2005-10-27 19:47:18.9720 checking formats for: mp3-aif-*-*
2005-10-27 19:47:18.9733 checking formats for: mp3-wav-squeezebox-00:04:20:05:61
:9a
2005-10-27 19:47:18.9752 checking formats for: mp3-wav-*-00:04:20:05:61:9a
2005-10-27 19:47:18.9765 checking formats for: mp3-wav-squeezebox-*
2005-10-27 19:47:18.9777 checking formats for: mp3-wav-*-*
2005-10-27 19:47:18.9790 checking formats for: mp3-mp3-squeezebox-00:04:20:05:61
:9a
2005-10-27 19:47:18.9808 checking formats for: mp3-mp3-*-00:04:20:05:61:9a
2005-10-27 19:47:18.9821 checking formats for: mp3-mp3-squeezebox-*
2005-10-27 19:47:18.9833 checking formats for: mp3-mp3-*-*
2005-10-27 19:47:19.9861 Checking to see if mp3-mp3-*-* is enabled
2005-10-27 19:47:19.9874    enabled
2005-10-27 19:47:19.9886   Found command: -
2005-10-27 19:47:19.9901 Setting maxBitRate for 192.168.0.120 to: 320
2005-10-27 19:47:19.9916 Setting maxBitRate for 192.168.0.120 to: 320
2005-10-27 19:47:19.9953 Matched Format: mp3 Type: mp3 Command: -
2005-10-27 19:47:19.9964 remoteURL command - type mp3 format mp3
2005-10-27 19:47:19.0006 remoteURL stream format : mp3
D:\Program Files\SlimServer\server\Bin\MSWin32-x86-multi-thread\wmadec.exe: ille
gal option -- -
D:\Program Files\SlimServer\server\Bin\MSWin32-x86-multi-thread\wmadec.exe: ille
gal option -- a
Illegal value passed for bits per sample parameter
wmadec [-qh] [ -b bits_per_sample ] [ -r sample_rate ]
[ -n num_channels ] [ -o outputfile ] [input]
-q
        Suppresses program output.
-h
        Print help message.
-b n
        Bits per sample of output.  Valid values are 8 or 16 (default)
-r n
        Sample rate of output. Default is 44100.
-n n
        Number of channels of output. Default is 2
-o filename
        Write output to specified filename.  Default is stdout.
2005-10-27 19:47:19.1630 Pipeline reader connected
2005-10-27 19:47:19.2127 We need to send 0 seconds of silence...
2005-10-27 19:47:19.2138 sending 0 bytes of silence
2005-10-27 19:47:19.2152 readlen undef: (Unknown error)10054
2005-10-27 19:47:19.2165 end of file or error on socket, opening next song, (son
g pos: 0(tell says: . ), totalbytes: )
2005-10-27 19:47:19.2183 opening next song...
2005-10-27 19:47:19.2203 the next song is number 0, was 0
2005-10-27 19:47:19.2230 Setting maxBitRate for 192.168.0.120 to: 320
2005-10-27 19:47:19.2243 Setting maxBitRate for 192.168.0.120 to: 320
2005-10-27 19:47:19.2282 undermax = 1, type = mp3, squeezebox = 00:04:20:05:61:9
a, lame = D:\Program Files\SlimServer\server\Bin\MSWin32-x86-multi-thread\lame.e
xe
2005-10-27 19:47:19.2303 checking formats for: mp3-aif-squeezebox-00:04:20:05:61
:9a
2005-10-27 19:47:19.2322 checking formats for: mp3-aif-*-00:04:20:05:61:9a
2005-10-27 19:47:19.2334 checking formats for: mp3-aif-squeezebox-*
2005-10-27 19:47:19.2346 checking formats for: mp3-aif-*-*
2005-10-27 19:47:19.2359 checking formats for: mp3-wav-squeezebox-00:04:20:05:61
:9a
2005-10-27 19:47:19.2384 checking formats for: mp3-wav-*-00:04:20:05:61:9a
2005-10-27 19:47:19.2399 checking formats for: mp3-wav-squeezebox-*
2005-10-27 19:47:19.2419 checking formats for: mp3-wav-*-*
2005-10-27 19:47:19.2434 checking formats for: mp3-mp3-squeezebox-00:04:20:05:61
:9a
2005-10-27 19:47:19.2451 checking formats for: mp3-mp3-*-00:04:20:05:61:9a
2005-10-27 19:47:19.2463 checking formats for: mp3-mp3-squeezebox-*
2005-10-27 19:47:19.2476 checking formats for: mp3-mp3-*-*
2005-10-27 19:47:19.2488 Checking to see if mp3-mp3-*-* is enabled
2005-10-27 19:47:19.2500    enabled
2005-10-27 19:47:19.2512   Found command: -
2005-10-27 19:47:19.2527 Setting maxBitRate for 192.168.0.120 to: 320
2005-10-27 19:47:19.2541 Setting maxBitRate for 192.168.0.120 to: 320
2005-10-27 19:47:19.2580 Matched Format: mp3 Type: mp3 Command: -
2005-10-27 19:47:19.2592 opening next song (old format: mp3, new: mp3) current p
laymode: play
2005-10-27 19:47:19.2609 Adding song index 0 to song queue
2005-10-27 19:47:19.2622 Clearing out song queue first
2005-10-27 19:47:19.2634 Song queue is now 0
2005-10-27 19:47:19.2651 openSong on: mms://sr-wm.qbrick.com/02038_sr-malmo-high

2005-10-27 19:47:19.2682 URL is remote : mms://sr-wm.qbrick.com/02038_sr-malmo-h
igh
2005-10-27 19:47:19.2698 Trying to open protocol stream for mms://sr-wm.qbrick.c
om/02038_sr-malmo-high
2005-10-27 19:47:19.2717 Looking for handler for protocol mms
2005-10-27 19:47:19.2729 Found handler for protocol mms
2005-10-27 19:47:19.4226 Setting maxBitRate for 192.168.0.120 to: 320
2005-10-27 19:47:19.4238 Setting maxBitRate for 192.168.0.120 to: 320
2005-10-27 19:47:19.4256 undermax = 0, type = wma, squeezebox = 00:04:20:05:61:9
a, lame = D:\Program Files\SlimServer\server\Bin\MSWin32-x86-multi-thread\lame.e
xe
2005-10-27 19:47:19.4280 checking formats for: wma-aif-squeezebox-00:04:20:05:61
:9a
2005-10-27 19:47:19.4297 checking formats for: wma-aif-*-00:04:20:05:61:9a
2005-10-27 19:47:19.4309 checking formats for: wma-aif-squeezebox-*
2005-10-27 19:47:19.4322 checking formats for: wma-aif-*-*
2005-10-27 19:47:19.4335 checking formats for: wma-wav-squeezebox-00:04:20:05:61
:9a
2005-10-27 19:47:19.4352 checking formats for: wma-wav-*-00:04:20:05:61:9a
2005-10-27 19:47:19.4365 checking formats for: wma-wav-squeezebox-*
2005-10-27 19:47:19.4377 checking formats for: wma-wav-*-*
2005-10-27 19:47:19.4389 Checking to see if wma-wav-*-* is enabled
2005-10-27 19:47:19.4402    enabled
2005-10-27 19:47:19.4415   Found command: [wmadec] -r 44100 -b 16 -n 2 $FILE$
2005-10-27 19:47:19.4429 Setting maxBitRate for 192.168.0.120 to: 320
2005-10-27 19:47:19.4443 Setting maxBitRate for 192.168.0.120 to: 320
2005-10-27 19:47:19.4461 checking formats for: wma-mp3-squeezebox-00:04:20:05:61
:9a
2005-10-27 19:47:19.4478 checking formats for: wma-mp3-*-00:04:20:05:61:9a
2005-10-27 19:47:19.4490 checking formats for: wma-mp3-squeezebox-*
2005-10-27 19:47:19.4502 checking formats for: wma-mp3-*-*
2005-10-27 19:47:19.4516 Checking to see if wma-mp3-*-* is enabled
2005-10-27 19:47:19.4528    enabled
2005-10-27 19:47:19.4540   Found command: [wmadec] -r 44100 --abr 16 -n 2 $FILE$
 | [lame] -x --resample 44100  --silent -q $QUALITY$ --abr $BITRATE$ - -
2005-10-27 19:47:19.4559 Setting maxBitRate for 192.168.0.120 to: 320
2005-10-27 19:47:19.4575 Setting maxBitRate for 192.168.0.120 to: 320
2005-10-27 19:47:19.4615 Matched Format: mp3 Type: wma Command: [wmadec] -r 4410
0 --abr 16 -n 2 $FILE$ | [lame] -x --resample 44100  --silent -q $QUALITY$ --abr
 $BITRATE$ - -
2005-10-27 19:47:19.6300 Setting maxBitRate for 192.168.0.120 to: 320
2005-10-27 19:47:19.6313 Setting maxBitRate for 192.168.0.120 to: 320
2005-10-27 19:47:19.6336 Using command for conversion: "D:\Program Files\SlimSer
ver\server\Bin\MSWin32-x86-multi-thread\wmadec.exe" -r 44100 --abr 16 -n 2 "mms:
//sr-wm.qbrick.com/02038_sr-malmo-high" | "D:\Program Files\SlimServer\server\Bi
n\MSWin32-x86-multi-thread\lame.exe" -x --resample 44100  --silent -q 9 --abr 32
0 - -
2005-10-27 19:47:19.6391 Launching process with command: "D:\Program Files\SlimS
erver\server\Bin\MSWin32-x86-multi-thread\socketwrapper.exe" -o 4481 -c "\"D:\Pr
ogram Files\SlimServer\server\Bin\MSWin32-x86-multi-thread\wmadec.exe\" -r 44100
 --abr 16 -n 2 \"mms://sr-wm.qbrick.com/02038_sr-malmo-high\" | \"D:\Program Fil
es\SlimServer\server\Bin\MSWin32-x86-multi-thread\lame.exe\" -x --resample 44100
  --silent -q 9 --abr 320 - -"
2005-10-27 19:47:19.6473 remoteURL is a song : mms://sr-wm.qbrick.com/02038_sr-m
almo-high
2005-10-27 19:47:19.6505 Setting maxBitRate for 192.168.0.120 to: 320
2005-10-27 19:47:19.6518 Setting maxBitRate for 192.168.0.120 to: 320
2005-10-27 19:47:19.6558 undermax = 1, type = mp3, squeezebox = 00:04:20:05:61:9
a, lame = D:\Program Files\SlimServer\server\Bin\MSWin32-x86-multi-thread\lame.e
xe
2005-10-27 19:47:19.6580 checking formats for: mp3-aif-squeezebox-00:04:20:05:61
:9a
2005-10-27 19:47:19.6597 checking formats for: mp3-aif-*-00:04:20:05:61:9a
2005-10-27 19:47:19.6609 checking formats for: mp3-aif-squeezebox-*
2005-10-27 19:47:19.6623 checking formats for: mp3-aif-*-*
2005-10-27 19:47:19.6635 checking formats for: mp3-wav-squeezebox-00:04:20:05:61
:9a
2005-10-27 19:47:19.6654 checking formats for: mp3-wav-*-00:04:20:05:61:9a
2005-10-27 19:47:19.6667 checking formats for: mp3-wav-squeezebox-*
2005-10-27 19:47:19.6679 checking formats for: mp3-wav-*-*
2005-10-27 19:47:19.6692 checking formats for: mp3-mp3-squeezebox-00:04:20:05:61
:9a
2005-10-27 19:47:19.6708 checking formats for: mp3-mp3-*-00:04:20:05:61:9a
2005-10-27 19:47:19.6738 checking formats for: mp3-mp3-squeezebox-*
2005-10-27 19:47:19.6750 checking formats for: mp3-mp3-*-*
2005-10-27 19:47:19.6764 Checking to see if mp3-mp3-*-* is enabled
2005-10-27 19:47:19.6776    enabled
2005-10-27 19:47:19.6788   Found command: -
2005-10-27 19:47:19.6803 Setting maxBitRate for 192.168.0.120 to: 320
2005-10-27 19:47:19.6818 Setting maxBitRate for 192.168.0.120 to: 320
2005-10-27 19:47:19.6855 Matched Format: mp3 Type: mp3 Command: -
2005-10-27 19:47:19.6867 remoteURL command - type mp3 format mp3
2005-10-27 19:47:19.6909 remoteURL stream format : mp3
D:\Program Files\SlimServer\server\Bin\MSWin32-x86-multi-thread\wmadec.exe: ille
gal option -- -
D:\Program Files\SlimServer\server\Bin\MSWin32-x86-multi-thread\wmadec.exe: ille
gal option -- a
Illegal value passed for bits per sample parameter
wmadec [-qh] [ -b bits_per_sample ] [ -r sample_rate ]
[ -n num_channels ] [ -o outputfile ] [input]
-q
        Suppresses program output.
-h
        Print help message.
-b n
        Bits per sample of output.  Valid values are 8 or 16 (default)
-r n
        Sample rate of output. Default is 44100.
-n n
        Number of channels of output. Default is 2
-o filename
        Write output to specified filename.  Default is stdout.
2005-10-27 19:47:19.8913 Pipeline reader connected
Comment 4 Dan Sully 2005-10-27 15:31:09 UTC
Thanks. Fixed in change 4885

For a quick fix - edit convert.conf - and find the line that says:

[wmadec] -r 44100 --abr 16

change it to:

[wmadec] -r 44100 -b 16