pberger wrote:
>
> >
Code:
--------------------
> > [13-10-28 22:23:26.7715] Slim::bootstrap::tryModuleLoad (289) Warning:
Module [Plugins::LMSnewGUI::Plugin] failed to load:
> Type of arg 1 to push must be array (not hash element) at
/opt/ssods4/var/home/SqueezeboxServer/Cache/InstalledPlugins/Plugins/LMSnewGUI/Plugin.pm
line 1603, near "};"
> Type of arg 1 to push must be array (not hash element) at
/opt/ssods4/var/home/SqueezeboxServer/Cache/InstalledPlugins/Plugins/LMSnewGUI/Plugin.pm
line 1609, near "};"
> Type of arg 1 to push must be array (not hash element) at
/opt/ssods4/var/home/SqueezeboxServer/Cache/InstalledPlugins/Plugins/LMSnewGUI/Plugin.pm
line 1615, near "};"
> Type of arg 1 to push must be array (not hash element) at
/opt/ssods4/var/home/SqueezeboxServer/Cache/InstalledPlugins/Plugins/LMSnewGUI/Plugin.pm
line 1621, near "};"
> Compilation failed in require at (eval 1003) line 2.
> BEGIN failed--compilation aborted at (eval 1003) line 2.
--------------------
> >
> Any idea what version is required as minimum?
Roland - these are real syntax errors. You'll have to de-reference the
results list:
Code:
--------------------
push $response->{'results'}, { 'type' => 'news', 'items'=>
$res->{item_loop}};
--------------------
should be:
Code:
--------------------
push @{$response->{'results'}}, { 'type' => 'news', 'items'=>
$res->{item_loop}};
--------------------
Michael
http://www.herger.net/slim-plugins - MusicArtistInfo, MusicInfoSCR,
Smart Mix
------------------------------------------------------------------------
mherger's Profile: http://forums.slimdevices.com/member.php?userid=50
View this thread: http://forums.slimdevices.com/showthread.php?t=98186
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins