Here's a workaround. Basically, create a batch file to run SC7 with the
necessary command line options. Then modify the registry entry for the
SqueezeCenter service to use srvany.exe to run the batch file as a
service.
My batch file looks like:
Code:
--------------------
@echo off & setlocal
set ipaddr=192.168.9.2
set rootdir=D:\slim\dot2
set prefsdir=%rootdir%\prefs
set cachedir=%rootdir%\cache
set logdir=%rootdir%\logs
"C:\Program Files\SqueezeCenter\server\squeezecenter.exe" --playeraddr
%ipaddr% --cliaddr %ipaddr% --streamaddr %ipaddr% --httpaddr %ipaddr%
--prefsdir=%prefsdir% --cachedir %cachedir% --logdir %logdir%
--------------------
Download srvany.exe, included in the 'Windows 2003/XP Resource Kit'
(http://www.microsoft.com/downloads/details.aspx?FamilyID=9D467A69-57FF-4AE7-96EE-B18C4790CFFD&displaylang=en).
(After installing the Resoource Kit, you can delete everything except
srvany.exe if you like).
Change the ImagePath in the registry to point to srvany.exe. On my
system:
Code:
--------------------
"C:\Program Files\Windows Resource Kits\Tools\srvany.exe"
--------------------
Then create a new registry key called 'Parameters' and in that key a
string called 'Application'. Set the value of Application to the full
path of your batch file, enclosing it in double quotes if it contains
any spaces.
--
JJZolx
Jim
------------------------------------------------------------------------
JJZolx's Profile: http://forums.slimdevices.com/member.php?userid=10
View this thread: http://forums.slimdevices.com/showthread.php?t=42456
_______________________________________________
beta mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/beta