SnapStream Forums

Go Back   SnapStream Forums > SnapStream Product Discussions > Beyond TV and Beyond TV Link
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 04-26-2007, 12:31 PM
Registered User
 
Join Date: Nov 2003
Posts: 45
Controlling an antenna rotor - almost there...

Hi all. I started thinking about this after reading a similar thread:
usb-uirt and beyond tv to switch atenna inputs
Basically, I am installing an outdoor antenna to receive OTA HD, but the stations I want are spread out in different locations sol I'm going to need to use a rotor. The rotor I'm looking at (Channel Master) supports a remote control, so I want to use my USB-UIRT to send commands to rotate the antenna when required.
I know there's no way to do this inside BTV, but what about handling it externally? There's a simple utility (uutx.exe) that allows you to send IR commands through a USB-UIRT from the command line. I noticed that there is an upcomingrecordings.xml file that stores info on the recordings that are comming up. So, I want to find a way to parse that XML file, and when I find a recording comming up on an OTA channel then I want to schedule uutx to send the appropriate command to the rotor just before the show starts. I took a look at the XML file, but it's pretty cryptic and I don't have a lot of experience with this sort of stuff. Even looks like the start date and time are in some weird format. Here's some of the info from the XML for an upcoming recording:
Code:
<p><n>Channel</n><v>7</v></p>
OK, looks like I can determine what channel the recording is on.
Code:
<p><n>VideoDeviceName</n><v>@device:pnp:\\?\usb#vid_07de&amp;pid_0600#6&amp;62e9164&amp;0&amp;5#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\capture</v></p></pc>
Looks like I can identify which device is going to handle the recording, so this could help ID the OTA recordings
Code:
<p><n>TargetDuration</n><v>36000000000</v></p><p><n>TargetStart</n><v>128221056000000000</v></p>
Here's the cryptic start date, time and duration - not sure how to decode this...

So, I think all of the pieces are there to make this work, I just need a hand trying to figure out how to parse the XML. Anyone want to help figure this out?
Reply With Quote
  #2 (permalink)  
Old 04-26-2007, 02:01 PM
merrypig's Avatar
...
 
Join Date: Oct 2002
Posts: 4,404
Re: Controlling an antenna rotor - almost there...

Have you looked into getting a custom 'tuner' dll created? It should be possible to create one that will send cmds to the rotor as well as a stb.
__________________
Sleep well Kismet
Reply With Quote
  #3 (permalink)  
Old 04-26-2007, 02:23 PM
Problem solver
 
Join Date: Jan 2004
Location: Montreal, Qc
Posts: 4,913
Re: Controlling an antenna rotor - almost there...

Take a look at 64 bit integer date stamps for the date and time format used by BTV...

But in principle you don't need that, as merrypig said, if you build a custom tuner, BTV would use it for that specific capture card.

If you can't come up with a simple solution, I could always add that to BTV-Externinator... It would be simple enough for me to monitor a tuner and send a specific command based on a Table of channels, since that is basically what I am already doing when recording on tuners not supported by BTV...
__________________
BTV 4.9.2 | XP Pro SP2 (nLite'd)| PVR-250/500/Firewire | Videotron - Pace 551 HD | Hitachi 50V500 (DVI)


To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts.
: BTV 4.9 SDK addition for developers.
To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts.
: Conflict resolution/Guide updates/Searches/etc.
To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts.
: External recordings, Firewire/clear QAM/DVB/R5000HD/etc.
To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts.
: Record from a simple .GRF file.
To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts.
: MainLobby integration.
Reply With Quote
  #4 (permalink)  
Old 04-27-2007, 06:48 AM
Registered User
 
Join Date: Jan 2005
Posts: 158
Re: Controlling an antenna rotor - almost there...

Quote:
Originally Posted by merrypig View Post
Have you looked into getting a custom 'tuner' dll created? It should be possible to create one that will send cmds to the rotor as well as a stb.

I was thinking SSExeTuner could be used along with a small program that calls the IR program. I've got some VB code I wrote that changes channels through my Global Cache unit based on being passed the number from BTV. SSExeTuner passes the channel number to the application that in turn could call a program that looks up the OTA channel in a table and passes the antenna direction to the IR program. BTV would need to be setup to start the recording a minute or two before the show starts. The only pitfall I see is if you have back to back recordings on different channels. My antenna is pretty slow If you have make a big change in direction.
Reply With Quote
  #5 (permalink)  
Old 04-27-2007, 07:21 AM
Registered User
 
Join Date: Nov 2003
Posts: 45
Re: Controlling an antenna rotor - almost there...

Quote:
Originally Posted by merrypig View Post
Have you looked into getting a custom 'tuner' dll created? It should be possible to create one that will send cmds to the rotor as well as a stb.
Sounds perfect. I tried searching the forums form some info on creating a custom tuner, but could not find much. Could you provide some more details on what's involved?
Reply With Quote
  #6 (permalink)  
Old 04-27-2007, 08:51 AM
Registered User
 
Join Date: Jan 2007
Location: Galveston Island, Texas
Posts: 183
Re: Controlling an antenna rotor - almost there...

Check this out. http://www.hdtvprimer.com/ANTENNAS/merging.html
Read the section on DTV and rotor problems.
__________________
HTPC: Celeron 2.4 on Albatron 865 PE Pro, 1 GB RAM, 160 GB boot drive, 500 GB video drive , 300 GB spare drive EIDE Drive, XP Pro, ATI AIW 9600 (tuner now Orb enabled), Audigy 2 Platinum, PVR-150, PVR-500, Firefly, BM, BTV, 16x DVD burner, Toshiba 42" QAM LCD TV, Audio to (2) BGW 8000 amps, center output to a Yamaha surround sound amp & subwoofer output.
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
BTV 4 & Channel Master antenna rotor jmccreary Beyond TV and Beyond TV Link 0 08-30-2006 10:59 PM
Controlling Foobar 2K shookie Firefly PC Remote User-to-User Troubleshooting & Support Forum 3 08-30-2005 04:58 PM
controlling cable box jresnick Firefly PC Remote User-to-User Troubleshooting & Support Forum 3 02-15-2005 10:33 AM
Controlling my menu JoeDornan Beyond Media User-to-User Troubleshooting & Support Forum 3 12-03-2004 10:10 PM
Controlling DCT-5100 chance Beyond TV and Beyond TV Link User-to-User Troubleshooting & Support Forum 1 05-31-2004 12:28 AM


All times are GMT -6. The time now is 07:28 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.0 RC1
©2004-2006 Snapstream Media