Here is another funny use of the plugin:
Is this in some plugi of yours? You should probably share a little information about what you're trying to do.
sub getAlbumMenu { my ($client, $cb, $params, $args) = @_; if ($params->{album}->{client}) { $client = $params->{album}->{client}; delete $params->{album}->{client}; } #Sven 2020-03-31
Why don't you send the $client reference as the first parameter (as expected here), instead of putting it into $params? Problem solved, no patching required, right?
This changes the $client value.
It doesn't change it. It defines it. Which is required because you send the "undef" value as $client.
-- Michael _______________________________________________ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins