Skip to content

Commit

Permalink
Merge pull request #440 from digidocs/loudness_plugin_fix1
Browse files Browse the repository at this point in the history
SqueezeESP32 plugin loudness control fix
  • Loading branch information
philippe44 authored Sep 12, 2024
2 parents b50bc8f + fdd8b0a commit 5007037
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
Binary file modified plugin/SqueezeESP32.zip
Binary file not shown.
3 changes: 2 additions & 1 deletion plugin/SqueezeESP32/Player.pm
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,8 @@ sub send_equalizer {
sub send_loudness {
my ($client, $loudness) = @_;

$loudness ||= $prefs->client($client)->get('loudness') || 0;
$loudness //= $prefs->client($client)->get('loudness');

my $data = pack("c1", $loudness);
$client->sendFrame( loud => \$data );
}
Expand Down
2 changes: 1 addition & 1 deletion plugin/SqueezeESP32/install.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
<name>PLUGIN_SQUEEZEESP32</name>
<description>PLUGIN_SQUEEZEESP32_DESC</description>
<module>Plugins::SqueezeESP32::Plugin</module>
<version>0.600</version>
<version>0.601</version>
<creator>Philippe</creator>
</extensions>
4 changes: 2 additions & 2 deletions plugin/repo.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?xml version='1.0' standalone='yes'?>
<extensions>
<plugins>
<plugin version="0.600" name="SqueezeESP32" minTarget="7.9" maxTarget="*">
<plugin version="0.601" name="SqueezeESP32" minTarget="7.9" maxTarget="*">
<link>https://github.com/sle118/squeezelite-esp32</link>
<creator>Philippe</creator>
<sha>335b585e22eddbddacce00f34001d8bf2ee0f54f</sha>
<sha>439637e01db7410157a333446cd284509f877849</sha>
<email>[email protected]</email>
<desc lang="EN">SqueezeESP32 additional player id (100/101)</desc>
<url>http://raw.githubusercontent.com/sle118/squeezelite-esp32/master-v4.3/plugin/SqueezeESP32.zip</url>
Expand Down

0 comments on commit 5007037

Please sign in to comment.