Tivo Detection: Network Discovery
25 Sep 2008I’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:
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