webepg and MP (1 Viewer)

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

    TV Server plugins are listed on this page, and "EPG Cleaner" can be downloaded from this page. Note: I don't know what bitness the plugin has. It might be 32-bit, or it might be "any cpu". The plugin is not listed by the "MP Extensions" tool, so I don't know whether it has been tested with the most-recent MP releases. -- from...
    TV Server plugins are listed on this page, and "EPG Cleaner" can be downloaded from this page. Note: I don't know what bitness the...
    I'm looking for a better recording scheduler. Many recording titles (at least in the UK) change between episodes, sometimes being...
    Replies
    4
    Views
    2K
    Looking at some of the errors in that log it looks like I need to ensure there is some rate limiting applied e.g. 2026-09-25 07:36:59.034 [ERR ] [Sync][38]: Protocol Error, Code = '429', Description = 'Too Many Requests', Url = 'https://api.trakt.tv/sync/collection', Headers = 'Connection: keep-alive, Retry-After: 244...
    Looking at some of the errors in that log it looks like I need to ensure there is some rate limiting applied e.g. 2026-09-25...
    this window opens and closes after some seconds when I try to "Authorize Application": It does not create a Usercode. Also...
    Replies
    6
    Views
    3K
    MP1 MP2 MP Shutting down DE
    I got a similar error yesterday just when a watched episode ended... Didn't copy the logs unfortunately but now i'm in a weird situation. Trakt website shows that episode as watched, but in onlinevideos (where i watched that episode) it still is not flagged as watched. The watched.json doesn't contain that episode but i think it...
    I got a similar error yesterday just when a watched episode ended... Didn't copy the logs unfortunately but now i'm in a weird...
    I have an issue that started in 1.37 and so I updated to 1.38 and updated all my installed plugins but the issue has continued. My...
    Replies
    6
    Views
    980
    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
    1K
    Top Bottom