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 05-10-2017, 01:32 PM
sflamm sflamm is offline
Sage Icon
 
Join Date: Mar 2009
Posts: 1,653
Tuning Script for USB-UIRT

Created Powershell USB-UIRT Tuning script (attached)

Handles TUNING via:
1. sageX
2. uutx
3. uutransmit
Can be invoked standalone or called automatically via OpenDCT.

Standalone invocation:

Unzip and open Command prompt in unzip folder.

1. tune.bat
tune tunerNumber channelNumber

where tunerNumber:

Zone: 0 = All, 1 = Right, 2 = Left, 3 = Internal

2. tune.ps
powershell -ExecutionPolicy ByPass -File tune.ps1 -TunerNumber tunerNumber -ChannelNumber channelNumber -Log

NOTE: -Log flag is optional
Customize the script "tune.ps":

1. modify default tuning method
Param([string]$TunerNumber, [string]$ChannelNumber, [switch]$Log=$false, [int]$DeviceNumber=1, [string]$TuningMethod="sagex")

Currently set to "sagex". Options: sagex, uutx, uutransmit

NOTE: SageX requires the installation of the SageX API package
2. If you have more than one USB-UIRT device change the default DeviceNumber as appropriate
or specify via command line flag: -DeviceNumber deviceNumber
3. Customize the general properties
$SageTVIRCodeFiles = "C:\Program Files (x86)\SageTV\Common\RemoteCodes\USB-UIRT Transceiver"
$IRCodeFile = "PaceRNG150"
$IRRepeatFactor = "1"
$IRDelayMS = 0
$AddEnterKey = $true
$EnterKey = "ok"

a. Adjust IRCodeFile to match your file name
b. Sample IRFiles are in the folder IRFiles (copy to SageTV)
c. set EnterKey to $false to not input enter key.
d. Enterkey can be any key in IRfile
OpenDCT Installation steps:

1. unzip to your ProgramData\OpenDCT folder

2. Add Tuning entries to opendct.properties: (remember to stop OpenDCT service before modifying properties file)
Quote:
sagetv.device.79219557.tuning_executable=C\:\\Windows\\SysWOW64\\WindowsPowerShell\\v1.0\\powershell.exe -ExecutionPolicy ByPass -F C\:\\ProgramData\\OpenDCT\\config\\tune.ps1 -TunerNumber 1 -ChannelNumber %c% -Log
Modify TunerNumber as appropriate for each tuner in opendct.properties:
Zone: 0 = All, 1 = Right, 2 = Left, 3 = Internal
Attached Files
File Type: zip tune.zip (60.9 KB, 116 views)
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is USB-UIRT still the best option for tuning? wayner Hardware Support 6 01-19-2016 07:18 PM
USB-UIRT channel tuning ericscottf Hardware Support 5 08-03-2010 04:09 PM
Stopped after tuning with usb-uirt? WhiteWhisker SageMC Custom Interface 0 10-24-2009 03:38 PM
USB UIRT not always tuning phunny Hardware Support 3 03-24-2007 07:51 AM


All times are GMT -6. The time now is 11:13 AM.


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