schup011 wrote: 
> Actually I added Reliable plugin only yesterday to see whether this
> could help - it did not do anything to my specific problem.
> 
> Anyway, I did it again with Reliabe Plugin deactivated. This time, it
> took a little more channel switches to reproduce the situation where the
> server does not provide audio. 
> 
> I see the HTTP=GLOB(0x6021268) being connected, but not disconnected.

That's interesting... If you know how to do that, can you edit file
Networking::Async::HTTP.pm, go to function "read_body" and replace with


Code:
--------------------
    
  # After reading headers, some callers may want to continue and
  # read the body
  sub read_body {
        my $self = shift;
        my $args = shift;
  
        $self->socket->set( passthrough => [ $self, $args ] );
  # Timer in case the server never sends any body data
        my $timeout = $self->timeout || $prefs->get('remotestreamtimeout');
        Slim::Utils::Timers::setTimer( $self->socket, Time::HiRes::time() + 
$timeout, \&_http_socket_error, $self, $args );
  
        Slim::Networking::Select::addError( $self->socket, \&_http_socket_error 
);
        Slim::Networking::Select::addRead( $self->socket, \&_http_read_body );
  }
  
--------------------



LMS 7.9  on Pi 3B+ & Odroid-C2 - *SqueezeAMP!*, 5xRadio, 3xBoom, 4xDuet,
1xTouch, 1 SB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000,
ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2,
Squeezelite on Pi,  Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5,
Riva 1 & 3
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=112774

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

Reply via email to