commit 87adc31aba5fbbb8deff47427684bd5a3391fa3b parent e5b8dc17be63d3536d709205374ac8cbf43135d4 Author: Serge <serge.simon@gmail.com> Date: Sat, 3 Mar 2012 16:10:41 +0100 Location has changed and is "device_description" and not any more "zone_player" since a few Sonos version (3.5 maybe). Diffstat:
M | net/frotz/sonos/Discover.java | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/frotz/sonos/Discover.java b/net/frotz/sonos/Discover.java @@ -119,7 +119,7 @@ public class Discover extends Thread { void init(Discover.Listener cb) { active = true; this.callback = cb; - pLocation = Pattern.compile("^LOCATION:\\s*http://(.*):1400/xml/zone_player.xml$",Pattern.MULTILINE | Pattern.CASE_INSENSITIVE); + pLocation = Pattern.compile("^LOCATION:\\s*http://(.*):1400/xml/device_description.xml$",Pattern.MULTILINE | Pattern.CASE_INSENSITIVE); start(); } public static interface Listener {