Permalink
Browse files

fix Discovery

  • Loading branch information...
1 parent 72269fc commit 8f48984a56cd7f4d4a8b9983c37d0cbd3c545bac ler0y committed Dec 11, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/main/java/net/pms/network/UPNPHelper.java
View
4 src/main/java/net/pms/network/UPNPHelper.java
@@ -258,6 +258,10 @@ public void run() {
sendDiscover(remoteAddr, remotePort, "urn:schemas-upnp-org:device:MediaServer:1");
}
+ if (StringUtils.indexOf(s, "ssdp:all") > 0) {
+ sendDiscover(remoteAddr, remotePort, "urn:schemas-upnp-org:device:MediaServer:1");
+ }
+
if (StringUtils.indexOf(s, PMS.get().usn()) > 0) {
sendDiscover(remoteAddr, remotePort, PMS.get().usn());
}

0 comments on commit 8f48984

Please sign in to comment.