Learnincurve wrote: 
> Thanks Phillippe_44!
> 
> I can obviously just try escaping the brackets myself and might have a
> go this evening, but would have no idea what I'm doing as if regex makes
> your head spin, mine unscrews and falls off completely ;)!
> 
> Please let me know if I can help as it is my environment that has the
> problem.
> 
> BR.
> 
> --Marius--


I simply escaped the left bracket at line 378 of
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/YouTube/JSInterp.pm
as the error message instructed:

From:

while ($fields =~ /
([a-zA-Z\$0-9]+)\s*:\s*function
\(([a-z,]+)\){([^}]+)}

To

while ($fields =~ /
([a-zA-Z\$0-9]+)\s*:\s*function
\(([a-z,]+)\)\{([^}]+)}

Plugin now loads without errors.

BR.

Marius


------------------------------------------------------------------------
Learnincurve's Profile: http://forums.slimdevices.com/member.php?userid=64807
View this thread: http://forums.slimdevices.com/showthread.php?t=105840

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to