SageTV Community  

Go Back   SageTV Community > Hardware Support > Hardware Support
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

Hardware Support Discussions related to using various hardware setups with SageTV products. Anything relating to capture cards, remotes, infrared receivers/transmitters, system compatibility or other hardware related problems or suggestions should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-26-2006, 01:50 PM
ben_95sl1 ben_95sl1 is offline
Sage Aficionado
 
Join Date: Feb 2005
Posts: 290
Switching Displays with v6 - My solution

Well, ever since I've been using vmr9 with my new 6150 mb, switching displays between my 4:3 svideo Tv and my VGA 16:9 projector has been problematic to say the least, and there was no hope with FSE. Now that v6 has added a Display Aspect Ratio setting, it has provided me with yet another slightly annoying issue.

My solution: using simple batch files, I have automated the following to successfully switch displays with VMR9 and FSE. Using Nielms Dynamic Menu, I have setup links to the batch files so I can switch displays from the menu should I so desire:

1. close sagetv (the client only...I use service, if you don't, then the recording with be stopped! My batch file only works using the sageclient)

2. wait ~10s (ping localhost a number of times as a simple time delay)

3. automagically edit the text to change the Display aspect Ratio setting in the sageclient.properties file to suit whatever display I'm switching to (edit using replace command built into free sed.exe utility for windows)

4. Switch displays (use nvidia command line to switch displays)

5. Wait ~6s (ping localhost again)

6. start sagetv

I discovered that with nvidia cards, one can switch displays from the command line, yippee!
http://www.laptopvideo2go.com/forum/...php/t9392.html

Location for sed.exe command line utility
http://www.student.northpark.edu/pemente/sed/

Here is an example of the switch to Tv output batch file, a 4:3 display (please only use this as a guide, as chances are nobody's setup will be the same as mine, and don't forget to backup your sagetv dir!)...use at your own risk! If you see any problems, let me know since I'm no expert at this.

@echo off
start taskkill /im sagetv.exe
ping localhost
ping localhost
ping localhost
ping localhost
cd /d "C:\Program Files\SageTV\SageTV\"
move /Y sageclient.properties tempprop.txt
sed "s/display_aspect_ratio=1.7777778/display_aspect_ratio=1.3333334/" tempprop.txt >sageclient.properties
start rundll32.exe nvcpl.dll,dtcfg setview 0 standard TA
ping localhost
ping localhost
ping localhost
start /abovenormal sagetv.exe
exit

For switching to 16:9 VGA Projector:

@echo off
taskkill /im sagetv.exe
ping localhost
ping localhost
ping localhost
ping localhost
cd /d "C:\Program Files\SageTV\SageTV\"
move /Y sageclient.properties tempprop.txt
sed "s/display_aspect_ratio=1.3333334/display_aspect_ratio=1.7777778/" tempprop.txt >sageclient.properties
start rundll32.exe nvcpl.dll,dtcfg setview 0 standard AA
ping localhost
ping localhost
ping localhost
start /abovenormal sagetv.exe
exit

I hope this is helpful to someone!
__________________
Server: XP SP3, X2 BE 5000+, WD 1.5TB x 2, PVR150 & HD-PVR, USB-UIRT
Clients: HD300, HD100 x 2, Media MVP in a box somewhere

Last edited by ben_95sl1; 12-26-2006 at 01:54 PM.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

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

Forum Jump


All times are GMT -6. The time now is 05:16 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.