View Full Version : Rescan Music Library Plugin, PC in Standby

2007-06-01, 07:47
If my PC is in Standby will it wake up to perform the scheduled rescan, rescan when it does wake up or just skip the rescan?

If it doesn't rescan, any suggestions as to what I can do to wake up my PC before the scan? Create an XP Scheduled task and set it so the PC wakes up to run it?

2007-06-03, 03:45
Ok so scheduling a rescan in SlimServer does not wake up the computer at the alloted time.

Only way I can think of doing this is by scheduling a job in the windows scheduler just before the slimserver rescan?

Anyone else done this or come up with a neat solution?

2007-06-05, 08:02
Decided on a completely different approach.

Using netcat (nc) I can easily send any slimserver client commands to the client port (9090). Netcat can be downloaded for free.

Create a file called rescan.txt, add to it the lines "rescan" and "exit" (both with carriage returns).

Create a batch file with the following:

nc 192.168.N.N 9090 < "rescan.txt"

I can then schedule this to run as a job anytime I want. If my windows based SlimServer PC is asleep, the windows scheduler will wake it up to perform the task. I can also, for example, get it to run every time the PC is switched on.

2007-06-05, 08:04
Are you sure the windows task scheduler will wake the PC?

That's interesting to know if it will.

2007-06-05, 08:10
It does on my PC, might be hardware dependent.