Looking at subversion, Slimtray has not been modified since last
October.
http://svn.slimdevices.com/branches/6.5/platforms/win32/SlimTray.pl?rev=10200&view=log

Also looking throug the code there is a service name defined.

my $serviceName = 'slimsvc';

.. and a function to check the status on that service called

checkSSActive()

sub checkSSActive {

                Win32::Service::GetStatus('', $serviceName, \%status);

                if ($status{'CurrentState'} == 0x04) {

                        $state = 'running';
                }

        } else {

                if (processID() != -1) {

                        $state = 'running';
                }
        }

.. so if we're running as a service, get the status of Slimsvc,
otherwise look for a proces using the processid function

sub processID {

        my $p   = Win32::Process::List->new;
        my $pid = ($p->GetProcessPid(qr/^slim\.exe$/))[0];

        return $pid;
}

So if you have Slimsvc started or a process called slim.exe then
Slimserver is considered running.

I can't figure out why you're seeing the issue reported as Slimtray is
working fine for me. Have you checked the Windows services applet to
check that the service isn't running?


-- 
oreillymj
------------------------------------------------------------------------
oreillymj's Profile: http://forums.slimdevices.com/member.php?userid=699
View this thread: http://forums.slimdevices.com/showthread.php?t=33686

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

Reply via email to