2
0
Эх сурвалжийг харах

plugin: sync players artwork & spectrum typo

Philippe G 4 жил өмнө
parent
commit
3c418097b8

BIN
plugin/SqueezeESP32.zip


+ 1 - 1
plugin/SqueezeESP32/Graphics.pm

@@ -141,7 +141,7 @@ sub build_modes {
 	my $width_low = ($artwork->{'enable'} && $artwork->{'x'} && ($artwork->{'y'} >= 32 || $disp_width - $artwork->{'x'} > 32)) ? $artwork->{'x'} : $disp_width;
 			
 	my $small_VU = $cprefs->get('small_VU');
-	my $spectrum = sanitizeSpectrum($cprefs->get('sprectrum'));
+	my $spectrum = sanitizeSpectrum($cprefs->get('spectrum'));
 
 	my $small_spectrum_pos = { x => $width - int ($spectrum->{small}->{size} * $width / 100),
 						 width => int ($spectrum->{small}->{size} * $width / 100),

+ 3 - 2
plugin/SqueezeESP32/Plugin.pm

@@ -73,8 +73,9 @@ sub onNotification {
 	my $request = shift;
 	my $client  = $request->client || return;
 
-	if ($client->isa('Plugins::SqueezeESP32::Player')) {
-		$client->update_artwork();
+	foreach my $player ($client->syncGroupActiveMembers) {
+		next unless $player->isa('Plugins::SqueezeESP32::Player');
+		$player->update_artwork;
 	}
 }
 

+ 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.210</version>
+    <version>0.211</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.210" name="SqueezeESP32" minTarget="7.9" maxTarget="*">
+    <plugin version="0.211" name="SqueezeESP32" minTarget="7.9" maxTarget="*">
       <link>https://github.com/sle118/squeezelite-esp32</link>
       <creator>Philippe</creator>
-      <sha>dd66b0ac524595af833766c3cd790ee4ca96e0b6</sha>
+      <sha>c33af63de1c2e799a05352708b9f5db9e8d1102a</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>