new plugin for changing channels (DirecTV w/serial port) (1 Viewer)

natrlhy

Retired Team Member
  • Premium Supporter
  • August 2, 2006
    324
    0
    Bay Area, CA
    Home Country
    United States of America United States of America
    mzemina,

    Sounds great. I'm writing up a doc for installing WinXP all the way to MP... I will definately capture our IRC dialog and include it in my growing installation doc.
     

    opusnut

    Portal Pro
    February 22, 2006
    109
    0
    Hi, I have written a quick version of the plugin that supports the d10 h10 boxes. I will try and clean it up and get it out for you guys soon. And as for the USB support, from what i've read, it is still functions like a serial port and requires you to go out and by a USB-serial adapter to plug into it.

    Can someone please confirm that the plugin is currently working as is for all boxes other than the d10/h10 20s.

    thanx.

    opusnut
     

    natrlhy

    Retired Team Member
  • Premium Supporter
  • August 2, 2006
    324
    0
    Bay Area, CA
    Home Country
    United States of America United States of America
    Can someone please confirm that the plugin is currently working as is for all boxes other than the d10/h10 20s.

    thanx.

    opusnut

    I have a DirecTV HTL-HD receiver. It has the serial connection on the back and it worked great with my TiVo unit.

    I'm still stumped on how to configure it correctly and have my MCE US remote perform the channel changing for me. I'm awating more information from scoop in IRC so that I can document how I get it working.
     

    opusnut

    Portal Pro
    February 22, 2006
    109
    0
    Ok i have a woking version of the plugin for the newer D10/20 H10/20 STBs. I need someone with the older boxes to test it to make sure those functions still work properly and then i will release it.

    thanx..
    opusnut
     

    natrlhy

    Retired Team Member
  • Premium Supporter
  • August 2, 2006
    324
    0
    Bay Area, CA
    Home Country
    United States of America United States of America
    I'd be glad to test it!

    I'm using scoops version and it is semi-working... in an odd sort of way. I can change to some channels, but not all of them. It sends crazy channel numbers after channel 255 with my receiver (HTL-HD). I will be sending him my logs.
     

    jburnette

    Portal Pro
    August 24, 2006
    758
    116
    Kentucky
    Home Country
    United States of America United States of America
    I've got a regular d10-100 box, if that's what you mean by an older one. If you need any testing done on that, I'd be more than happy to do it for you.
     

    diehard2

    Retired Team Member
  • Premium Supporter
  • April 22, 2006
    518
    28
    Chicago
    Home Country
    United States of America United States of America
    Hi, I have a d10100 that I can't seem to change channels with. Here is the debug output. I can't change channels w/ the dtvcontrol app, but I can with both Meedio and the app at gbpvr (http://www.gbpvr.com/pmwiki/pmwiki.php/Utility/DirecTVChannelControl). If anyone could give me a hand, I would appreciate it. All of my channels are set to external. Thanks.

    ~Steve

    9/7/2006 12:50:02 PM Exception: System.TimeoutException: The operation has timed out.
    at System.IO.Ports.SerialStream.ReadByte(Int32 timeout)
    at System.IO.Ports.SerialStream.ReadByte()
    at System.IO.Ports.SerialPort.ReadByte()
    at DirecTV.SerialInterface.ReadResponse(Byte verify, Byte& expect, Byte& response)
    at DirecTV.SerialInterface.SendCommand(Command cmd, Byte[]& receivedData)
    at DirecTV.SerialInterface.SendCommand(Command cmd)
    at DirecTV.SerialInterface.TuneWithRemoteKeys(Int32 channel)
    at DirecTV.SerialInterface.TuneToChannel(Int32 channel)
    at DirecTV.TunerPlugin.TunerPlugin.OnThreadMessage(GUIMessage message)
    at MediaPortal.GUI.Library.SendMessageHandler.Invoke(GUIMessage message)
    at MediaPortal.GUI.Library.GUIWindowManager.SendMessage(GUIMessage message)
    9/7/2006 12:50:40 PM Exception: System.TimeoutException: The operation has timed out.
    at System.IO.Ports.SerialStream.ReadByte(Int32 timeout)
    at System.IO.Ports.SerialStream.ReadByte()
    at System.IO.Ports.SerialPort.ReadByte()
    at DirecTV.SerialInterface.ReadResponse(Byte verify, Byte& expect, Byte& response)
    at DirecTV.SerialInterface.SendCommand(Command cmd, Byte[]& receivedData)
    at DirecTV.SerialInterface.SendCommand(Command cmd)
    at DirecTV.SerialInterface.TuneWithRemoteKeys(Int32 channel)
    at DirecTV.SerialInterface.TuneToChannel(Int32 channel)
    at DirecTV.TunerPlugin.TunerPlugin.OnThreadMessage(GUIMessage message)
    at MediaPortal.GUI.Library.SendMessageHandler.Invoke(GUIMessage message)
    at MediaPortal.GUI.Library.GUIWindowManager.SendMessage(GUIMessage message)
     

    natrlhy

    Retired Team Member
  • Premium Supporter
  • August 2, 2006
    324
    0
    Bay Area, CA
    Home Country
    United States of America United States of America
    Anyone interested is welcome to test it. Get it from here: http://scoop.cybox.nl/mediaportal/tmp/DirecTV_new.zip

    Note: the DirecTV.SerialInterface.dll should go to the MP install directory, the DirecTV.TunerPlugin.dll should go into the plugins\process\ subdirectory.

    If this plugin turns out to be a better incarnation than the original plugin then I'll upload it (along with the source) to the MP homepage.

    Kind regards,
    Michel

    Michel,

    I wanted to let you know my experience so far with your DirecTV serial plugin.

    It is working VERY well for me on channels 2-255 on my HTL-HD receiver. However, after I go up to channel 256, it sends a "1" to the reciever; channel 256 sends "513", ch. 260 sends "1537". It gets crazier after that. I can provide more logs for you if you like. I'm just wondering what the code looks like and maybe I can assist? I'm not a coder by any means, but I would be happy to contribute if possible.

    My current configuration is:

    Global

    Model: D10-100 (D10-200 works just the same, too)
    Serial port: COM1
    Baud rate: 9600
    Read timeout: 1000

    Advanced settings

    Keymap: D10-100/D10-200 keymap
    Use "channel set" for tuning (if I disable this, nothing happens when I try to change channels)
    Enable extensive logging

    :D :D :D !!!
     

    opusnut

    Portal Pro
    February 22, 2006
    109
    0
    natrlhy,

    Two things.. first please pastebin or email me a copy of your logs trying to change to a few channels above 255. Also.. do you see the Directv OSD when you change channels?

    opusnut
     

    Users who are viewing this thread

    Top Bottom