webepg and MP (2 Viewers)

Rob755

Portal Member
October 27, 2006
7
0
Is there a way of scheduling webepg to run using the XP scheduler while MP is running? If I try to execute webepg.exe while MP is running, webepg crashes.
 

Paranoid Delusion

Moderation Manager
  • Premium Supporter
  • June 13, 2005
    13,052
    2,978
    Cheshire
    Home Country
    United Kingdom United Kingdom
    Yes i use XP's own scheduler to run WebEPG.

    Mine runs fine, with MP also running.

    What Version of Mediaportal, are you using, as in later versions WebEPG can be scheduled to run, from the plugins settings within MP setup.
     

    Rob755

    Portal Member
    October 27, 2006
    7
    0
    I'm using 0.2.1.0
    I configured the WebEPG grabber plugin and that seems to work ok but I'd be curious to know why I can't run Webepg at the same time as MP. Even when I try to execute it manuallly it crashes so the problem doesn't seem related to the XP scheduler.
     

    zombiepig

    Portal Pro
    March 21, 2005
    408
    0
    Melb, Aus
    Home Country
    i get the same problem. it's a 0.2.1 specific bug - doesn't happen in svn's or in previous versions, so you could rollback to 0.2.0.4
    I got around it by making a windows script which closes mp, runs webepg, then restarts mp - then i scheduled the script. works ok-ish.
     

    Taipan

    Retired Team Member
  • Premium Supporter
  • February 23, 2005
    2,075
    44
    Melbourne
    Home Country
    Australia Australia
    I got around it by making a windows script which closes mp, runs webepg, then restarts mp - then i scheduled the script. works ok-ish.

    Could you publish that script here ... please :D ... sounds like I could use it, too?
     

    zombiepig

    Portal Pro
    March 21, 2005
    408
    0
    Melb, Aus
    Home Country
    ok, here's the script:

    Code:
    set Services = getobject("winmgmts:root\cimv2")
    Set oProcess = Services.Get("Win32_Process") 
    
    strQuery = "select * from win32_process where name ='mediaportal.exe'"
    Set Procs = Services.ExecQuery( strQuery )
    
    for each proc in Procs
     proc.Terminate()
    next 
    
    
    Set WshShell = WScript.CreateObject("WScript.Shell")
    Return = WshShell.Run("C:\Progra~1\Teamme~1\MediaP~2\WebEPG.exe", 0, true) 
    
    
    WshShell.Run "C:\Progra~1\Teamme~1\MediaP~2\mediaportal.exe"

    It'll need customizing if you want it to work - specifically the path to mediaportal. I could only get it to run using shortened folder name for whatever reason, so you have to make sure the two C:\Progra~1\Teamme~1\MediaP~2\ lines are correct for your system.
    Then I simply schedule a "wscript.exe updateguide.vbs" command to run each day when i'm at work :)
    Hope it's of use!!
     

    igalan

    Retired Team Member
  • Premium Supporter
  • June 30, 2005
    406
    20
    Barcelona
    Home Country
    Spain Spain
    Same problem here. I believe that the problem is that Media Portal 0.2.1.0 locks the WebEPG.log file and when you want to run WebEPG or WepEPG-conf they crash :( . I've been wondering why EPG stopped working since I installed 0.2.1.0, now at least I know why.
     

    Users who are viewing this thread

    Similar threads

    hi team, this error seemed to literally start overnight - not as a result of any windows update or related. tried all the usual things TVGuide shows no data available in MP2 and after running TVSetup and telling WebEPG to grab now I am presented with the attached error screen - TvSetup then crashes out. I have run a repair on...
    hi team, this error seemed to literally start overnight - not as a result of any windows update or related. tried all the usual...
    hi team, this error seemed to literally start overnight - not as a result of any windows update or related. tried all the usual...
    Replies
    0
    Views
    1K
    Now with Version 1.37 x64 MP is near to perfect with repect to speed, robustness and funtionality. There is just one point where I have an Idea for further improvement. As I am not too interested in advetisments, I am using comskip to mark times of ads, which is normally working, as it should but produces an error when trying to...
    Now with Version 1.37 x64 MP is near to perfect with repect to speed, robustness and funtionality. There is just one point where I...
    Now with Version 1.37 x64 MP is near to perfect with repect to speed, robustness and funtionality. There is just one point where I...
    Replies
    0
    Views
    718
    I did a check of MP 1.36 x64 on Win11 and I can confirm, that the TV server correctly detects running MediaPortal.exe process.
    I did a check of MP 1.36 x64 on Win11 and I can confirm, that the TV server correctly detects running MediaPortal.exe process.
    Hi, I am using MP in a client-only setup including DVB-S card for over 10 years now. And regularily scheduling records waking up...
    Replies
    9
    Views
    2K
    Reading through your code, I can see it's more than a couple steps above my paygrade. :cry:
    Reading through your code, I can see it's more than a couple steps above my paygrade. :cry:
    I used to run the TVService under the "NT Service\TVService" account to follow least privileges principal (not exposing my whole...
    Replies
    3
    Views
    1K
    Interesting. :coffee: I always have DVB subtitles enabled in "MP Config", but I actually switch on subtitles only for those films that have deafening sound effects and music, combined with inaudible dialogue. I have never noticed the problem that you have described, but I also use the EVR renderer, and not the Madvr renderer. So...
    Interesting. :coffee: I always have DVB subtitles enabled in "MP Config", but I actually switch on subtitles only for those films...
    Every so often, when I switch to a TV channel, my MP client stops accepting user inputs, either from the remote or keyboard/mouse...
    Replies
    27
    Views
    3K
    Top Bottom