mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-07 20:17:04 +03:00
handle "generic" visualizer - release
This commit is contained in:
@@ -26,7 +26,7 @@ sub playerSettingsFrame {
|
||||
$value = (unpack('Cn', $$data_ref))[1];
|
||||
if ($value > 100 && $value < 400) {
|
||||
$prefs->client($client)->set('width', $value);
|
||||
$client->display->modes($client->display->build_modes($value));
|
||||
$client->display->modes($client->display->build_modes);
|
||||
$client->display->widthOverride(1, $value);
|
||||
$client->update;
|
||||
}
|
||||
@@ -38,7 +38,7 @@ sub playerSettingsFrame {
|
||||
$client->SUPER::playerSettingsFrame($data_ref);
|
||||
}
|
||||
|
||||
sub hasScrolling {
|
||||
sub hasScrolling {
|
||||
return 1;
|
||||
}
|
||||
|
||||
@@ -48,10 +48,4 @@ sub reconnect {
|
||||
$client->SUPER::reconnect(@_);
|
||||
}
|
||||
|
||||
sub directMetadata {
|
||||
my $client = shift;
|
||||
$client->SUPER::directMetadata(@_);
|
||||
Slim::Control::Request::notifyFromArray( $client, [ 'newmetadata' ] );
|
||||
}
|
||||
|
||||
1;
|
||||
|
||||
Reference in New Issue
Block a user