Standby and resume scripts please... (1 Viewer)

thargs

MP Donator
  • Premium Supporter
  • January 26, 2007
    65
    0
    Home Country
    TV-Server Version:
    MediaPortal Version: 0.2.2.0
    MediaPortal Skin: default
    Windows Version: XP Pro SP2
    CPU Type: Intel Northwood 1.7gig
    HDD: Seagate IDE 40gig
    Memory: 256 DDR1 Corsair
    Motherboard: Asus P4PE
    Motherboard Chipset: Intel 845PE
    Motherboard Bios: Asus crash free
    Video Card: Nvidia FX5900XT
    Video Card Driver: 81.98
    Sound Card: Asus onboard soundmax
    Sound Card AC3:
    Sound Card Driver:
    1. TV Card: Dvico Fusion DVB-T Dual Digital
    1. TV Card Type: DVB-T
    1. TV Card Driver:
    2. TV Card:
    2. TV Card Type:
    2. TV Card Driver:
    3. TV Card:
    3. TV Card Type:
    3. TV Card Driver:
    4. TV Card:
    4. TV Card Type:
    4. TV Card Driver:
    MPEG2 Video Codec: default
    MPEG2 Audio Codec: default
    Satelite/CableTV Provider:
    HTPC Case: generic
    Cooling: basic
    Power Supply: generic 300w
    Remote: Fusion
    TV: Samsung LCD
    TV - HTPC Connection: Sub-D

    Has anyone got some scripts for killing the mediaportal process before standby and a script to delay mediaportal starting on resume?

    I have tried the following script for delaying mediaportal starting but Im getting an error on line 4 and I dont know why. The file is in that place

    Dim oShell
    Set oShell=CreateObject("WScript.Shell")
    WScript.Sleep 2000
    oShell.Run("c:\Program Files\Team MediaPortal\MediaPortal\MediaPortal.exe")
    Set oShell=Nothing

    Im using PVR Scheduler (cant get mediaportal to start up with it) and hibernate trigger (which is working fine)
     

    THDBASED

    Portal Pro
    January 30, 2006
    469
    2
    Home Country
    Belgium Belgium
    In latest SVN there is new code for delaying MP at start-up...You can configure it in the MP configuration...
     

    thargs

    MP Donator
  • Premium Supporter
  • January 26, 2007
    65
    0
    Home Country
    That sounds good but what about stopping mediaportal before it hybernates or sleeps?

    Is that an option as well? I need it to be killed before going into hybernate or sleep otherwise its still going to be a problem.
     

    THDBASED

    Portal Pro
    January 30, 2006
    469
    2
    Home Country
    Belgium Belgium
    Just google this, there are tons of programs that can do this, or you could write a .bat file...
     

    NickName

    MP Donator
  • Premium Supporter
  • June 23, 2006
    359
    12
    Gold Coast
    Home Country
    Use the MST Standby tool (google) as it has the option to Stop/Start Mediaportal on resume/suspend...
    It also has options (in the registry only) to run scripts, etc on suspend and resume.

    Good luck,

    Nick Name.
     

    thargs

    MP Donator
  • Premium Supporter
  • January 26, 2007
    65
    0
    Home Country
    Thanks for that bit of info Nickname.

    This MST Standby tool is a godsend.

    Its now putting the system into S3 state and when bringing it out both tuners work (ones a usb).

    I havent tested PVR scheduler yet. Im a little worried because the PVR puts it into S1 state and I dont know how that is going to affect MST Standby tool since its the MST standby tool that fixes the usb issue. Ill test it out tomorrow.

    Big thanks to the developers in Mediaportal, PVR Scheduler and MST Standby. What would we do without you all!!?
     

    Users who are viewing this thread

    Top Bottom