diff --git a/plugin/SqueezeESP32.zip b/plugin/SqueezeESP32.zip index 4942fc51..f9688f9a 100644 Binary files a/plugin/SqueezeESP32.zip and b/plugin/SqueezeESP32.zip differ diff --git a/plugin/SqueezeESP32/Graphics.pm b/plugin/SqueezeESP32/Graphics.pm index 29b53bc2..70909e7d 100644 --- a/plugin/SqueezeESP32/Graphics.pm +++ b/plugin/SqueezeESP32/Graphics.pm @@ -16,7 +16,7 @@ my $VISUALIZER_SPECTRUM_ANALYZER = 2; my $VISUALIZER_WAVEFORM = 3; my $width = $prefs->get('width') || 128; -my $spectrum_scale = $prefs->get('spectrum_scale') || 0.5; +my $spectrum_scale = $prefs->get('spectrum_scale') || 50; my @modes = ( # mode 0 diff --git a/plugin/SqueezeESP32/HTML/EN/plugins/SqueezeESP32/settings/basic.html b/plugin/SqueezeESP32/HTML/EN/plugins/SqueezeESP32/settings/basic.html index dec653b4..fdf77916 100644 --- a/plugin/SqueezeESP32/HTML/EN/plugins/SqueezeESP32/settings/basic.html +++ b/plugin/SqueezeESP32/HTML/EN/plugins/SqueezeESP32/settings/basic.html @@ -1,5 +1,9 @@ [% PROCESS settings/header.html %] + [% WRAPPER setting title="PLUGIN_SQUEEZEESP32_BANNER" %] +
[% "PLUGIN_SQUEEZEESP32_BANNER_TEXT" | string %]
+ [% END %] +
[% WRAPPER setting title="PLUGIN_SQUEEZEESP32_WIDTH" desc="PLUGIN_SQUEEZEESP32_WIDTH_DESC" %] diff --git a/plugin/SqueezeESP32/Settings.pm b/plugin/SqueezeESP32/Settings.pm index 4856383d..1ef18504 100644 --- a/plugin/SqueezeESP32/Settings.pm +++ b/plugin/SqueezeESP32/Settings.pm @@ -6,7 +6,7 @@ use strict; use Slim::Utils::Prefs; use Slim::Utils::Log; -my $log = logger('plugin.SqueezeESP32'); +my $log = logger('plugin.squeezeesp32'); sub name { return 'PLUGIN_SQUEEZEESP32'; @@ -17,14 +17,13 @@ sub page { } sub prefs { - return (preferences('plugin.SqueezeESP32'), qw(width spectrum_scale)); + return (preferences('plugin.squeezeesp32'), qw(width spectrum_scale)); } sub handler { my ($class, $client, $params, $callback, @args) = @_; $callback->($client, $params, $class->SUPER::handler($client, $params), @args); - $client->update(); } diff --git a/plugin/SqueezeESP32/install.xml b/plugin/SqueezeESP32/install.xml index 51365287..c8f6edc7 100644 --- a/plugin/SqueezeESP32/install.xml +++ b/plugin/SqueezeESP32/install.xml @@ -10,6 +10,6 @@ PLUGIN_SQUEEZEESP32 PLUGIN_SQUEEZEESP32_DESC Plugins::SqueezeESP32::Plugin - 0.11 + 0.12 Philippe diff --git a/plugin/SqueezeESP32/strings.txt b/plugin/SqueezeESP32/strings.txt index d51fa50e..d00ff9b5 100644 --- a/plugin/SqueezeESP32/strings.txt +++ b/plugin/SqueezeESP32/strings.txt @@ -4,6 +4,12 @@ WELCOME_TO_SQUEEZEESP32 PLUGIN_SQUEEZEESP32 EN SqueezeESP32 +PLUGIN_SQUEEZEESP32_BANNER + EN WARNING + +PLUGIN_SQUEEZEESP32_BANNER_TEXT + EN You need to restart LMS for these parameters to be taken into account + PLUGIN_SQUEEZEESP32_DESC EN Adds a new player id (100) to enable display with SqueezeESP32 diff --git a/plugin/repo.xml b/plugin/repo.xml index 1d31dcdf..e9debf7c 100644 --- a/plugin/repo.xml +++ b/plugin/repo.xml @@ -4,7 +4,7 @@ https://github.com/sle118/squeezelite-esp32 Philippe - b923bd7dd412d1897eb8be2dec862f91f1e36dc4 + 3e60650efdff28cd0da9a7e9d0ddccf3a68d350d philippe_44@outlook.com SqueezeESP32 additional player id (100) http://github.com/sle118/squeezelite-esp32/raw/master/plugin/SqueezeESP32.zip