Sorry I can't reply in German.

CDplayer is my plugin and it works OK on a Linux LMS 7.7

It looks like there is a problem with either LMS 7.7 for WHS and/or
Perl 5.14 and it breaks this code.


Code:
--------------------
    
  
  if ($::VERSION lt '7.4') {
  my @pluginDirs = Slim::Utils::OSDetect::dirsFor('Plugins');
  for my $dir (@pluginDirs) {
  my $libpath = catdir($dir,'CDplayer','lib');
  next unless -d catdir($libpath,'Digest');
  unshift @INC, "$libpath";
  last;
  }
  }
  
--------------------


As a result the plugin cannot load a module PurePerl.pm which is in
lib.

Perhaps it is in OSDetect::dirsFor('Plugins') 

I cannot test as I don't have a WHS.


-- 
bpa
------------------------------------------------------------------------
bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=91826

_______________________________________________
slimserver-de mailing list
slimserver-de@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/slimserver-de

Antwort per Email an