GFE 2.0.1 appears to have a bug where it drops all paired devices when the serverinfo query is sent with a uniqueid argument. Stop doing that to fix Limelight with GFE 2.0.1.

This commit is contained in:
Cameron Gutman 2014-05-06 10:21:17 -04:00
parent bd9b37a5a0
commit 4ee99a78b2

View File

@ -107,7 +107,7 @@ public class NvHTTP {
} }
public int getCurrentGame() throws IOException, XmlPullParserException { public int getCurrentGame() throws IOException, XmlPullParserException {
InputStream in = openHttpConnection(baseUrl + "/serverinfo?uniqueid=" + uniqueId); InputStream in = openHttpConnection(baseUrl + "/serverinfo");
String game = getXmlString(in, "currentgame"); String game = getXmlString(in, "currentgame");
return Integer.parseInt(game); return Integer.parseInt(game);
} }