MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Get Support » General Support


General Support Post problems you have when using MediaPortal, or pre installation questions in here.

Reply
 
Thread Tools Display Modes
Old 2007-08-14, 11:22   #1 (permalink)
Portal Member
 
Join Date: Jan 2007
Posts: 55
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default Standby and resume scripts please...

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)
thargs is offline   Reply With Quote
Old 2007-08-14, 11:24   #2 (permalink)
Portal Member
 
THDBASED's Avatar
 
Join Date: Jan 2006
Posts: 466
Thanks: 66
Thanked 2 Times in 2 Posts

Country:

My System

Default

In latest SVN there is new code for delaying MP at start-up...You can configure it in the MP configuration...
THDBASED is offline   Reply With Quote
Old 2007-08-14, 12:13   #3 (permalink)
Portal Member
 
Join Date: Jan 2007
Posts: 55
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

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.
thargs is offline   Reply With Quote
Old 2007-08-14, 12:20   #4 (permalink)
Portal Member
 
THDBASED's Avatar
 
Join Date: Jan 2006
Posts: 466
Thanks: 66
Thanked 2 Times in 2 Posts

Country:

My System

Default

Just google this, there are tons of programs that can do this, or you could write a .bat file...
THDBASED is offline   Reply With Quote
Old 2007-08-15, 04:41   #5 (permalink)
Portal Member
 
NickName's Avatar
 
Join Date: Jun 2006
Location: Gold Coast
Posts: 283
Thanks: 13
Thanked 5 Times in 3 Posts

Country:


Default

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.
__________________
Before, I could never finish anything I started but now I

Last edited by NickName; 2007-08-15 at 04:41. Reason: typo
NickName is offline   Reply With Quote
Old 2007-08-15, 15:48   #6 (permalink)
Portal Member
 
Join Date: Jan 2007
Posts: 55
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

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!!?
thargs is offline   Reply With Quote
Reply

Bookmarks

Tags
resume, scripts, standby

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Standby/Resume question... vvulture General Talk 13 2008-09-15 15:06
Resume from standby with remote pjam001 General Support 12 2008-03-25 06:10
ParseLocal on Resume from Standby ltfearme My TVSeries 6 2007-07-21 16:58
Tuner does not resume after standby girgises The old Bugreport Forum 23 2006-08-04 15:00
Resume from standby 2 mrmojo666 The old Bugreport Forum 4 2006-03-10 09:57


All times are GMT +1. The time now is 08:33.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden