Re: the AnyEvent problems,

AFAICT The message "masks earlier declaration in same scope" is by
default a warning and not an error which seems to indicate something may
have changed warning levels. Not definite though.

The AnyEvent module is commonly used and maintained and still has same
code - so it is not considered an error in "normal" situations.

However, I can't reproduce even by altering warning levels. There may be
an interaction with another plugin or AnyEvent::common_sense


Workaround that might work.  Edit the file
PlayHLS/lib/MyAnyEvent/Handlehls.pm and at line 2048 delete the "my"
coloured in red.

Code:
--------------------
    
  our $ERROR_SYSCALL;
  our $ERROR_WANT_READ;
  
  sub _tls_error {
  my ($self, $err) = @_;
  
  return $self->_error ($!, 1)
  if $err == Net::SSLeay::ERROR_SYSCALL ();
  
  my $err = Net::SSLeay::ERR_error_string (Net::SSLeay::ERR_get_error ());
  
  # reduce error string to look less scary
  $err =~ s/^error:[0-9a-fA-F]{8}:[^:]+:([^:]+):/\L$1: /;
  
  if ($self->{_on_starttls}) {
  (delete $self->{_on_starttls})->($self, undef, $err);
  &_freetls;
  } else {
  &_freetls;
  $self->_error (Errno::EPROTO, 1, $err);
  }
  }
  
--------------------


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

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

Reply via email to