philippe_44 wrote: 
> That's interesting... If you know how to do that, can you edit file
> /usr/share/perl5/Slim/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( $socket, Time::HiRes::time() + $timeout, 
\&_http_read_timeout, $self, $args );
  > 
  >     Slim::Networking::Select::addError( $self->socket, \&_http_socket_error 
);
  >     Slim::Networking::Select::addRead( $self->socket, \&_http_read_body );
  > }
  > 
--------------------
> > 

Can I do it on a piCorePlayer system?


------------------------------------------------------------------------
schup011's Profile: http://forums.slimdevices.com/member.php?userid=66557
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