plugin: sync players artwork & spectrum typo

This commit is contained in:
Philippe G
2020-12-03 20:59:06 -08:00
parent c576587de4
commit 3c418097b8
5 changed files with 7 additions and 6 deletions

View File

@@ -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;
}
}