Bugzilla – Bug 10024
WMA remote streaming for players requiring transcoding broken
Last modified: 2009-07-31 10:32:08 UTC
There are two problems: 1) The convert.conf commands for windows do not include using wmadec for remote streams. 2) For softsqueeze at least (and possibly older players?) setting autostart to 3 for wma streams just to get the metadata, causes the stream to fail to start streaming. Should we only set autostart to 3 for SB2 and later hardware players? I'll fix the convert.conf commands, but these need testing. Looking for feedback from Alan on the autostart case.
change 23937 includes convert command for wma->wav and wma->flc. Alan - can you confirm the syntac for wma->mp3 (not quite sure how we merge with the entries already there)
Change 23938 does wma->mp3
With regard to the autostart problem. This comes down to the generic problem of protocol handlers being two distinct things: general handlers for a class of stream, and the actual source for a specific instance (class vs instance). Here is a hack that you might like to test as a temporary fix, but it is not the right solution. Actually, I wonder why it fails anyway - SoftSqueeze must be able to handle autostart=3 and the 'cont' command for direct streaming MP3. Index: Slim/Player/Squeezebox.pm =================================================================== --- Slim/Player/Squeezebox.pm (revision 23929) +++ Slim/Player/Squeezebox.pm (working copy) @@ -771,7 +773,7 @@ $request_string .= "\n"; } - if ($handler->can('handlesStreamHeaders')) { + if ($controller->streamHandler()->isa($handler) && $handler->can('handlesStreamHeaders')) { # Handler wants to be called once the stream is open $autostart += 2; }
Triode, did you try my suggestion above, and did it work?
Alan - not sure what else has changed, but softsqueeze is working for live wma streams with a windows server using wmadec now. I will close the bug.
This bug has been fixed in the 7.3.1 release version of SqueezeCenter! Please download the new version from http://www.slimdevices.com/su_downloads.html if you haven't already. If you are still experiencing this problem, feel free to reopen the bug with your new comments and we'll have another look.
Reduce number of active targets for SC