mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2026-01-29 05:40:50 +03:00
handle "generic" visualizer - release
This commit is contained in:
@@ -55,8 +55,12 @@ sub handler {
|
||||
$client->display->modes($client->display->build_modes);
|
||||
$client->display->update;
|
||||
|
||||
# force update
|
||||
Plugins::SqueezeESP32::Plugin::update_artwork($client, 1) if $artwork->{'enable'};
|
||||
# force update or disable artwork
|
||||
if ($artwork->{'enable'}) {
|
||||
Plugins::SqueezeESP32::Plugin::update_artwork($client, 1);
|
||||
} else {
|
||||
Plugins::SqueezeESP32::Plugin::disable_artwork($client);
|
||||
}
|
||||
}
|
||||
|
||||
# as there is nothing captured, we need to re-set these variables
|
||||
|
||||
Reference in New Issue
Block a user