MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Main Features (talk, share your ideas, get support) » Watch / Listen Media » MyTV - Engine 0.2 » Tips and Tricks


Tips and Tricks Post your Tips and Tricks in here.

Reply
 
Thread Tools Display Modes
Old 2006-02-26, 20:11   #1 (permalink)
Portal Member
 
Join Date: Feb 2006
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts


Default MP Starts On TVOUT

hey, i know this is a reaccuring topic, but none of the other methods have ever worked for me, however i finally got around to putting an alternative together.

so what i did was download vidres (http://www.jddesign.f2s.com/vidres.htm) and put together a simple batch file

Code:
"C:\Program Files\JD Design\VidRes\Vidres.exe" /M1 /S /Q
"C:\Program Files\Team MediaPortal\MediaPortal\Mediaportal.exe"
"C:\Program Files\JD Design\VidRes\Vidres.exe" /M0 /S /Q
shutdown -s -t 30
this uses vidres to switch to my tv, opens media portal and waits for it to close, then swithces back to my monitor.

the last line is optional and forces the computer to shutdown, usefull when you don't want to get up to turn it off. I put a script on the desktop with the code to abort the shutdown
Code:
shutdown -a
as my htpc is only a part timer and i use it for many other things.

one thing to note is that the free version of vidres causes popups, however as the program only costs £3 i think its worth the money to pay for it.
jb2uk is offline   Reply With Quote
Old 2006-03-15, 23:08   #2 (permalink)
Super Moderator
 
Spragleknas's Avatar
 
Join Date: Dec 2005
Location: Rogaland
Age: 32
Posts: 3,810
Thanks: 179
Thanked 90 Times in 76 Posts

Country:

My System

Default

Good work! This will be usefull.
__________________
Please read -> HOW TO START A SUPPORT THREAD !!!
Support MediaPortal! Donate by clicking HERE
Dedicated HTPC board (Norway) -> MSPC.no
Spragleknas is offline   Reply With Quote
Old 2006-09-14, 21:32   #3 (permalink)
Portal Member
 
Join Date: Sep 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Hi

I've got the following solution.
My desktop runs on 1280x1024. I.ve cloned my TV output with my desktop and use Resolution Changer ( http://www.12noon.com/reschange.htm) with the following batch file

"C:\Program Files\JD Design\VidRes\Vidres.exe" /M1 /S /Q
"C:\Program Files\Team MediaPortal\MediaPortal\Mediaportal.exe"
"C:\Program Files\JD Design\VidRes\Vidres.exe" /M0 /S /Q

By running the batch file, MP starts in 800X600 which is fine for my TV (16:9).
When MP closes the resolution is going back to 1280X1024.

No need to say that MP must start in full screen :-)
joslo is offline   Reply With Quote
Old 2006-10-05, 16:53   #4 (permalink)
Portal User
 
Join Date: Oct 2006
Age: 28
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

My solution is the following:

I installed UltraMon and made the following display profiles:

"Primary - Primary"
- In here the only thing you'll have to do is filling in the name

and

"Primary - Secondary"
- In here you'll have to select the secondary screen check the 'primary' checkbox
- Fill in the name

Next I made a schortcut using ultramon to mediaportal.exe and named it 'mediaportal'.

Then use the following script (save as .vbs)

Code:
Const PROFILE = "C:\Documents and Settings\StripTies\Application Data\Realtime Soft\UltraMon\Profiles\Secondary - Primary.umprofile"
Const SHORT = "C:\Documents and Settings\StripTies\Application Data\Realtime Soft\UltraMon\Shortcuts\mediaportal.umshortcut"
Const PROFILE2 = "C:\Documents and Settings\StripTies\Application Data\Realtime Soft\UltraMon\Profiles\Primary - Primary.umprofile"
Const WAIT_NUM_SEC = 10 'number of seconds to wait before applying the profile

Set util = CreateObject("UltraMon.Utility")


util.Run PROFILE
util.Run SHORT
util.Sleep WAIT_NUM_SEC * 1000
util.Run PROFILE2
Explanation of the constants:
Quote:
Const PROFILE = Path to the "Secondary - Primary"
Const SHORT = Path to the schortcut
Const PROFILE2 = Path to the "Primary - Primary"
Const WAIT_NUM_SEC = The number of seconds between the switching of the screens. You'll have tot tweak that setting to you're computer speed.
The script will switch primary modes, then it will lauch mediaportal and then switches te the primary modes back. So when you launch an app after the script, it will open in the primary screen.

Works like a charm

PS. and yes, it propably van be done much easyer, but hell, i'm not that good in scripting.
Tidaku is offline   Reply With Quote
Reply

Bookmarks

Tags
starts, tvout

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
Strange error the first time MediaPortal starts after a Windows boot OMA General Support 15 2008-06-05 03:33
[WebEPG-BUG] Discards programs in the future because : 'Program starts in the past' ziphnor fixed 0.2.0.0 bugs 6 2006-10-17 22:32
[movies] OSD - Text jumps a bit down when scrolling starts chefkoch 0.2.0.0 Final and SVN Builds 0 2006-10-09 23:39
Catching events when TV recorder/viewing starts and ends? ziphnor Plugins 0 2006-04-02 22:46
MP works perfect on TFT, but no TV output on tvout ? wildfire35 General Support 1 2005-10-30 17:56


All times are GMT +1. The time now is 20:34.


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