plugin update

This commit is contained in:
philippe44
2020-02-18 23:24:33 -08:00
parent ac1bd891e8
commit 2d73ad8348
7 changed files with 15 additions and 6 deletions

Binary file not shown.

View File

@@ -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

View File

@@ -1,5 +1,9 @@
[% PROCESS settings/header.html %]
[% WRAPPER setting title="PLUGIN_SQUEEZEESP32_BANNER" %]
<div>[% "PLUGIN_SQUEEZEESP32_BANNER_TEXT" | string %]</div>
[% END %]
<div class="prefDesc">
[% WRAPPER setting title="PLUGIN_SQUEEZEESP32_WIDTH" desc="PLUGIN_SQUEEZEESP32_WIDTH_DESC" %]

View File

@@ -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();
}

View File

@@ -10,6 +10,6 @@
<name>PLUGIN_SQUEEZEESP32</name>
<description>PLUGIN_SQUEEZEESP32_DESC</description>
<module>Plugins::SqueezeESP32::Plugin</module>
<version>0.11</version>
<version>0.12</version>
<creator>Philippe</creator>
</extensions>

View File

@@ -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

View File

@@ -4,7 +4,7 @@
<plugin version="0.11" name="SqueezeESP32" minTarget="7.5" maxTarget="*">
<link>https://github.com/sle118/squeezelite-esp32</link>
<creator>Philippe</creator>
<sha>b923bd7dd412d1897eb8be2dec862f91f1e36dc4</sha>
<sha>3e60650efdff28cd0da9a7e9d0ddccf3a68d350d</sha>
<email>philippe_44@outlook.com</email>
<desc lang="EN">SqueezeESP32 additional player id (100)</desc>
<url>http://github.com/sle118/squeezelite-esp32/raw/master/plugin/SqueezeESP32.zip</url>