I've been running into this as well, and don't want my wife and kid to suffer through the my workday because of it, and also don't want to disable
sleep, because money.
I put together a scheduled task in Windows 7 as follows, which will restart Serviio after resuming from
sleep:
1. Create a new text file with the following two liner, and save it as
C:\Scripts\Restart-Serviio.cmd:
- Code:
net stop serviio
net start serviio
2. Open Task Scheduler (hit Start, type it in)
-- Click
Task Scheduler Library in the left pane
-- Click
Create Basic Task in the Actions pane
3. Create the task
-- Name it what you want, such as
Restart Serviio after waking from sleep, hit Next
-- For a Trigger, select
When a specific event is logged, hit Next
-- Log: System, Source: Power-Troubleshooter, Event ID: 1, hit Next
-- For an Action, select
Start a program, hit Next
-- Program/script:
C:\Scripts\Restart-Serviio.cmd, hit Next
-- On the Finish page, check
Open the Properties dialog for this task when I click Finish, hit Finish
4. Finishing steps
-- On the General tab, ensure the selected user account has sufficient privileges to restart services, and select
Run whether user is logged on or not,
Do not store password..., and
Run with highest privileges-- On the Conditions tab, deselect
Start the task only if the computer is on AC power-- Click OK
I hope this helps everyone, and that a real fix for this can go into a future release. I really love this product.