Windows tasks to restart TV Server (1 Viewer)

Digsy

Portal Pro
August 29, 2018
191
19
50
Great Britain (UK) Great Britain (UK)
Country flag
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.
 

Attachments

Digsy

Portal Pro
August 29, 2018
191
19
50
Great Britain (UK) Great Britain (UK)
Country flag
Sure, no problem. But I might do a better one which is more "click by click" to make it easier to follow. I will try to publish something by the weekend.
 

Users who are viewing this thread

Similar threads
OP Title Forum Replies Date
T (Apparent) ongoing issues with TV Server on Windows 10? General Support 9
C Can't Install MediaPortal 2 On Windows 10 Home General 13
M TechniSat CableStar HD2 / Windows 10? Und dann natürlich auch unter Mediaportal? TV / Streaming 1
Bucky O'Hare MP2 - V2.3 MP 2.3 Install failed 0x80070643 Windows 10 ver 20H2 General 3
Andy_2639 [solved] [solved by driver update of PCTV 461e] "Continuity error..." after updating from Windows 10 1909 to 20H2 General Support 13
J Copying Old VHS tapes Newcomers Forum 8
Sakols No video in channel preview window General Support 12
badboyxx Windows 10 and HTPC appearance Operating System 9
A MediaPortal crash (and restart) on LiveTV after Windows Update (Sep 2020) driver update for Intel HD Graphics 4600 General Support 12
M TV Server Preview Window is blank, sounds works Television (MyTV frontend and TV-Server) 3
vvulture Using Windows 10 MediaPortal 1 Talk 10
Golf4 Nach Windows-Updates läuft TV-Plugin nicht mehr Allgemeines Support- und Diskussionsforum 0
Dark Eyes Updated to Windows 10, now TVServer won't work Installation, configuration support 1
rsbrux Operating System Win 10 vs. 8.1 Operating System 2
M.Hulot Moving Pictures lässt sich nach Windows-Update nicht mehr öffnen Plugins & Erweiterungen 1
O Analog Angel USB TV Tuner on Windows 7 Ultimate Newcomers Forum 7
L Mediaportal 1.21 and Windows 10: user schedules de-activated when powerscheduler plugin is selected General Support 1
R Problem with MP1 and WifiRemote Skins and Plugins Installer (MPEI) 8
R Directx 9.0 June 2010 does not install on Windows 10 x64, ends up with weird failure / no debug file Installation, configuration support 4
W windows 7 and mediaportal 1.22 and 1.23 installer problem General Support 2
D [solved] Active Movie window General 2
TLD Windows 10 1903 feature update General Support 3
A Problem Windows 10 64 bit prof. Update auf Version 1903(gelöst) Installationsprobleme? 0
T No TV after updating Windows 10 to latest Version 1903 / OS build 18362.175 (logs attached) General Support 2
T Can Emprex 3009ARF III MCE Remote Control be used to toggle Fullscreen/Windowed mode?? Remotes 7

Similar threads

Top Bottom