Tivo Detection: Network Discovery

I’m sure that you know if you have a Tivo or not, but I’m providing a class based on the “Tivo Connect Automatic Machine Discovery Protocol Specification” that will listen for the Tivo UDP heartbeat and provide a notification when the heartbeat is detected.

Usage:

1
2
3
4
5
6
7
 TivoLocator.getInstance().addListener(new TivoLocatorListener() {
 
      public void processTivoHeartbeat(TivoInformation info) {
          System.out.println("Tivo IP: " + info.getAddress());
      }
 
 });

The Tivo will send out these hearbeats about every 60 seconds or so. The TivoInformation class will tell you information such as:

Internet Address: getAddress()
Connect Method: getMethod()
Platform: getPlatform()
Machine Name: getMachineName()
Identity: getIdentity()
Services: getServices()
Software Version: getSwVersion()

Code: TivoLocator.java
Spec: TivoConnectDiscoverySpec.pdf



Did you enjoy this post? Why not leave a comment below and continue the conversation, or subscribe to my feed and get articles like this delivered automatically to your feed reader.

Comments

Added more content (and thanks for your contribution, wmcbrine)… but I am posting here because I also added a link to something I’ve been hoping/asking for… Peter Franza created the Java class I was hoping for…before I asked for it. A class to handle the TiVo Network Discovery without me having to learn/understand how that works.

Leave a comment

(required)

(required)