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-23, 00:12   #1 (permalink)
Portal Member
 
Join Date: Jan 2005
Posts: 238
Thanks: 5
Thanked 1 Time in 1 Post


Default Control window style, position, size and process priorities

I use a startup .bat file to launch MediaPortal.
My script follows below.

1.
It starts MP at *BELOWNORMAL* priority. I've found this gives improved perceived performance - fewer interuptions to video - I presume because services are less starved. YMMV.

2.
I use a cool utility nircmd to adjust window position and size. Using this it is possible to run in a window but still fill the screen - for TV output with full control over overscan.

3.
If you use a remote then the cursor is redundant but sometimes appears and is a distraction. Use nircmd to move the cursor out of the way.

----------------------------------------------

@ECHO OFF

REM Start MP (don't starve services)
CD "C:\Program Files\Team MediaPortal\MediaPortal"
START "MP" /BELOWNORMAL MediaPortal.exe

CD "C:\"

REM Wait for MP to get going (20 seconds)
nircmd.exe wait 20000

REM Remove windows border (thin border)
nircmd.exe win -style ititle "MediaPortal" 0x00C00000

REM Resize for overscan adjustment
REM 960 x 540
REM nircmd.exe win setsize ititle "MediaPortal" 28 -20 910 560
REM 1024 x 576
nircmd.exe win setsize ititle "MediaPortal" 26 -16 968 570

REM Hide cursor
nircmd.exe setcursor 0 576
bigj is offline   Reply With Quote
Old 2006-02-23, 07:51   #2 (permalink)
Portal Member
 
CHli's Avatar
 
Join Date: Jul 2005
Location: Switzerland
Age: 27
Posts: 1,017
Thanks: 9
Thanked 3 Times in 3 Posts

My System

Default

I'll try this when I'm at home. Looks interesting.
CHli is offline   Reply With Quote
Reply

Bookmarks

Tags
control, position, priorities, process, size, style, window

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
Auto Resume After Suspend Procedure Dado The old Bugreport Forum 28 2006-04-23 18:59
Mediaportal crashing when power scheduler is activated Adrian2M General Support 0 2005-12-30 17:07


All times are GMT +1. The time now is 19:06.


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