From 94c32fb95fbd3cc3f0e6f3e7fa930ba08bb7da28 Mon Sep 17 00:00:00 2001 From: philippe44 Date: Tue, 7 Jan 2020 12:23:22 -0800 Subject: [PATCH] plugin --- plugin/Plugin.pm | 27 +++++++++++++++++++++++++++ plugin/SqueezeESP32.zip | Bin 0 -> 885 bytes plugin/install.xml | 13 +++++++++++++ repo.xml | 11 +++++++++++ 4 files changed, 51 insertions(+) create mode 100644 plugin/Plugin.pm create mode 100644 plugin/SqueezeESP32.zip create mode 100644 plugin/install.xml create mode 100644 repo.xml diff --git a/plugin/Plugin.pm b/plugin/Plugin.pm new file mode 100644 index 00000000..247d10b2 --- /dev/null +++ b/plugin/Plugin.pm @@ -0,0 +1,27 @@ +package Plugins::SqueezeESP32::Plugin; + +use strict; + +use base qw(Slim::Plugin::Base); +use Slim::Utils::Prefs; +use Slim::Utils::Log; + +my $prefs = preferences('plugin.squeezeesp32'); + +$prefs->init(); + +my $log = Slim::Utils::Log->addLogCategory({ + 'category' => 'plugin.squeezeesp32', + 'defaultLevel' => 'INFO', + 'description' => Slim::Utils::Strings::string('SqueezeESP32'), +}); + +sub initPlugin { + my $class = shift; + + $class->SUPER::initPlugin(@_); + Slim::Networking::Slimproto::addPlayerClass($class, 100, 'squeeze2esp32', { client => 'Slim::Player::SqueezePlay', display => 'Slim::Display::Text' }); + LOG_INFO("Added class 100 for SqueezeESP32"); +} + +1; diff --git a/plugin/SqueezeESP32.zip b/plugin/SqueezeESP32.zip new file mode 100644 index 0000000000000000000000000000000000000000..9dc212e4801df5f11d7581aaa7f261824d0a9363 GIT binary patch literal 885 zcmWIWW@Zs#U|`^2_!y!daMSz5>E}S+1V#o1ZXlhRS6q^qlcQIWo0B`i-<#P`;OP6N z`-%D7wmDI{9j8sMHh*tz2=AP|kxjk+%=}HiUfwkm+;-t{_2=Y!XPW<}tguY#xOFpj z_seU!!jrdnP1?L8yWU`1bzL>Hh3Xb{jdQCq9Uiuync^~u(=zI(---s^yN4D|oVDZs zl_h(RZ-4vk0hRY3IO3;_kdc_(l5-3-`vu}n$m-|p+BT2kLO ze0#U=_q%=ix{E4gmvR_~E;BNAYPl`+QP}k2>d{N&>;dNU(VA3A08xbMmP7Zc8$3feW}mC%Ra(*j9 zt4Rlnw=SqHzRVP-{qD-7hYTAh&A92cdimG0_Wp-kS$vjgz9?&|{vfFs_wjI%#jc~r zE-!B_*4eScTgc~t_Tq~hPMOZBDsudwocvbqH&cK&Ba=M?u7s)rj2aM70Fx-mmJ2G# z$RNSsbU*%V=h3T-Qh8Cb(}DCN_V + + enabled + philippe_44@outlook.com + + 7.9 + *.* + SlimServer + + Plugins::SqueezeESP32::Plugin + 0.1 + Philippe + diff --git a/repo.xml b/repo.xml new file mode 100644 index 00000000..633b5a1a --- /dev/null +++ b/repo.xml @@ -0,0 +1,11 @@ + + + + + 8f04d2d7bd3028e499af09184f51ee20254c550c + SqueezESP32 display extension + http://downloads.sourceforge.net/project/lms-youtube/dev/YouTube-0.91.1.zip + SqueezeESP32 + + +