Compare commits
2 Commits
0e09a3f412
...
e03a08943a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e03a08943a | ||
|
|
8586726a2e |
@@ -22,6 +22,11 @@ sub initPlugin {
|
|||||||
my $class = shift;
|
my $class = shift;
|
||||||
|
|
||||||
$class->SUPER::initPlugin;
|
$class->SUPER::initPlugin;
|
||||||
|
|
||||||
|
if (main::WEBUI) {
|
||||||
|
require Plugins::YouTubeMusic::Settings;
|
||||||
|
Plugins::YouTubeMusic::Settings->new();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
sub shutdownPlugin {
|
sub shutdownPlugin {
|
||||||
|
|||||||
15
Settings.pm
Normal file
15
Settings.pm
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
package Plugins::YouTubeMusic::Settings;
|
||||||
|
|
||||||
|
use strict;
|
||||||
|
use base qw(Slim::Web::Settins);
|
||||||
|
|
||||||
|
my $log = logger('plugin.youtubemusic');
|
||||||
|
|
||||||
|
sub name {
|
||||||
|
return 'PLUGIN_YOUTUBEMUSIC';
|
||||||
|
}
|
||||||
|
|
||||||
|
sub page {
|
||||||
|
return 'plugins/YouTubeMusic/settings/basic.html';
|
||||||
|
}
|
||||||
|
|
||||||
2
repo.xml
2
repo.xml
@@ -9,7 +9,7 @@
|
|||||||
<link>https://git.sanggi.ch/matteo/lms-plugins</link>
|
<link>https://git.sanggi.ch/matteo/lms-plugins</link>
|
||||||
<creator>mschuepbach</creator>
|
<creator>mschuepbach</creator>
|
||||||
<email>mschuepbach@pm.me</email>
|
<email>mschuepbach@pm.me</email>
|
||||||
<sha>0fbcc10f445098ac38f549842b7a0de8669d5d4d</sha>
|
<sha>d64b26666b0b325a99c87e0389683512e008a847</sha>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</extensions>
|
</extensions>
|
||||||
|
|||||||
Reference in New Issue
Block a user