From b3a9d86a3802e5b69c0b2eef0325308659b90a82 Mon Sep 17 00:00:00 2001 From: mschuepbach Date: Sun, 10 Mar 2024 20:07:05 +0100 Subject: [PATCH] First test --- Plugin.pm | 34 ++++++++++++++++++++++++++++++++++ install.xml | 12 ++++++++++++ repo.xml | 15 +++++++++++++++ strings.txt | 6 ++++++ 4 files changed, 67 insertions(+) create mode 100644 install.xml create mode 100644 repo.xml create mode 100644 strings.txt diff --git a/Plugin.pm b/Plugin.pm index e69de29..fc3f70e 100644 --- a/Plugin.pm +++ b/Plugin.pm @@ -0,0 +1,34 @@ +package Plugins::YoutubeMusic::Plugin; + +use strict; + +use base qw(Slim:Plugin:Base); + +use Slim::Utils::Strings qw(string); +use Slim::Utils::Prefs; +use Slim::Utils::Log; + +my $log = Slim::Utils::Log->addLogCategory({ + 'category' => 'plugin.youtubemusic', + 'defaultLevel' => 'WARN', + 'description' => 'PLUGIN_YOUTUBEMUSIC', +}); + +my $prefs = preferences('plugin.youtubemusic'); + +use Plugins::YoutubeMusic::ProtocolHandler; + +sub initPlugin { + my $class = shift; + + $class->SUPER::initPlugin; +} + +sub shutdownPlugin { + +} + +sub getDisplayName { 'PLUGIN_YOUTUBEMUSIC' } + +1; + diff --git a/install.xml b/install.xml new file mode 100644 index 0000000..919ba87 --- /dev/null +++ b/install.xml @@ -0,0 +1,12 @@ + + + PLUGIN_YOUTUBEMUSIC + Plugins::YoutubeMusic::Plugin + 0.0.1 + PLUGIN_YOUTUBEMUSIC_DESC + enabled + + 7.0 + * + + diff --git a/repo.xml b/repo.xml new file mode 100644 index 0000000..a9c287a --- /dev/null +++ b/repo.xml @@ -0,0 +1,15 @@ + + + + + Youtube Music + Integration for Youtube Music + musicservices + https://git.sanggi.ch/matteo/lms-plugins/releases/download/0.0.1/YouTubeMusic.zip + https://git.sanggi.ch/matteo/lms-plugins + mschuepbach + mschuepbach@pm.me + 7f5747b690ed786f80ff495c804dcadd83fb15720836565ca2ef423ac34d7ba0 + + + diff --git a/strings.txt b/strings.txt new file mode 100644 index 0000000..5e50e31 --- /dev/null +++ b/strings.txt @@ -0,0 +1,6 @@ +PLUGIN_YOUTUBEMUSIC + EN YouTube Music + +PLUGIN_YOUTUBEMUSIC_DESC + EN Integration for YouTube Music +