Просмотр исходного кода

upnp discovery: add debug message so we can check for other devices on the LAN

Felix Paul Kühne 11 лет назад
Родитель
Сommit
7d69714761
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      AspenProject/VLCLocalServerListViewController.m

+ 2 - 0
AspenProject/VLCLocalServerListViewController.m

@@ -377,6 +377,8 @@
         device = _UPNPdevices[x];
         if ([[device urn] isEqualToString:@"urn:schemas-upnp-org:device:MediaServer:1"])
             [mutArray addObject:device];
+        else
+            APLog(@"found device '%@' with unsupported urn '%@'", [device friendlyName], [device urn]);
     }
     _filteredUPNPDevices = nil;
     _filteredUPNPDevices = [NSArray arrayWithArray:mutArray];