plugin update now on cmake (except repo.xml)

This commit is contained in:
Philippe G
2021-04-28 17:29:28 -07:00
parent 51761d0890
commit 593927aac3
4 changed files with 6 additions and 6 deletions

View File

@@ -211,7 +211,7 @@ sub update_artwork {
my $cprefs = $prefs->client($client);
my $artwork = $cprefs->get('artwork') || return;
return unless $artwork->{'enable'};
return unless $artwork->{'enable'} && $client->display->isa("Plugins::SqueezeESP32::Graphics");
my $header = pack('Nnn', $artwork->{'enable'}, $artwork->{'x'}, $artwork->{'y'});
$client->sendFrame( grfa => \$header );