I think there is something special happening in an SB3 to handle Pandora
- it looks like the SB3 knows how to handle Pandora:// URL and
Softsqueeze doesn't.

Code:
--------------------
    
  [09-06-19 07:51:06.0612] Slim::Player::Transporter::play (124) Setting 
DigitalInput to 0 for [pandora://18914542081163271.mp3]
  [09-06-19 07:51:06.0614] Slim::Player::Transporter::setDigitalInput (204) 
Switching to digital input 0
  [09-06-19 07:51:06.0617] Slim::Player::Squeezebox::sendFrame (1055) sending 
squeezebox frame: audp, length: 1
  [09-06-19 07:51:06.0633] Slim::Player::Squeezebox::stream_s (579) stream_s 
called: format: mp3 url: pandora://18914542081163271.mp3
  [09-06-19 07:51:06.0636] Slim::Player::Squeezebox::stream_s (740) This player 
supports direct streaming for pandora://18914542081163271.mp3 as 
pandora://18914542081163271.mp3, let's do it.
  [09-06-19 07:51:06.1263] Slim::Utils::Misc::msg (1139) Warning: 
[07:51:06.1260] Use of uninitialized value in concatenation (.) or string at 
/<C:\PROGRA~1\SQUEEZ~1\server\SQUEEZ~1.EXE>Slim/Player/Squeezebox.pm line 770.
  [09-06-19 07:51:06.1266] Slim::Utils::Misc::msg (1139) Warning: 
[07:51:06.1264] Use of uninitialized value in concatenation (.) or string at 
/<C:\PROGRA~1\SQUEEZ~1\server\SQUEEZ~1.EXE>Slim/Player/Squeezebox.pm line 770.
  [09-06-19 07:51:06.1268] Slim::Player::Squeezebox::stream_s (770) Couldn't 
get an IP and Port for direct stream (:), failing.
  [09-06-19 07:51:06.1271] Slim::Player::Squeezebox2::failedDirectStream (763) 
Oh, well failed to do a direct stream for: pandora://18914542081163271.mp3 []
  [09-06-19 07:51:06.1274] 
Slim::Player::StreamingController::playerStreamingFailed (1736) 
0b:02:91:11:4a:96
  [09-06-19 07:51:06.1286] Slim::Player::StreamingController::_playersMessage 
(698) Problem: Can't connect to server for:: |PANDORA| - Delerium Radio
  
--------------------

It looks like additional code is in needed in Softsqueeze to emulate
SB3 - it is probably not practical nor the correct thing to do.  The
better way would be to figure out how Pandora is supported with SB1 as I
think the SB1 firmware has not been changed for a few years.

The following is an idea I had about a workaround.  
Assuming you have mplayer and lame installed,  there is a slim chance
that adding the following lines to the convert.conf might work.  

Code:
--------------------
    
  pandora mp3 softsqueeze *
        # F:{PATH=%f}R:{PATH=%F}T:{START=-ss %s}U:{DURATION=-endpos %w}
  [mplayer] -really-quiet -vc null -vo null $START$ $DURATION$ -cache 128 -af 
volume=0,resample=44100:0:1,channels=2 -ao pcm:file=#PIPE# $PATH$ | [lame] 
--silent -q $QUALITY$ $BITRATE$ - -
  
--------------------


-- 
bpa
------------------------------------------------------------------------
bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=62060

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to