philippe_44 wrote: 
> 
> You can also replace the $log->debug(Dumper...) by a
> $log->error(Dumper...) to make sure you have a dump of what LMS detects
> as an OS, without having to set the whole plugin in debug mode

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?
What might Michael say?


------------------------------------------------------------------------
chincheta0815's Profile: http://forums.slimdevices.com/member.php?userid=42904
View this thread: http://forums.slimdevices.com/showthread.php?t=106289

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to