home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Support
Watch / Listen Media
Television (MyTV frontend and TV-Server)
Serial channel changer/directv
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="ajp8164" data-source="post: 475800" data-attributes="member: 64375"><p>WileECoyote -</p><p></p><p>I could not get the select command to work with directv.exe (tried from the plugin and command line). So, I started poking around and found this page:</p><p></p><p><a href="http://www.mythtv.org/wiki/Controlling_DirecTV_Set_Top_Box_(STB)_via_USB_or_Serial#External_Links" target="_blank">Controlling DirecTV Set Top Box (STB) via USB or Serial - MythTV</a></p><p></p><p>You can download a perl script that does essentially the exact same thing that directv.exe does. I used the activestate pdk to compile the perl script to an exe and put it on my htpc in place of the GBPVR downloaded directv.exe and it works great - out of the box you can send it the "enter" key and it works very fast. So, this issue is solved - and, I have the source code in case I ever want to make any changes (which I might, see below) <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite8" alt=":D" title="Big Grin :D" loading="lazy" data-shortname=":D" /></p><p></p><p>Next issue - let me know if you're experiencing this... if I suspend my PC and then resume, the directv program (both the original exe and the perl version) fail to open the serial port - this only happens after suspend and resume. To correct the problem I have to reboot (until I suspend again). In looking through the perl code (which uses [code]Win32::SerialPort[/code] to access the port) the program does close the SerialPort as it exits but I presume it is not releasing all of its resources or something since I am getting an error opening the port after the PC resumes. The specific error is "access denied". I'm not sure what's going on and I have not yet seen any posts discussing this.</p><p></p><p>-Andy</p></blockquote><p></p>
[QUOTE="ajp8164, post: 475800, member: 64375"] WileECoyote - I could not get the select command to work with directv.exe (tried from the plugin and command line). So, I started poking around and found this page: [url=http://www.mythtv.org/wiki/Controlling_DirecTV_Set_Top_Box_(STB)_via_USB_or_Serial#External_Links]Controlling DirecTV Set Top Box (STB) via USB or Serial - MythTV[/url] You can download a perl script that does essentially the exact same thing that directv.exe does. I used the activestate pdk to compile the perl script to an exe and put it on my htpc in place of the GBPVR downloaded directv.exe and it works great - out of the box you can send it the "enter" key and it works very fast. So, this issue is solved - and, I have the source code in case I ever want to make any changes (which I might, see below) :D Next issue - let me know if you're experiencing this... if I suspend my PC and then resume, the directv program (both the original exe and the perl version) fail to open the serial port - this only happens after suspend and resume. To correct the problem I have to reboot (until I suspend again). In looking through the perl code (which uses [code]Win32::SerialPort[/code] to access the port) the program does close the SerialPort as it exits but I presume it is not releasing all of its resources or something since I am getting an error opening the port after the PC resumes. The specific error is "access denied". I'm not sure what's going on and I have not yet seen any posts discussing this. -Andy [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
Watch / Listen Media
Television (MyTV frontend and TV-Server)
Serial channel changer/directv
Contact us
RSS
Top
Bottom