Windows tasks to restart TV Server (1 Viewer)

Digsy

Portal Pro
August 29, 2018
189
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
189
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 (Users: 0, Guests: 1)

OP Similar threads Forum Replies Date
M TV Server Preview Window is blank, sounds works Television (MyTV frontend and TV-Server) 3
vvulture Using Windows 10 MediaPortal 1 Talk 8
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 0
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
P WMC on Windows 7 migrating to Media Portal on Windows 10 Newcomers Forum 5
R [solved] Hide Windows 10 volume OSD Feature Requests 3
F [solved] Mediaportal (1 oder 2) Installation mit Fehler bei DirectX9.0 unter Windows 10 Allgemeines Support- und Diskussionsforum 10
HTPCSourcer [Rejected] Mouse movements and focus: Windows standards MediaPortal 2 3
D [solved] HID remote for mp2 and w10 64 bit? using all tools: sony, cisco, homeworkx ng General 2
Lehmden MP2 client for Windows 10 ARM, possible? Maybe an UWP version could do the trick... MediaPortal 2 11
Rob Hexenmeister [solved] Latests Media Handler - Skinning an updating window or control Fanart Handler 26
el Filou Is Windows Media Player still needed on Windows 10 ? MediaPortal 1 Talk 0
A Enigma2 receiver channels on Windows PC with Media Portal help General Support 0
Similar threads

























Top Bottom