pull/590/head
FongMi 7 months ago
parent 4aaa39b18f
commit ab93ae8487
  1. 2
      app/src/mobile/java/com/fongmi/android/tv/utils/ScanTask.java

@ -80,7 +80,7 @@ public class ScanTask {
private void findDevice(CountDownLatch cd, String url) {
if (url.contains(Server.get().getAddress())) return;
try (Response res = OkHttp.newCall(client, url).execute()) {
try (Response res = OkHttp.newCall(client, url.concat("/device")).execute()) {
Device device = Device.objectFrom(res.body().string());
if (device != null) devices.add(device.save());
} catch (Exception ignored) {

Loading…
Cancel
Save