Not sure how useful this is to others but I thought I would share it here anyway.
My EPG grabber (EPG Collector) runs as a scheduled task overnight on my MP2 server machine. This task also puts the PC to sleep afterwards. I had noticed that when waking from sleep the TV Server was always stopped so I wrote another scheduled task to restart it automatically when the PC resumes from sleep.
I also had an error where the TV Server shut down unexpectedly (no idea why). Auto restart seemed to fail so I wrote another scheduled task to watch the MP2-Server service and try to restart it if it ends with an error code=2 (which means it stopped unexpectedly).
I have attached instructions on how to create both tasks.
My EPG grabber (EPG Collector) runs as a scheduled task overnight on my MP2 server machine. This task also puts the PC to sleep afterwards. I had noticed that when waking from sleep the TV Server was always stopped so I wrote another scheduled task to restart it automatically when the PC resumes from sleep.
I also had an error where the TV Server shut down unexpectedly (no idea why). Auto restart seemed to fail so I wrote another scheduled task to watch the MP2-Server service and try to restart it if it ends with an error code=2 (which means it stopped unexpectedly).
I have attached instructions on how to create both tasks.