Bug 10024 - WMA remote streaming for players requiring transcoding broken
: WMA remote streaming for players requiring transcoding broken
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Audio
: 7.3.0
: PC Windows Vista
: P2 normal (vote)
: 7.x
Assigned To: Alan Young
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-11-15 07:22 UTC by Adrian Smith
Modified: 2009-07-31 10:32 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adrian Smith 2008-11-15 07:22:03 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.
Comment 1 Adrian Smith 2008-11-15 07:33:04 UTC
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)
Comment 2 Alan Young 2008-11-15 08:04:10 UTC
Change 23938 does wma->mp3
Comment 3 Alan Young 2008-11-15 08:46:10 UTC
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;
 		}
Comment 4 Alan Young 2008-11-28 03:23:41 UTC
Triode, did you try my suggestion above, and did  it work?
Comment 5 Adrian Smith 2008-11-28 05:30:37 UTC
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.
Comment 6 James Richardson 2008-12-22 11:36:46 UTC
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.
Comment 7 Chris Owens 2009-07-31 10:32:08 UTC
Reduce number of active targets for SC