Cribb wrote:
> This is my running code in Plugin.pm now:
>
> # if (Slim::Utils::OSDetect->details->{'isSynology'}) {
> my $arch = Slim::Utils::OSDetect->details->{'binArch'};
> if ($arch =~ /^MARVELL/) {
>
> Slim::Utils::Misc::addFindBinPaths(catdir(
> $class->_pluginDataFor('basedir'), 'Bin', 'arm-linux' ));
>
> $log->info("SYNOLOGY DETECTED");
> }
> if ($arch =~ /X86|CEDARVIEW/) {
> Slim::Utils::Misc::addFindBinPaths(catdir(
> $class->_pluginDataFor('basedir'), 'Bin', 'i386-linux' ));
> }
> # }
>
> As you can see, everything within the statement is parsed.
>
>
OK - so looks like the Synology check in the server is no longer working
- I can just check for the architecture I guess... Will update future
versions.
------------------------------------------------------------------------
Triode's Profile: http://forums.slimdevices.com/member.php?userid=17
View this thread: http://forums.slimdevices.com/showthread.php?t=79706
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins