Hi here is the solution I found to correct this bug.  It worked for me.

around line 393 of 
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/YouTube/JSInterp.pm
you find this code 

Code:
--------------------
    sub extract_function {
  my ($self, $depth, $funcname) = @_;
  $self->progress($depth, "--", "Extract $funcname");
        my $args;
  my $code;
  # ADD a "," in this line                                HERE
        if (($self->{code} =~ 
/(?:function\s+\Q$funcname\E|[{;,]\Q$funcname\E\s*=\s*function)\s*
  \(([^)]*)\)\s*
  \{([^}]+)\}/x)) {
                $args = $1;
                $code = $2;
        ...
  
--------------------


add a colon "," under the HERE word I added in the code (as comment) 
so just after the first ; of the if 

restart logitechMediaServer and try to play your youtube url. it worked
for me


------------------------------------------------------------------------
ken baby's Profile: http://forums.slimdevices.com/member.php?userid=65179
View this thread: http://forums.slimdevices.com/showthread.php?t=87731

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

Reply via email to