[Slim-Checkins] r12534 - /trunk/server/Slim/Player/Client.pm

andy at svn.slimdevices.com andy at svn.slimdevices.com
Sat Aug 11 06:50:49 PDT 2007


Author: andy
Date: Sat Aug 11 06:50:48 2007
New Revision: 12534

URL: http://svn.slimdevices.com?rev=12534&view=rev
Log:
Fix pluginData to work with Plugins:: namespace

Modified:
    trunk/server/Slim/Player/Client.pm

Modified: trunk/server/Slim/Player/Client.pm
URL: http://svn.slimdevices.com/trunk/server/Slim/Player/Client.pm?rev=12534&r1=12533&r2=12534&view=diff
==============================================================================
--- trunk/server/Slim/Player/Client.pm (original)
+++ trunk/server/Slim/Player/Client.pm Sat Aug 11 06:50:48 2007
@@ -1607,7 +1607,7 @@
 	
 	# if called from a plugin, we automatically use the plugin's namespace for keys
 	my $package = caller(0);
-	if ( $package =~ /Slim::Plugin::(\w+)/ ) {
+	if ( $package =~ /^(?:Slim::Plugin|Plugins)::(\w+)/ ) {
 		$namespace = $1;
 	}
 	



More information about the checkins mailing list