1. Check the code in the Slim/Web/HTTP.pm "_adjustHTTPPortCallback" -
AFAICT it tests if the port is open - if it is open, it closes it
before trying to open it.

2. To confirm if timing is a the issue change the call back timer value
in the Slim/Web/HTTP.pm file

Code:
--------------------
    
  sub adjustHTTPPort {
  
        # do this on a timer so current page can be updated first and it 
executed outside select
        Slim::Utils::Timers::setTimer(undef, Time::HiRes::time() + 0.5, 
\&_adjustHTTPPortCallback);
  }
  
--------------------


I think this is the core of your problem - this routine is normally
called when updating the httpport prefs when it is being changed from
the Server Setting web page - so a delay is needed. Calling the routine
from command line processing seems odd as it separates and delays
processing of the httpport option from the rest of the init process.

3. I think it is "normal" for distribution of Slimserver packages for
unsupported platforms to make patches to the code for the target
platform (e.g. directory structures). 

However Michael's question still needs to be answered why change 9000 ?
Do you have another media server ( e.g. uPNP) running or is one part of
standard Thecus N5200 ?


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

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

Reply via email to