First test

This commit is contained in:
mschuepbach
2024-03-10 20:07:05 +01:00
parent b361fc00df
commit b3a9d86a38
4 changed files with 67 additions and 0 deletions

View File

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

12
install.xml Normal file
View File

@@ -0,0 +1,12 @@
<?xml version="1.0"?>
<extension>
<name>PLUGIN_YOUTUBEMUSIC</name>
<module>Plugins::YoutubeMusic::Plugin</module>
<version>0.0.1</version>
<description>PLUGIN_YOUTUBEMUSIC_DESC</description>
<defaultState>enabled</defaultState>
<targetApplication>
<minVersion>7.0</minVersion>
<maxVersion>*</maxVersion>
</targetApplication>
</extension>

15
repo.xml Normal file
View File

@@ -0,0 +1,15 @@
<?xml version="1.0"?>
<extensions>
<plugins>
<plugin name="YoutubeMusic" version="0.0.1" minTarget="7.0.0" maxTarget="*">
<title lang="EN">Youtube Music</title>
<desc lang="EN">Integration for Youtube Music</desc>
<category>musicservices</category>
<url>https://git.sanggi.ch/matteo/lms-plugins/releases/download/0.0.1/YouTubeMusic.zip</url>
<link>https://git.sanggi.ch/matteo/lms-plugins</link>
<creator>mschuepbach</creator>
<email>mschuepbach@pm.me</email>
<sha>7f5747b690ed786f80ff495c804dcadd83fb15720836565ca2ef423ac34d7ba0</sha>
</plugin>
</plugins>
</extensions>

6
strings.txt Normal file
View File

@@ -0,0 +1,6 @@
PLUGIN_YOUTUBEMUSIC
EN YouTube Music
PLUGIN_YOUTUBEMUSIC_DESC
EN Integration for YouTube Music