mherger wrote: 
> > ...
> Could you please open 
> /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/Slim/Utils/Misc.pm
> 
> in TextEdit, go to line 840 and change the ISWINDOWS to ISMAC and try to
> 
> start again?
> 
> -- 
> 
> Michael

Thanks, that helped. Now the server is starting up and running ok. 

Noticed that there was bug #441 mentioned in the code at that spot?


Code:
--------------------
        # We only want files, directories and symlinks Bug #441
        # Otherwise we'll try and read them, and bad things will happen.
        # symlink must come first so an lstat() is done.
        if ( !$hasStat ) {
                lstat($fullpath);
        }
        
        return 0 unless (-l _ || -d _ || -f _);
  
        # Make sure we can read the file, honoring ACLs.
        if ( !main::ISMAC ){
                use filetest 'access';
                return 0 if ! -r $fullpath;
        }
        else {
                return 0 if ! -r _;
        }
  
        my $target;
  
        # a file can be an Alias on Mac
        if (main::ISMAC && -f _ && (stat _)[7] == 0 && $validRE && ($target = 
pathFromMacAlias($fullpath))) {
                unless (-d $target) {
                        return 0;
                }
        }
  
--------------------


------------------------------------------------------------------------
yahmmu's Profile: http://forums.slimdevices.com/member.php?userid=34492
View this thread: http://forums.slimdevices.com/showthread.php?t=101516

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

Reply via email to