@@ -1045,7 +1045,7 @@ static void visu_handler( u8_t *data, int len) {
// little trick to clean the taller screens when switching visu
if (visu.row >= displayer.height) GDS_ClearExt(display, false, true, visu.col, visu.row, visu.col + visu.width - 1, visu.row + visu.height - 1);
- if ((visu.mode = pkt->which) != 0) {
+ if (visu.mode) {
// these will be overidden if necessary
visu.col = visu.border = 0;
visu.rotate = false;
@@ -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),
@@ -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;
}
@@ -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>