diff --git a/plugin/SqueezeESP32.zip b/plugin/SqueezeESP32.zip
index fa298f36..d9ab112d 100644
Binary files a/plugin/SqueezeESP32.zip and b/plugin/SqueezeESP32.zip differ
diff --git a/plugin/SqueezeESP32/PlayerSettings.pm b/plugin/SqueezeESP32/PlayerSettings.pm
index 89c2ff7e..9b331d87 100644
--- a/plugin/SqueezeESP32/PlayerSettings.pm
+++ b/plugin/SqueezeESP32/PlayerSettings.pm
@@ -41,17 +41,17 @@ sub handler {
if ($paramRef->{'saveSettings'}) {
if ($client->displayWidth) {
- $cprefs->set('small_VU', $paramRef->{'pref_small_VU'});
- my $spectrum = { scale => $paramRef->{'pref_spectrum_scale'},
- small => { size => $paramRef->{'pref_spectrum_small_size'},
- band => $paramRef->{'pref_spectrum_small_band'} },
- full => { band => $paramRef->{'pref_spectrum_full_band'} },
+ $cprefs->set('small_VU', $paramRef->{'pref_small_VU'} || 15);
+ my $spectrum = { scale => $paramRef->{'pref_spectrum_scale'} || 25,
+ small => { size => $paramRef->{'pref_spectrum_small_size'} || 25,
+ band => $paramRef->{'pref_spectrum_small_band'} || 5.33 },
+ full => { band => $paramRef->{'pref_spectrum_full_band'} } || 8,
};
$cprefs->set('spectrum', $spectrum);
my $artwork = { enable => $paramRef->{'pref_artwork_enable'},
- x => $paramRef->{'pref_artwork_x'},
- y => $paramRef->{'pref_artwork_y'},
+ x => $paramRef->{'pref_artwork_x'} || 0,
+ y => $paramRef->{'pref_artwork_y'} || 0,
};
$cprefs->set('artwork', $artwork);
$client->display->modes($client->display->build_modes);
diff --git a/plugin/SqueezeESP32/install.xml b/plugin/SqueezeESP32/install.xml
index c3322c4f..8d5a18f2 100644
--- a/plugin/SqueezeESP32/install.xml
+++ b/plugin/SqueezeESP32/install.xml
@@ -10,6 +10,6 @@
PLUGIN_SQUEEZEESP32
PLUGIN_SQUEEZEESP32_DESC
Plugins::SqueezeESP32::Plugin
- 0.82
+ 0.83
Philippe
diff --git a/plugin/repo.xml b/plugin/repo.xml
index 8fa1d18b..9fd064df 100644
--- a/plugin/repo.xml
+++ b/plugin/repo.xml
@@ -1,10 +1,10 @@
-
+
https://github.com/sle118/squeezelite-esp32
Philippe
- 55eb14f12790d71306d143689d9b3d47f9820731
+ 3bbf5a40ff368472c0de6d43fa61134f8f34558e
philippe_44@outlook.com
SqueezeESP32 additional player id (100)
http://github.com/sle118/squeezelite-esp32/raw/master/plugin/SqueezeESP32.zip