Răsfoiți Sursa

take prefs from the correct namespace

Philippe G 4 ani în urmă
părinte
comite
4ecc9da6d3

BIN
plugin/SqueezeESP32.zip


+ 1 - 1
plugin/SqueezeESP32/Player.pm

@@ -126,7 +126,7 @@ sub treble {
 
 sub tone {
 	my ($center, $client, $value) = @_;
-	my $equalizer = $prefs->get('equalizer');
+	my $equalizer = $prefs->client($client)->get('equalizer');
 	
 	if (defined($value)) {
 		$equalizer->[$center-1] = int($value * 0.2 + 0.5);

+ 1 - 1
plugin/SqueezeESP32/install.xml

@@ -10,6 +10,6 @@
   <name>PLUGIN_SQUEEZEESP32</name>
   <description>PLUGIN_SQUEEZEESP32_DESC</description>
   <module>Plugins::SqueezeESP32::Plugin</module>
-    <version>0.100</version>
+    <version>0.101</version>
   <creator>Philippe</creator>
 </extensions>

+ 2 - 2
plugin/repo.xml

@@ -1,10 +1,10 @@
 <?xml version='1.0' standalone='yes'?>
 <extensions>
   <plugins>
-    <plugin version="0.100" name="SqueezeESP32" minTarget="7.9" maxTarget="*">
+    <plugin version="0.101" name="SqueezeESP32" minTarget="7.9" maxTarget="*">
       <link>https://github.com/sle118/squeezelite-esp32</link>
       <creator>Philippe</creator>
-      <sha>4a62651707d963f867451788765e740b7e1a79ac</sha>
+      <sha>49cb70db3a3d4359360332f1f49a845e2e4970b8</sha>
       <email>philippe_44@outlook.com</email>
       <desc lang="EN">SqueezeESP32 additional player id (100)</desc>
       <url>http://github.com/sle118/squeezelite-esp32/raw/master/plugin/SqueezeESP32.zip</url>