MythTV Service API Library for Java
Implementation of MythTV .27 Services API for Java
Basic building block for MythTV oriented applications in the Java realm.
org.mythtv.services.api.ServerVersionQuery should be used to get the backend version number:
- Check if the server is reachable:
boolean isReachable = org.mythtv.services.api.ServerVersionQuery.isServerReachable("http://backendIP:backendPort(Typically 6544)");
- Get the server version
ApiVersion version = org.mythtv.services.api.ServerVersionQuery.getMythVersion("http://backendIP:backendPort(Typically 6544)");
- Build the MythTVApiContext:
MythTvApi027Context ctxt = (MythTvApiContext)MythTvApiContext.newBuilder().setHostName("192.168.0.2").setVersion(ApiVersion.v027).build();