1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

TiVo UI Control via Telnet - No Hacking Required!

Discussion in 'TiVo Underground' started by Omikron, Apr 30, 2008.

  1. May 8, 2011 #561 of 692
    nyjklein

    nyjklein J-E-T-S JetsJetsJets TCF Club

    181
    0
    Aug 8, 2002
    North...
    Mac version works great for me on 10.6.6, 2011 MacBook Pro.

    Jeff
     
  2. May 8, 2011 #562 of 692
    Fofer

    Fofer XenForo Rocks! TCF Club

    82,137
    304
    Oct 29, 2000
    Mac version works great for me on Mac OS X 10.6.7.

    This is very convenient, I like it! Thanks for your wonderful work on this, wmcbrine!

    Has there been any work shared on some "skins" for this program, to perhaps make it look prettier... like an actual remote? That'd be kinda cool...
     
  3. wb3fsr

    wb3fsr New Member

    12
    0
    Feb 13, 2011
    wmcbrine thank you for extensive work / development of your remote app. I use it daily and enjoy the interface.

    I would like to sort the 'Tivo Suggestions' alphabetically... Is this possible?

    Last, I use an app called 'Tivo Play List' written by David Cahoe for downloading shows to my PC. Randomly I lose communications with one or more Tivo's over the network. The app uses ports 80 & 443. So far the only recovery has been a reboot via the Tivo menu. Are there any code(s) that I could send to the Tivo to restart servicing of these ports short of a full reboot?

    Running three Premiere's here.

    Regards,

    Ren:)
     
  4. justen_m

    justen_m Cheesehead

    7,923
    16
    Jan 14, 2004
    Boise, ID
    Is the first post in this thread still valid? I'm probably smeeking, but I can't telnet into port 31339 on my TivoHD (11.0k firmware). I've tried from hyperterminal (XPP box) and telnet (Linux box) and I get no response. Networking is fine (all my Tivos and PCs can see each other, transfers to and from my Tivos and XP boxes work fine with TD 2.8.2, I can ping my Tivos from my all my PCs, etc). Is there something in the past 560+ posts that is relevant to my problem?
     
  5. mcheavens

    mcheavens New Member

    3
    0
    Oct 23, 2009
    I did a quick and dirty update with one example of a smaller command line. If you just run the scripts (after compiled) it will give a msg box with the IRCODES as well as how to change the channel. I also added a simple example of "TiVo p" will pause the TiVo.

    Not very clean and need to convert a lot of this to Functions, but it was a quick upgrade. Now if I could only think of why I started this project!

    Here it is:
    ----------------
    #Region ;**** Directives created by AutoIt3Wrapper_GUI ****
    #AutoIt3Wrapper_outfile=TiVo.exe
    #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
    $WORKINGDIR = @ScriptDir ; Reads INI file from same directory as EXE file
    $var1 = IniRead($WORKINGDIR & "\TiVoRemote.ini", "TiVo LAN IP and Port Number", "IP", "IP Address Not Found in INI file") ; Reads IP from INI file
    $var2 = IniRead($WORKINGDIR & "\TiVoRemote.ini", "TiVo LAN IP and Port Number", "Port", "Port Number NotFound in INI file") ; ; Reads Port from INI file
    Global $ProgramName="TiVo Remote"
    Global $PRGLine="TiVo"

    If $CmdLine[0] = 0 Then
    $Message= "Basic commands:" & @LF & _
    "Currently all commands must be in all UPPER CASE!" & @LF & _
    ">>SETCH" & @LF & _
    $PRGLine & " SETCH 13 will change the channel to 13 on the current LIVETV screen" & @LF & _
    $PRGLine & " SETCH ""13 1"" Will change the channel to Digital 13-1" & @LF & _
    ">>IRCODES" & @LF & _
    $PRGLine & " IRCODES xxxxxx" & @LF & _
    ">>xxxxxxx" & @LF & _
    "Navigation: UP, DOWN, LEFT, RIGHT, SELECT, TIVO, LIVETV, GUIDE, INFO" & @LF & _
    "Control Buttons: THUMBSUP, THUMBSDOWN, CHANNELUP, CHANNELDOWN, MUTE, VOLUMEDOWN, VOLUMEUP, INPUT" & @LF & _
    "NOTE: Volume, Mute etc. are TV commands..." & @LF & _
    "Video: VIDEO_MODE_FIXED_480i, VIDEO_MODE_FIXED_480p, VIDEO_MODE_FIXED_720p" & @LF & _
    "VIDEO_MODE_FIXED_1080i, VIDEO_MODE_HYBRID, VIDEO_MODE_HYBRID_720p, VIDEO_MODE_HYBRID_1080i" & @LF & _
    "VIDEO_MODE_NATIVE" & @LF & _
    "Captioning: CC_ON, CC_OFF" & @LF & _
    "OPTIONS" & @LF & _
    "Aspect: ASPECT_CORRECTION_FULL, ASPECT_CORRECTION_PANEL, ASPECT_CORRECTION_ZOOM, ASPECT_CORRECTION_WIDE_ZOOM" & @LF & _
    "TrickPlay: PLAY, FORWARD, REVERSE, PAUSE, SLOW, REPLAY, ADVANCE, RECORD" & @LF & _
    "Number: NUM0, NUM1, NUM2, NUM3, NUM4, .... , NUM8, NUM9" & @LF & _
    "ENTER, CLEAR" & @LF

    MsgBox(0," TiVo-Remote Command Line Variables", $Message)
    Exit
    EndIf

    TCPStartup() ; Opens Telnet Connection
    $fp = TCPConnect($var1, $var2) ; Telnets TiVo at provided IP and Port Number

    If $CmdLine[0]>0 And $CmdLine[1] = "p" Then
    TCPSend($fp, "IRCODE" & " " & "PAUSE" & @CRLF) ; Sends Commands to TiVo
    Sleep(390) ; Allows time to TiVo to return Local and Remote Channel Status
    $ack = TCPRecv($fp, 40)
    TCPShutdown()
    Exit
    EndIf

    IF $CmdLine[0] = 1 Then
    TCPSend($fp, $CmdLine[1] & " " & @CRLF) ; Sends Commands to TiVo
    Sleep(390) ; Allows time to TiVo to return Local and Remote Channel Status
    $ack = TCPRecv($fp, 40)
    EndIf

    IF $CmdLine[0] = 2 Then
    TCPSend($fp, $CmdLine[1] & " " & $CmdLine[2] & @CRLF) ; Sends Commands to TiVo
    Sleep(390) ; Allows time to TiVo to return Local and Remote Channel Status
    $ack = TCPRecv($fp, 40)
    EndIf


    If $CmdLine[0]>0 And $CmdLine[1] = "SETCH" Then ; Provides Windows Tray Bubble Feedback only on channel change
    TrayTip("TiVo Channel Change", $ack, 10, 1)
    Sleep(3000) ; Gives tray bubble 2 seconds to disappear
    TCPShutdown()
    Exit
    EndIf

    If $CmdLine[0] > 0 Then
    TCPShutdown()
    EndIf
    Exit
     
  6. wmcbrine

    wmcbrine Ziphead

    10,367
    22
    Aug 2, 2003
  7. windracer

    windracer joined the 10k club

    11,580
    3
    Jan 3, 2003
    St. Pete, FL
    Did you enable Network Remote Control?

    Messages & Settings > Settings > Remote, CableCARD & Devices > Network Remote Control
     
  8. justen_m

    justen_m Cheesehead

    7,923
    16
    Jan 14, 2004
    Boise, ID
    Nope. Thanks for the suggestion. I'll give it a try when I get home and get a chance. Seeing as I don't have any cablecards, I doubt I've ever entered that menu. Thanks to wmcbrine too, who pointed out the post (#209) where that was mentioned... almost three years ago. :eek: :)
     
  9. jim.slimbo

    jim.slimbo New Member

    2
    0
    May 20, 2011
    I've checked in on conversations in tivocommunity many times since I got my Tivo Premier about 6 months ago but I just registered now so I could login to thank wmcbrine and anyone else who contributed to tivoremote.

    I'm so happy to be able to use my netbook to enter Tivo text!

    Bravo and thank you! :up:
     
  10. ArthurPower

    ArthurPower New Member

    6
    0
    May 21, 2011
    A big thank you to wmcbrine! I have been running Ubuntu as my primary OS on all my computers (both for my business and personal use) for 5+ years. I recently became an authorized Tivo dealer and have a couple Premiere's on my network now. I was looking for a way to control them from my PC's when I came across this thread. This app runs perfect on Ubuntu 10.10 and allows me to select which Tivo I want to control. Very nice! I made a custom launcher and logo, all I need to do is wrap it into a .deb install for easier installation. That is if it's OK with wmcbrine?

    Arthur
     
  11. wmcbrine

    wmcbrine Ziphead

    10,367
    22
    Aug 2, 2003
    "Custom launcher"? What's that do?
     
  12. ArthurPower

    ArthurPower New Member

    6
    0
    May 21, 2011
    Just a shortcut to start a program (in Ubuntu it's called a launcher). I put the remote application in a hidden folder inside the users directly where most programs are installed, then added a launcher with a nice Tivo logo and placed it in the main menu and on my desktop.

    Arthur
     
  13. ArthurPower

    ArthurPower New Member

    6
    0
    May 21, 2011
    I guess I shouldn't have used the word 'custom' it makes it sound like it was something special. It would just be nice to wrap the app into a .deb package so anyone using a Debian Linux distro can easily install it. I just want everything in the right place with a nice looking launcher to start it.

    Arthur
     
  14. Jobius

    Jobius New Member

    17
    0
    Oct 17, 2000
    Salvation...
    So I get that this thread is about controlling the TiVo using telnet, but I've been looking for a way to toggle CC from an IR remote. Does the fact that these are listed as IRCODE mean that there's a corresponding, um, IR code? Any way of telling what it is?
     
  15. wmcbrine

    wmcbrine Ziphead

    10,367
    22
    Aug 2, 2003
  16. Jun 5, 2011 #576 of 692
    Puf

    Puf New Member

    1
    0
    Jun 5, 2011
    I've been reading threads, playing with the interface, etc. Has someone figured out a way to determine whether (a) you are on livetv, (b) watching a pre-recorded show, (c) in the menus?

    I'm using a control system and issuing commands from it. The HDMI is going through a switch and it appears that I need to reinitiate the HDCP handshake upon switching sources back to one of my Tivos. When I do, I don't want to change the channel, menu, etc. so I want to try to figure it out and issue a command that will reinitiate the HDCP connection without messing it up. The thinking is if on LiveTV, I swap tuners or hit info.
     
  17. tzroberts

    tzroberts New Member

    16
    0
    Jun 27, 2011
    I am a little late in coming, but I love this thread. Have you guys had any issue in loosing IP control of TiVo when in certain menus, like the advertising menus? If so, is there a way around it or am I forced to use the IR remote to exit out? Thanks for any insight.
     
  18. DougD

    DougD New Member

    60
    0
    Apr 25, 2011
    I have been testing out the python remote control programs by wmcbrine and orangeboys and really like them. Has anyone ported these to java? I have tried the java version from jeepguy_1980 but it doesn't seem to provide for keyboard entry.
     
  19. wmcbrine

    wmcbrine Ziphead

    10,367
    22
    Aug 2, 2003
    Why do you want it in Java?
     
  20. DougD

    DougD New Member

    60
    0
    Apr 25, 2011
    I knowyou develop in Python but I normally don't have Python on my windows 7 machines.
     

Share This Page