Skip to content

Commit 01437df

Browse files
committed
If installed on pCP LMS server, do not autorun the local player.
Signed-off-by: PaulHermann <6473457+paul-1@users.noreply.github.com>
1 parent cc2449a commit 01437df

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Plugin.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ use Slim::Utils::Log;
1010
my $prefs = preferences('plugin.localplayer');
1111

1212
$prefs->init({
13-
autorun => 1,
13+
autorun => sub { lc(Slim::Utils::OSDetect::details()->{osName} || '') eq 'picore' ? 0 : 1 },
1414
output => '',
1515
opts => '-s 127.0.0.1',
1616
debugs => '',

0 commit comments

Comments
 (0)