chincheta0815 wrote:
> The hint with the dumper helped... I got the problem.
> The line:
> >
Code:
--------------------
> >
> my $os = Slim::Utils::OSDetect::details();
>
--------------------
> >
>
> Does not detect the os as solaris, but as Unix! That is really weird
> as in the information of the server in the web gui it shows "solaris"
> everywhere.
>
> Here the dump of the respective log:
> >
Code:
--------------------
> >
> [17-04-05 18:25:46.0301] Plugins::ShairTunes2W::Utils::helperBinary (43)
$VAR1 = {
> 'os' => 'Unix',
> 'osArch' => 'i86pc-solaris',
> 'binArch' => 'i86pc-solaris-thread-multi-64int',
> 'osName' => 'solaris',
> 'uid' => 'lmsd'
> };
>
--------------------
> >
>
> When I set the help_binary manually, the music starts.
>
> Now the big question: How do I get that right? Is it in the
> Plugin-code or is there an OSDetect needed?
>
>
> Setting the following worked:
> >
Code:
--------------------
> >
> if ($os->{'osName'} eq 'solaris') {
> $bin = "shairport_helper-i86pc-solaris";
> }
>
--------------------
> >
>
>
> What might Michael say?
No worries then, I'll use "Unix" for os and in binArch and look for
"solaris" like I do for Linux versions
LMS 7.7, 7.8 and 7.9 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBoxOne, XBMC, Foobar2000,
ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2, , Pi
B3, B2, Pi B+, 2xPi A+, Odroid-C1, Odroid-C2, Cubie2, Yamaha WX-010,
AppleTV 4, Airport Express
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=106289
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins