sonos 0.3.4 → 0.3.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -14,7 +14,7 @@ module Sonos::Endpoint::Rendering
14
14
  # Trying to set the volume of a fixed volume speaker will fail.
15
15
  # @param [Fixnum] the desired volume from 0 to 100
16
16
  def volume=(value)
17
- send_rendering_message('SetVolume', value)
17
+ parse_response send_rendering_message('SetVolume', value)
18
18
  end
19
19
 
20
20
  # Get the current bass EQ.
@@ -27,7 +27,7 @@ module Sonos::Endpoint::Rendering
27
27
  # Set the bass EQ from -10 to 10.
28
28
  # @param [Fixnum] the desired bass EQ from -10 to 10
29
29
  def bass=(value)
30
- send_rendering_message('SetBass', value)
30
+ parse_response send_rendering_message('SetBass', value)
31
31
  end
32
32
 
33
33
  # Get the current treble EQ.
@@ -40,17 +40,17 @@ module Sonos::Endpoint::Rendering
40
40
  # Set the treble EQ from -10 to 10.
41
41
  # @param [Fixnum] the desired treble EQ from -10 to 10
42
42
  def treble=(value)
43
- send_rendering_message('SetTreble', value)
43
+ parse_response send_rendering_message('SetTreble', value)
44
44
  end
45
45
 
46
46
  # Mute the speaker
47
47
  def mute
48
- set_mute(true)
48
+ parse_response set_mute(true)
49
49
  end
50
50
 
51
51
  # Unmute the speaker
52
52
  def unmute
53
- set_mute(false)
53
+ parse_response set_mute(false)
54
54
  end
55
55
 
56
56
  # Is the speaker muted?
@@ -70,7 +70,7 @@ module Sonos::Endpoint::Rendering
70
70
  # Set the loudness compenstation setting
71
71
  # @param [Boolean] if the speaker has loudness on or not
72
72
  def loudness=(value)
73
- send_rendering_message('SetLoudness', value ? 1 : 0)
73
+ parse_response send_rendering_message('SetLoudness', value ? 1 : 0)
74
74
  end
75
75
 
76
76
  private
@@ -82,7 +82,7 @@ private
82
82
  end
83
83
 
84
84
  def rendering_client
85
- @rendering_client ||= Savon.client endpoint: "http://#{self.ip}:#{Sonos::PORT}#{RENDERING_ENDPOINT}", namespace: Sonos::NAMESPACE, log_level: :error
85
+ @rendering_client ||= Savon.client endpoint: "http://#{self.ip}:#{Sonos::PORT}#{RENDERING_ENDPOINT}", namespace: Sonos::NAMESPACE, log: Sonos.logging_enabled
86
86
  end
87
87
 
88
88
  def send_rendering_message(name, value = nil)
@@ -3,7 +3,7 @@ module Sonos
3
3
  # play the same music in sync.
4
4
  class Group
5
5
  # The master speaker in the group
6
- attr_reader :master_speaker
6
+ attr_accessor :master_speaker
7
7
 
8
8
  # All other speakers in the group
9
9
  attr_reader :slave_speakers
@@ -71,13 +71,16 @@ module Sonos
71
71
  @topology = topology
72
72
  @groups = []
73
73
  @devices = @topology.collect(&:device)
74
-
74
+
75
75
  construct_groups
76
76
 
77
77
  speakers.each do |speaker|
78
78
  speaker.group_master = speaker
79
79
  @groups.each do |group|
80
- speaker.group_master = group.master_speaker if group.master_speaker.uid == speaker.uid
80
+ if group.master_speaker.uid == speaker.uid
81
+ speaker.group_master = speaker
82
+ group.master_speaker = speaker
83
+ end
81
84
  group.slave_speakers.each do |slave|
82
85
  speaker.group_master = group.master_speaker if slave.uid == speaker.uid
83
86
  end
@@ -107,8 +110,8 @@ module Sonos
107
110
  nodes << node unless node.uuid == master.uuid
108
111
  end
109
112
 
110
- # Skip this group if there are no nodes or master
111
- next if nodes.empty? or master.nil?
113
+ # Skip this group if there is no master
114
+ next if master.nil?
112
115
 
113
116
  # Add the group
114
117
  @groups << Group.new(master.device, nodes.collect(&:device))
@@ -15,7 +15,7 @@ module Sonos
15
15
  end
16
16
 
17
17
  def device
18
- @device || Device::Base.detect(ip)
18
+ @device ||= Device::Base.detect(ip)
19
19
  end
20
20
  end
21
21
  end
@@ -1,3 +1,3 @@
1
1
  module Sonos
2
- VERSION = '0.3.4'
2
+ VERSION = '0.3.5'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sonos
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Soffes
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-11-01 00:00:00.000000000 Z
12
+ date: 2014-02-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: savon
@@ -103,11 +103,6 @@ files:
103
103
  - lib/sonos/topology_node.rb
104
104
  - lib/sonos/version.rb
105
105
  - sonos.gemspec
106
- - test/cassettes/topology.yml
107
- - test/support/discovery_macros.rb
108
- - test/support/vcr.rb
109
- - test/test_helper.rb
110
- - test/units/system_test.rb
111
106
  homepage: https://github.com/soffes/sonos
112
107
  licenses:
113
108
  - MIT
@@ -128,14 +123,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
128
123
  version: '0'
129
124
  requirements: []
130
125
  rubyforge_project:
131
- rubygems_version: 2.0.3
126
+ rubygems_version: 2.0.14
132
127
  signing_key:
133
128
  specification_version: 4
134
129
  summary: Control Sonos speakers with Ruby
135
- test_files:
136
- - test/cassettes/topology.yml
137
- - test/support/discovery_macros.rb
138
- - test/support/vcr.rb
139
- - test/test_helper.rb
140
- - test/units/system_test.rb
130
+ test_files: []
141
131
  has_rdoc:
@@ -1,840 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: http://10.0.1.11:1400/status/topology
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- accept:
11
- - ! '*/*'
12
- user-agent:
13
- - Ruby
14
- response:
15
- status:
16
- code: 200
17
- message: OK
18
- headers:
19
- content-type:
20
- - text/xml
21
- connection:
22
- - close
23
- body:
24
- encoding: ASCII-8BIT
25
- string: !binary |-
26
- PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8P3htbC1zdHlsZXNoZWV0IHR5cGU9
27
- InRleHQveHNsIiBocmVmPSIveG1sL3Jldmlldy54c2wiPz48WlBTdXBwb3J0
28
- SW5mbz48Wm9uZVBsYXllcnM+PFpvbmVQbGF5ZXIgZ3JvdXA9J1JJTkNPTl8w
29
- MDBFNThBMzZCN0MwMTQwMDozMicgY29vcmRpbmF0b3I9J2ZhbHNlJyBsb2Nh
30
- dGlvbj0naHR0cDovLzEwLjAuMS4xMDoxNDAwL3htbC9kZXZpY2VfZGVzY3Jp
31
- cHRpb24ueG1sJyB2ZXJzaW9uPScxOS40LTYwMTIwJyBtaW5jb21wYXRpYmxl
32
- dmVyc2lvbj0nMTkuNC0wMDAwMCcgYm9vdHNlcT0nMzEnIHV1aWQ9J1JJTkNP
33
- Tl8wMDBFNTg3NTFBNDYwMTQwMCc+QmF0aHJvb208L1pvbmVQbGF5ZXI+PFpv
34
- bmVQbGF5ZXIgZ3JvdXA9J1JJTkNPTl8wMDBFNThBMzZCN0MwMTQwMDozMicg
35
- Y29vcmRpbmF0b3I9J2ZhbHNlJyBsb2NhdGlvbj0naHR0cDovLzEwLjAuMS43
36
- OjE0MDAveG1sL2RldmljZV9kZXNjcmlwdGlvbi54bWwnIHZlcnNpb249JzE5
37
- LjQtNjAxMjAnIG1pbmNvbXBhdGlibGV2ZXJzaW9uPScxOS40LTAwMDAwJyBi
38
- b290c2VxPScxMicgdXVpZD0nUklOQ09OXzAwMEU1ODc1NzUzNjAxNDAwJz5C
39
- ZWRyb29tPC9ab25lUGxheWVyPjxab25lUGxheWVyIGdyb3VwPSdSSU5DT05f
40
- MDAwRTU4QTM2QjdDMDE0MDA6MzInIGNvb3JkaW5hdG9yPSd0cnVlJyBsb2Nh
41
- dGlvbj0naHR0cDovLzEwLjAuMS45OjE0MDAveG1sL2RldmljZV9kZXNjcmlw
42
- dGlvbi54bWwnIHZlcnNpb249JzE5LjQtNjAxMjAnIG1pbmNvbXBhdGlibGV2
43
- ZXJzaW9uPScxOS40LTAwMDAwJyBib290c2VxPScxNScgdXVpZD0nUklOQ09O
44
- XzAwMEU1OEEzNkI3QzAxNDAwJz5MaXZpbmcgUm9vbTwvWm9uZVBsYXllcj48
45
- Wm9uZVBsYXllciBncm91cD0nUklOQ09OXzAwMEU1OEEzNkI3QzAxNDAwOjMy
46
- JyBjb29yZGluYXRvcj0nZmFsc2UnIGxvY2F0aW9uPSdodHRwOi8vMTAuMC4x
47
- LjExOjE0MDAveG1sL2RldmljZV9kZXNjcmlwdGlvbi54bWwnIHZlcnNpb249
48
- JzE5LjQtNjAxMjAnIG1pbmNvbXBhdGlibGV2ZXJzaW9uPScxOS40LTAwMDAw
49
- JyBib290c2VxPScxNCcgdXVpZD0nUklOQ09OXzAwMEU1ODc1MUE0QTAxNDAw
50
- Jz5CZWRyb29tPC9ab25lUGxheWVyPjwvWm9uZVBsYXllcnM+PE1lZGlhU2Vy
51
- dmVycz48TWVkaWFTZXJ2ZXIgbG9jYXRpb249JzEwLjAuMS4xNjozNDAxJyB1
52
- dWlkPSdtb2JpbGUtaVBob25lLTU0MjY5NjUzOTc0NScgdmVyc2lvbj0nJyBj
53
- YW5iZWRpc3BsYXllZD0nZmFsc2UnIHVuYXZhaWxhYmxlPSdmYWxzZScgdHlw
54
- ZT0nMCcgZXh0PScnPmlTb2hsPC9NZWRpYVNlcnZlcj48TWVkaWFTZXJ2ZXIg
55
- bG9jYXRpb249JzEwLjAuMS4xNTozNDAxJyB1dWlkPSdtb2JpbGUtaVBob25l
56
- LTIwQzlEMDU4ODAyNCcgdmVyc2lvbj0nJyBjYW5iZWRpc3BsYXllZD0nZmFs
57
- c2UnIHVuYXZhaWxhYmxlPSdmYWxzZScgdHlwZT0nMCcgZXh0PScnPlNhbSZh
58
- cG9zO3MgaVBob25lPC9NZWRpYVNlcnZlcj48TWVkaWFTZXJ2ZXIgbG9jYXRp
59
- b249JzEwLjAuMS44OjM0MDEnIHV1aWQ9J21vYmlsZS1pUGhvbmUtRTBDOTdB
60
- Mjk3MEE0JyB2ZXJzaW9uPScnIGNhbmJlZGlzcGxheWVkPSdmYWxzZScgdW5h
61
- dmFpbGFibGU9J2ZhbHNlJyB0eXBlPScwJyBleHQ9Jyc+RWxsZW7igJlzIGlQ
62
- aG9uZTwvTWVkaWFTZXJ2ZXI+PC9NZWRpYVNlcnZlcnM+PC9aUFN1cHBvcnRJ
63
- bmZvPg==
64
- http_version: '1.1'
65
- recorded_at: Thu, 03 Jan 2013 07:23:38 GMT
66
- - request:
67
- method: get
68
- uri: http://10.0.1.10:1400/xml/device_description.xml
69
- body:
70
- encoding: US-ASCII
71
- string: ''
72
- headers:
73
- accept:
74
- - ! '*/*'
75
- user-agent:
76
- - Ruby
77
- response:
78
- status:
79
- code: 200
80
- message: OK
81
- headers:
82
- content-type:
83
- - text/xml
84
- transfer-encoding:
85
- - chunked
86
- connection:
87
- - close
88
- body:
89
- encoding: US-ASCII
90
- string: ! "<?xml version=\"1.0\" encoding=\"utf-8\" ?>\n<root xmlns=\"urn:schemas-upnp-org:device-1-0\">\n
91
- \ <specVersion>\n <major>1</major>\n <minor>0</minor>\n </specVersion>\n
92
- \ <device>\n <deviceType>urn:schemas-upnp-org:device:ZonePlayer:1</deviceType>\n
93
- \ <friendlyName>10.0.1.10 - Sonos PLAY:3</friendlyName>\n <manufacturer>Sonos,
94
- Inc.</manufacturer>\n <manufacturerURL>http://www.sonos.com</manufacturerURL>\n
95
- \ <modelNumber>S3</modelNumber>\n <modelDescription>Sonos PLAY:3</modelDescription>\n
96
- \ <modelName>Sonos PLAY:3</modelName>\n <modelURL>http://www.sonos.com/products/zoneplayers/S3</modelURL>\n
97
- \ <softwareVersion>19.4-60120</softwareVersion>\n <hardwareVersion>1.8.1.2-1</hardwareVersion>\n
98
- \ <serialNum>00-0E-58-75-1A-46:C</serialNum>\n <UDN>uuid:RINCON_000E58751A4601400</UDN>\n
99
- \ <iconList>\n <icon>\n <id>0</id>\n <mimetype>image/png</mimetype>\n
100
- \ <width>48</width>\n <height>48</height>\n <depth>24</depth>\n
101
- \ <url>/img/icon-S3.png</url>\n </icon>\n </iconList>\n <minCompatibleVersion>19.4-00000</minCompatibleVersion>\n
102
- \ <displayVersion>3.8.4</displayVersion>\n <extraVersion>OTP: </extraVersion>\n
103
- \ <roomName>Bathroom</roomName>\n <displayName>PLAY:3</displayName>\n
104
- \ <zoneType>7</zoneType>\n <feature1>0x00000000</feature1>\n <feature2>0x00006332</feature2>\n
105
- \ <feature3>0x0000002a</feature3>\n <internalSpeakerSize>4</internalSpeakerSize>\n
106
- \ <serviceList>\n <service>\n <serviceType>urn:schemas-upnp-org:service:AlarmClock:1</serviceType>\n
107
- \ <serviceId>urn:upnp-org:serviceId:AlarmClock</serviceId>\n <controlURL>/AlarmClock/Control</controlURL>\n
108
- \ <eventSubURL>/AlarmClock/Event</eventSubURL>\n <SCPDURL>/xml/AlarmClock1.xml</SCPDURL>\n
109
- \ </service> \n <service>\n <serviceType>urn:schemas-upnp-org:service:MusicServices:1</serviceType>\n
110
- \ <serviceId>urn:upnp-org:serviceId:MusicServices</serviceId>\n <controlURL>/MusicServices/Control</controlURL>\n
111
- \ <eventSubURL>/MusicServices/Event</eventSubURL>\n <SCPDURL>/xml/MusicServices1.xml</SCPDURL>\n
112
- \ </service> \n <service>\n <serviceType>urn:schemas-upnp-org:service:DeviceProperties:1</serviceType>\n
113
- \ <serviceId>urn:upnp-org:serviceId:DeviceProperties</serviceId>\n <controlURL>/DeviceProperties/Control</controlURL>\n
114
- \ <eventSubURL>/DeviceProperties/Event</eventSubURL>\n <SCPDURL>/xml/DeviceProperties1.xml</SCPDURL>\n
115
- \ </service> \n <service>\n <serviceType>urn:schemas-upnp-org:service:SystemProperties:1</serviceType>\n
116
- \ <serviceId>urn:upnp-org:serviceId:SystemProperties</serviceId>\n <controlURL>/SystemProperties/Control</controlURL>\n
117
- \ <eventSubURL>/SystemProperties/Event</eventSubURL>\n <SCPDURL>/xml/SystemProperties1.xml</SCPDURL>\n
118
- \ </service> \n <service>\n <serviceType>urn:schemas-upnp-org:service:ZoneGroupTopology:1</serviceType>\n
119
- \ <serviceId>urn:upnp-org:serviceId:ZoneGroupTopology</serviceId>\n
120
- \ <controlURL>/ZoneGroupTopology/Control</controlURL>\n <eventSubURL>/ZoneGroupTopology/Event</eventSubURL>\n
121
- \ <SCPDURL>/xml/ZoneGroupTopology1.xml</SCPDURL>\n </service> \n
122
- \ <service>\n <serviceType>urn:schemas-upnp-org:service:GroupManagement:1</serviceType>\n
123
- \ <serviceId>urn:upnp-org:serviceId:GroupManagement</serviceId>\n <controlURL>/GroupManagement/Control</controlURL>\n
124
- \ <eventSubURL>/GroupManagement/Event</eventSubURL>\n <SCPDURL>/xml/GroupManagement1.xml</SCPDURL>\n
125
- \ </service>\n </serviceList>\n <deviceList>\n <device>\n <deviceType>urn:schemas-upnp-org:device:MediaServer:1</deviceType>\n
126
- \ <friendlyName>10.0.1.10 - Sonos PLAY:3 Media Server</friendlyName>\n <manufacturer>Sonos,
127
- Inc.</manufacturer>\n <manufacturerURL>http://www.sonos.com</manufacturerURL>\n
128
- \ <modelNumber>S3</modelNumber>\n <modelDescription>Sonos PLAY:3 Media Server</modelDescription>\n
129
- \ <modelName>Sonos PLAY:3</modelName>\n <modelURL>http://www.sonos.com/products/zoneplayers/S3</modelURL>\n
130
- \ <UDN>uuid:RINCON_000E58751A4601400_MS</UDN>\n <serviceList>\n <service>\n
131
- \ <serviceType>urn:schemas-upnp-org:service:ContentDirectory:1</serviceType>\n
132
- \ <serviceId>urn:upnp-org:serviceId:ContentDirectory</serviceId>\n <controlURL>/MediaServer/ContentDirectory/Control</controlURL>\n
133
- \ <eventSubURL>/MediaServer/ContentDirectory/Event</eventSubURL>\n <SCPDURL>/xml/ContentDirectory1.xml</SCPDURL>\n
134
- \ </service>\n <service>\n <serviceType>urn:schemas-upnp-org:service:ConnectionManager:1</serviceType>\n\t
135
- \ <serviceId>urn:upnp-org:serviceId:ConnectionManager</serviceId>\n\t <controlURL>/MediaServer/ConnectionManager/Control</controlURL>\n\t
136
- \ <eventSubURL>/MediaServer/ConnectionManager/Event</eventSubURL>\n\t <SCPDURL>/xml/ConnectionManager1.xml</SCPDURL>\n\t
137
- \ </service>\n\t</serviceList>\n </device>\n <device>\n\t<deviceType>urn:schemas-upnp-org:device:MediaRenderer:1</deviceType>\n
138
- \ <friendlyName>Bathroom - Sonos PLAY:3 Media Renderer</friendlyName>\n <manufacturer>Sonos,
139
- Inc.</manufacturer>\n <manufacturerURL>http://www.sonos.com</manufacturerURL>\n
140
- \ <modelNumber>S3</modelNumber>\n <modelDescription>Sonos PLAY:3 Media Renderer</modelDescription>\n
141
- \ <modelName>Sonos PLAY:3</modelName>\n <modelURL>http://www.sonos.com/products/zoneplayers/S3</modelURL>\n\t<UDN>uuid:RINCON_000E58751A4601400_MR</UDN>\n\t<serviceList>\n\t
142
- \ <service>\n\t <serviceType>urn:schemas-upnp-org:service:RenderingControl:1</serviceType>\n\t
143
- \ <serviceId>urn:upnp-org:serviceId:RenderingControl</serviceId>\n\t <controlURL>/MediaRenderer/RenderingControl/Control</controlURL>\n\t
144
- \ <eventSubURL>/MediaRenderer/RenderingControl/Event</eventSubURL>\n\t <SCPDURL>/xml/RenderingControl1.xml</SCPDURL>\n\t
145
- \ </service>\n\t <service>\n\t <serviceType>urn:schemas-upnp-org:service:ConnectionManager:1</serviceType>\n\t
146
- \ <serviceId>urn:upnp-org:serviceId:ConnectionManager</serviceId>\n\t <controlURL>/MediaRenderer/ConnectionManager/Control</controlURL>\n\t
147
- \ <eventSubURL>/MediaRenderer/ConnectionManager/Event</eventSubURL>\n\t
148
- \ <SCPDURL>/xml/ConnectionManager1.xml</SCPDURL>\n\t </service>\n\t <service>\n\t
149
- \ <serviceType>urn:schemas-upnp-org:service:AVTransport:1</serviceType>\n\t
150
- \ <serviceId>urn:upnp-org:serviceId:AVTransport</serviceId>\n\t <controlURL>/MediaRenderer/AVTransport/Control</controlURL>\n\t
151
- \ <eventSubURL>/MediaRenderer/AVTransport/Event</eventSubURL>\n\t <SCPDURL>/xml/AVTransport1.xml</SCPDURL>\n\t
152
- \ </service>\n\t</serviceList>\n <X_Rhapsody-Extension xmlns=\"http://www.real.com/rhapsody/xmlns/upnp-1-0\">\n
153
- \ <deviceID>urn:rhapsody-real-com:device-id-1-0:sonos_1:RINCON_000E58751A4601400</deviceID>\n
154
- \ <deviceCapabilities>\n <interactionPattern type=\"real-rhapsody-upnp-1-0\"/>\n
155
- \ </deviceCapabilities>\n </X_Rhapsody-Extension>\n <iconList>\n
156
- \ <icon>\n <mimetype>image/png</mimetype>\n <width>48</width>\n
157
- \ <height>48</height>\n <depth>24</depth>\n <url>/img/icon-S3.png</url>\n
158
- \ </icon>\n </iconList>\n </device>\n </deviceList>\n
159
- \ </device>\n</root>\n"
160
- http_version: '1.1'
161
- recorded_at: Thu, 03 Jan 2013 07:23:38 GMT
162
- - request:
163
- method: get
164
- uri: http://10.0.1.7:1400/xml/device_description.xml
165
- body:
166
- encoding: US-ASCII
167
- string: ''
168
- headers:
169
- accept:
170
- - ! '*/*'
171
- user-agent:
172
- - Ruby
173
- response:
174
- status:
175
- code: 200
176
- message: OK
177
- headers:
178
- content-type:
179
- - text/xml
180
- transfer-encoding:
181
- - chunked
182
- connection:
183
- - close
184
- body:
185
- encoding: US-ASCII
186
- string: ! "<?xml version=\"1.0\" encoding=\"utf-8\" ?>\n<root xmlns=\"urn:schemas-upnp-org:device-1-0\">\n
187
- \ <specVersion>\n <major>1</major>\n <minor>0</minor>\n </specVersion>\n
188
- \ <device>\n <deviceType>urn:schemas-upnp-org:device:ZonePlayer:1</deviceType>\n
189
- \ <friendlyName>10.0.1.7 - Sonos PLAY:3</friendlyName>\n <manufacturer>Sonos,
190
- Inc.</manufacturer>\n <manufacturerURL>http://www.sonos.com</manufacturerURL>\n
191
- \ <modelNumber>S3</modelNumber>\n <modelDescription>Sonos PLAY:3</modelDescription>\n
192
- \ <modelName>Sonos PLAY:3</modelName>\n <modelURL>http://www.sonos.com/products/zoneplayers/S3</modelURL>\n
193
- \ <softwareVersion>19.4-60120</softwareVersion>\n <hardwareVersion>1.8.1.2-1</hardwareVersion>\n
194
- \ <serialNum>00-0E-58-75-75-36:2</serialNum>\n <UDN>uuid:RINCON_000E5875753601400</UDN>\n
195
- \ <iconList>\n <icon>\n <id>0</id>\n <mimetype>image/png</mimetype>\n
196
- \ <width>48</width>\n <height>48</height>\n <depth>24</depth>\n
197
- \ <url>/img/icon-S3.png</url>\n </icon>\n </iconList>\n <minCompatibleVersion>19.4-00000</minCompatibleVersion>\n
198
- \ <displayVersion>3.8.4</displayVersion>\n <extraVersion>OTP: </extraVersion>\n
199
- \ <roomName>Bedroom</roomName>\n <displayName>PLAY:3</displayName>\n
200
- \ <zoneType>7</zoneType>\n <feature1>0x00000000</feature1>\n <feature2>0x00006332</feature2>\n
201
- \ <feature3>0x0000002a</feature3>\n <internalSpeakerSize>4</internalSpeakerSize>\n
202
- \ <serviceList>\n <service>\n <serviceType>urn:schemas-upnp-org:service:AlarmClock:1</serviceType>\n
203
- \ <serviceId>urn:upnp-org:serviceId:AlarmClock</serviceId>\n <controlURL>/AlarmClock/Control</controlURL>\n
204
- \ <eventSubURL>/AlarmClock/Event</eventSubURL>\n <SCPDURL>/xml/AlarmClock1.xml</SCPDURL>\n
205
- \ </service> \n <service>\n <serviceType>urn:schemas-upnp-org:service:MusicServices:1</serviceType>\n
206
- \ <serviceId>urn:upnp-org:serviceId:MusicServices</serviceId>\n <controlURL>/MusicServices/Control</controlURL>\n
207
- \ <eventSubURL>/MusicServices/Event</eventSubURL>\n <SCPDURL>/xml/MusicServices1.xml</SCPDURL>\n
208
- \ </service> \n <service>\n <serviceType>urn:schemas-upnp-org:service:DeviceProperties:1</serviceType>\n
209
- \ <serviceId>urn:upnp-org:serviceId:DeviceProperties</serviceId>\n <controlURL>/DeviceProperties/Control</controlURL>\n
210
- \ <eventSubURL>/DeviceProperties/Event</eventSubURL>\n <SCPDURL>/xml/DeviceProperties1.xml</SCPDURL>\n
211
- \ </service> \n <service>\n <serviceType>urn:schemas-upnp-org:service:SystemProperties:1</serviceType>\n
212
- \ <serviceId>urn:upnp-org:serviceId:SystemProperties</serviceId>\n <controlURL>/SystemProperties/Control</controlURL>\n
213
- \ <eventSubURL>/SystemProperties/Event</eventSubURL>\n <SCPDURL>/xml/SystemProperties1.xml</SCPDURL>\n
214
- \ </service> \n <service>\n <serviceType>urn:schemas-upnp-org:service:ZoneGroupTopology:1</serviceType>\n
215
- \ <serviceId>urn:upnp-org:serviceId:ZoneGroupTopology</serviceId>\n
216
- \ <controlURL>/ZoneGroupTopology/Control</controlURL>\n <eventSubURL>/ZoneGroupTopology/Event</eventSubURL>\n
217
- \ <SCPDURL>/xml/ZoneGroupTopology1.xml</SCPDURL>\n </service> \n
218
- \ <service>\n <serviceType>urn:schemas-upnp-org:service:GroupManagement:1</serviceType>\n
219
- \ <serviceId>urn:upnp-org:serviceId:GroupManagement</serviceId>\n <controlURL>/GroupManagement/Control</controlURL>\n
220
- \ <eventSubURL>/GroupManagement/Event</eventSubURL>\n <SCPDURL>/xml/GroupManagement1.xml</SCPDURL>\n
221
- \ </service>\n </serviceList>\n <deviceList>\n <device>\n <deviceType>urn:schemas-upnp-org:device:MediaServer:1</deviceType>\n
222
- \ <friendlyName>10.0.1.7 - Sonos PLAY:3 Media Server</friendlyName>\n <manufacturer>Sonos,
223
- Inc.</manufacturer>\n <manufacturerURL>http://www.sonos.com</manufacturerURL>\n
224
- \ <modelNumber>S3</modelNumber>\n <modelDescription>Sonos PLAY:3 Media Server</modelDescription>\n
225
- \ <modelName>Sonos PLAY:3</modelName>\n <modelURL>http://www.sonos.com/products/zoneplayers/S3</modelURL>\n
226
- \ <UDN>uuid:RINCON_000E5875753601400_MS</UDN>\n <serviceList>\n <service>\n
227
- \ <serviceType>urn:schemas-upnp-org:service:ContentDirectory:1</serviceType>\n
228
- \ <serviceId>urn:upnp-org:serviceId:ContentDirectory</serviceId>\n <controlURL>/MediaServer/ContentDirectory/Control</controlURL>\n
229
- \ <eventSubURL>/MediaServer/ContentDirectory/Event</eventSubURL>\n <SCPDURL>/xml/ContentDirectory1.xml</SCPDURL>\n
230
- \ </service>\n <service>\n <serviceType>urn:schemas-upnp-org:service:ConnectionManager:1</serviceType>\n\t
231
- \ <serviceId>urn:upnp-org:serviceId:ConnectionManager</serviceId>\n\t <controlURL>/MediaServer/ConnectionManager/Control</controlURL>\n\t
232
- \ <eventSubURL>/MediaServer/ConnectionManager/Event</eventSubURL>\n\t <SCPDURL>/xml/ConnectionManager1.xml</SCPDURL>\n\t
233
- \ </service>\n\t</serviceList>\n </device>\n <device>\n\t<deviceType>urn:schemas-upnp-org:device:MediaRenderer:1</deviceType>\n
234
- \ <friendlyName>Bedroom - Sonos PLAY:3 Media Renderer</friendlyName>\n <manufacturer>Sonos,
235
- Inc.</manufacturer>\n <manufacturerURL>http://www.sonos.com</manufacturerURL>\n
236
- \ <modelNumber>S3</modelNumber>\n <modelDescription>Sonos PLAY:3 Media Renderer</modelDescription>\n
237
- \ <modelName>Sonos PLAY:3</modelName>\n <modelURL>http://www.sonos.com/products/zoneplayers/S3</modelURL>\n\t<UDN>uuid:RINCON_000E5875753601400_MR</UDN>\n\t<serviceList>\n\t
238
- \ <service>\n\t <serviceType>urn:schemas-upnp-org:service:RenderingControl:1</serviceType>\n\t
239
- \ <serviceId>urn:upnp-org:serviceId:RenderingControl</serviceId>\n\t <controlURL>/MediaRenderer/RenderingControl/Control</controlURL>\n\t
240
- \ <eventSubURL>/MediaRenderer/RenderingControl/Event</eventSubURL>\n\t <SCPDURL>/xml/RenderingControl1.xml</SCPDURL>\n\t
241
- \ </service>\n\t <service>\n\t <serviceType>urn:schemas-upnp-org:service:ConnectionManager:1</serviceType>\n\t
242
- \ <serviceId>urn:upnp-org:serviceId:ConnectionManager</serviceId>\n\t <controlURL>/MediaRenderer/ConnectionManager/Control</controlURL>\n\t
243
- \ <eventSubURL>/MediaRenderer/ConnectionManager/Event</eventSubURL>\n\t
244
- \ <SCPDURL>/xml/ConnectionManager1.xml</SCPDURL>\n\t </service>\n\t <service>\n\t
245
- \ <serviceType>urn:schemas-upnp-org:service:AVTransport:1</serviceType>\n\t
246
- \ <serviceId>urn:upnp-org:serviceId:AVTransport</serviceId>\n\t <controlURL>/MediaRenderer/AVTransport/Control</controlURL>\n\t
247
- \ <eventSubURL>/MediaRenderer/AVTransport/Event</eventSubURL>\n\t <SCPDURL>/xml/AVTransport1.xml</SCPDURL>\n\t
248
- \ </service>\n\t</serviceList>\n <X_Rhapsody-Extension xmlns=\"http://www.real.com/rhapsody/xmlns/upnp-1-0\">\n
249
- \ <deviceID>urn:rhapsody-real-com:device-id-1-0:sonos_1:RINCON_000E5875753601400</deviceID>\n
250
- \ <deviceCapabilities>\n <interactionPattern type=\"real-rhapsody-upnp-1-0\"/>\n
251
- \ </deviceCapabilities>\n </X_Rhapsody-Extension>\n <iconList>\n
252
- \ <icon>\n <mimetype>image/png</mimetype>\n <width>48</width>\n
253
- \ <height>48</height>\n <depth>24</depth>\n <url>/img/icon-S3.png</url>\n
254
- \ </icon>\n </iconList>\n </device>\n </deviceList>\n
255
- \ </device>\n</root>\n"
256
- http_version: '1.1'
257
- recorded_at: Thu, 03 Jan 2013 07:23:38 GMT
258
- - request:
259
- method: get
260
- uri: http://10.0.1.9:1400/xml/device_description.xml
261
- body:
262
- encoding: US-ASCII
263
- string: ''
264
- headers:
265
- accept:
266
- - ! '*/*'
267
- user-agent:
268
- - Ruby
269
- response:
270
- status:
271
- code: 200
272
- message: OK
273
- headers:
274
- content-type:
275
- - text/xml
276
- transfer-encoding:
277
- - chunked
278
- connection:
279
- - close
280
- body:
281
- encoding: US-ASCII
282
- string: ! "<?xml version=\"1.0\" encoding=\"utf-8\" ?>\n<root xmlns=\"urn:schemas-upnp-org:device-1-0\">\n
283
- \ <specVersion>\n <major>1</major>\n <minor>0</minor>\n </specVersion>\n
284
- \ <device>\n <deviceType>urn:schemas-upnp-org:device:ZonePlayer:1</deviceType>\n
285
- \ <friendlyName>10.0.1.9 - Sonos CONNECT</friendlyName>\n <manufacturer>Sonos,
286
- Inc.</manufacturer>\n <manufacturerURL>http://www.sonos.com</manufacturerURL>\n
287
- \ <modelNumber>ZP90</modelNumber>\n <modelDescription>Sonos CONNECT</modelDescription>\n
288
- \ <modelName>Sonos CONNECT</modelName>\n <modelURL>http://www.sonos.com/products/zoneplayers/ZP90</modelURL>\n
289
- \ <softwareVersion>19.4-60120</softwareVersion>\n <hardwareVersion>1.16.5.5-1</hardwareVersion>\n
290
- \ <serialNum>00-0E-58-A3-6B-7C:6</serialNum>\n <UDN>uuid:RINCON_000E58A36B7C01400</UDN>\n
291
- \ <iconList>\n <icon>\n <id>0</id>\n <mimetype>image/png</mimetype>\n
292
- \ <width>48</width>\n <height>48</height>\n <depth>24</depth>\n
293
- \ <url>/img/icon-ZP90.png</url>\n </icon>\n </iconList>\n <minCompatibleVersion>19.4-00000</minCompatibleVersion>\n
294
- \ <displayVersion>3.8.4</displayVersion>\n <extraVersion>OTP: 1.1.1(1-16-5-zp90-0.8)</extraVersion>\n
295
- \ <roomName>Living Room</roomName>\n <displayName>CONNECT</displayName>\n
296
- \ <zoneType>1</zoneType>\n <feature1>0x00310001</feature1>\n <feature2>0x00006172</feature2>\n
297
- \ <feature3>0x00000021</feature3>\n <internalSpeakerSize>-1</internalSpeakerSize>\n
298
- \ <serviceList>\n <service>\n <serviceType>urn:schemas-upnp-org:service:AlarmClock:1</serviceType>\n
299
- \ <serviceId>urn:upnp-org:serviceId:AlarmClock</serviceId>\n <controlURL>/AlarmClock/Control</controlURL>\n
300
- \ <eventSubURL>/AlarmClock/Event</eventSubURL>\n <SCPDURL>/xml/AlarmClock1.xml</SCPDURL>\n
301
- \ </service> \n <service>\n <serviceType>urn:schemas-upnp-org:service:MusicServices:1</serviceType>\n
302
- \ <serviceId>urn:upnp-org:serviceId:MusicServices</serviceId>\n <controlURL>/MusicServices/Control</controlURL>\n
303
- \ <eventSubURL>/MusicServices/Event</eventSubURL>\n <SCPDURL>/xml/MusicServices1.xml</SCPDURL>\n
304
- \ </service> \n <service>\n <serviceType>urn:schemas-upnp-org:service:AudioIn:1</serviceType>\n
305
- \ <serviceId>urn:upnp-org:serviceId:AudioIn</serviceId>\n <controlURL>/AudioIn/Control</controlURL>\n
306
- \ <eventSubURL>/AudioIn/Event</eventSubURL>\n <SCPDURL>/xml/AudioIn1.xml</SCPDURL>\n
307
- \ </service>\n <service>\n <serviceType>urn:schemas-upnp-org:service:DeviceProperties:1</serviceType>\n
308
- \ <serviceId>urn:upnp-org:serviceId:DeviceProperties</serviceId>\n <controlURL>/DeviceProperties/Control</controlURL>\n
309
- \ <eventSubURL>/DeviceProperties/Event</eventSubURL>\n <SCPDURL>/xml/DeviceProperties1.xml</SCPDURL>\n
310
- \ </service> \n <service>\n <serviceType>urn:schemas-upnp-org:service:SystemProperties:1</serviceType>\n
311
- \ <serviceId>urn:upnp-org:serviceId:SystemProperties</serviceId>\n <controlURL>/SystemProperties/Control</controlURL>\n
312
- \ <eventSubURL>/SystemProperties/Event</eventSubURL>\n <SCPDURL>/xml/SystemProperties1.xml</SCPDURL>\n
313
- \ </service> \n <service>\n <serviceType>urn:schemas-upnp-org:service:ZoneGroupTopology:1</serviceType>\n
314
- \ <serviceId>urn:upnp-org:serviceId:ZoneGroupTopology</serviceId>\n
315
- \ <controlURL>/ZoneGroupTopology/Control</controlURL>\n <eventSubURL>/ZoneGroupTopology/Event</eventSubURL>\n
316
- \ <SCPDURL>/xml/ZoneGroupTopology1.xml</SCPDURL>\n </service> \n
317
- \ <service>\n <serviceType>urn:schemas-upnp-org:service:GroupManagement:1</serviceType>\n
318
- \ <serviceId>urn:upnp-org:serviceId:GroupManagement</serviceId>\n <controlURL>/GroupManagement/Control</controlURL>\n
319
- \ <eventSubURL>/GroupManagement/Event</eventSubURL>\n <SCPDURL>/xml/GroupManagement1.xml</SCPDURL>\n
320
- \ </service>\n </serviceList>\n <deviceList>\n <device>\n <deviceType>urn:schemas-upnp-org:device:MediaServer:1</deviceType>\n
321
- \ <friendlyName>10.0.1.9 - Sonos CONNECT Media Server</friendlyName>\n <manufacturer>Sonos,
322
- Inc.</manufacturer>\n <manufacturerURL>http://www.sonos.com</manufacturerURL>\n
323
- \ <modelNumber>ZP90</modelNumber>\n <modelDescription>Sonos CONNECT Media
324
- Server</modelDescription>\n <modelName>Sonos CONNECT</modelName>\n <modelURL>http://www.sonos.com/products/zoneplayers/ZP90</modelURL>\n
325
- \ <UDN>uuid:RINCON_000E58A36B7C01400_MS</UDN>\n <serviceList>\n <service>\n
326
- \ <serviceType>urn:schemas-upnp-org:service:ContentDirectory:1</serviceType>\n
327
- \ <serviceId>urn:upnp-org:serviceId:ContentDirectory</serviceId>\n <controlURL>/MediaServer/ContentDirectory/Control</controlURL>\n
328
- \ <eventSubURL>/MediaServer/ContentDirectory/Event</eventSubURL>\n <SCPDURL>/xml/ContentDirectory1.xml</SCPDURL>\n
329
- \ </service>\n <service>\n <serviceType>urn:schemas-upnp-org:service:ConnectionManager:1</serviceType>\n\t
330
- \ <serviceId>urn:upnp-org:serviceId:ConnectionManager</serviceId>\n\t <controlURL>/MediaServer/ConnectionManager/Control</controlURL>\n\t
331
- \ <eventSubURL>/MediaServer/ConnectionManager/Event</eventSubURL>\n\t <SCPDURL>/xml/ConnectionManager1.xml</SCPDURL>\n\t
332
- \ </service>\n\t</serviceList>\n </device>\n <device>\n\t<deviceType>urn:schemas-upnp-org:device:MediaRenderer:1</deviceType>\n
333
- \ <friendlyName>Living Room - Sonos CONNECT Media Renderer</friendlyName>\n
334
- \ <manufacturer>Sonos, Inc.</manufacturer>\n <manufacturerURL>http://www.sonos.com</manufacturerURL>\n
335
- \ <modelNumber>ZP90</modelNumber>\n <modelDescription>Sonos CONNECT Media
336
- Renderer</modelDescription>\n <modelName>Sonos CONNECT</modelName>\n <modelURL>http://www.sonos.com/products/zoneplayers/ZP90</modelURL>\n\t<UDN>uuid:RINCON_000E58A36B7C01400_MR</UDN>\n\t<serviceList>\n\t
337
- \ <service>\n\t <serviceType>urn:schemas-upnp-org:service:RenderingControl:1</serviceType>\n\t
338
- \ <serviceId>urn:upnp-org:serviceId:RenderingControl</serviceId>\n\t <controlURL>/MediaRenderer/RenderingControl/Control</controlURL>\n\t
339
- \ <eventSubURL>/MediaRenderer/RenderingControl/Event</eventSubURL>\n\t <SCPDURL>/xml/RenderingControl1.xml</SCPDURL>\n\t
340
- \ </service>\n\t <service>\n\t <serviceType>urn:schemas-upnp-org:service:ConnectionManager:1</serviceType>\n\t
341
- \ <serviceId>urn:upnp-org:serviceId:ConnectionManager</serviceId>\n\t <controlURL>/MediaRenderer/ConnectionManager/Control</controlURL>\n\t
342
- \ <eventSubURL>/MediaRenderer/ConnectionManager/Event</eventSubURL>\n\t
343
- \ <SCPDURL>/xml/ConnectionManager1.xml</SCPDURL>\n\t </service>\n\t <service>\n\t
344
- \ <serviceType>urn:schemas-upnp-org:service:AVTransport:1</serviceType>\n\t
345
- \ <serviceId>urn:upnp-org:serviceId:AVTransport</serviceId>\n\t <controlURL>/MediaRenderer/AVTransport/Control</controlURL>\n\t
346
- \ <eventSubURL>/MediaRenderer/AVTransport/Event</eventSubURL>\n\t <SCPDURL>/xml/AVTransport1.xml</SCPDURL>\n\t
347
- \ </service>\n\t</serviceList>\n <X_Rhapsody-Extension xmlns=\"http://www.real.com/rhapsody/xmlns/upnp-1-0\">\n
348
- \ <deviceID>urn:rhapsody-real-com:device-id-1-0:sonos_1:RINCON_000E58A36B7C01400</deviceID>\n
349
- \ <deviceCapabilities>\n <interactionPattern type=\"real-rhapsody-upnp-1-0\"/>\n
350
- \ </deviceCapabilities>\n </X_Rhapsody-Extension>\n <iconList>\n
351
- \ <icon>\n <mimetype>image/png</mimetype>\n <width>48</width>\n
352
- \ <height>48</height>\n <depth>24</depth>\n <url>/img/icon-ZP90.png</url>\n
353
- \ </icon>\n </iconList>\n </device>\n </deviceList>\n
354
- \ </device>\n</root>\n"
355
- http_version: '1.1'
356
- recorded_at: Thu, 03 Jan 2013 07:23:38 GMT
357
- - request:
358
- method: get
359
- uri: http://10.0.1.11:1400/xml/device_description.xml
360
- body:
361
- encoding: US-ASCII
362
- string: ''
363
- headers:
364
- accept:
365
- - ! '*/*'
366
- user-agent:
367
- - Ruby
368
- response:
369
- status:
370
- code: 200
371
- message: OK
372
- headers:
373
- content-type:
374
- - text/xml
375
- transfer-encoding:
376
- - chunked
377
- connection:
378
- - close
379
- body:
380
- encoding: US-ASCII
381
- string: ! "<?xml version=\"1.0\" encoding=\"utf-8\" ?>\n<root xmlns=\"urn:schemas-upnp-org:device-1-0\">\n
382
- \ <specVersion>\n <major>1</major>\n <minor>0</minor>\n </specVersion>\n
383
- \ <device>\n <deviceType>urn:schemas-upnp-org:device:ZonePlayer:1</deviceType>\n
384
- \ <friendlyName>10.0.1.11 - Sonos PLAY:3</friendlyName>\n <manufacturer>Sonos,
385
- Inc.</manufacturer>\n <manufacturerURL>http://www.sonos.com</manufacturerURL>\n
386
- \ <modelNumber>S3</modelNumber>\n <modelDescription>Sonos PLAY:3</modelDescription>\n
387
- \ <modelName>Sonos PLAY:3</modelName>\n <modelURL>http://www.sonos.com/products/zoneplayers/S3</modelURL>\n
388
- \ <softwareVersion>19.4-60120</softwareVersion>\n <hardwareVersion>1.8.1.2-1</hardwareVersion>\n
389
- \ <serialNum>00-0E-58-75-1A-4A:G</serialNum>\n <UDN>uuid:RINCON_000E58751A4A01400</UDN>\n
390
- \ <iconList>\n <icon>\n <id>0</id>\n <mimetype>image/png</mimetype>\n
391
- \ <width>48</width>\n <height>48</height>\n <depth>24</depth>\n
392
- \ <url>/img/icon-S3.png</url>\n </icon>\n </iconList>\n <minCompatibleVersion>19.4-00000</minCompatibleVersion>\n
393
- \ <displayVersion>3.8.4</displayVersion>\n <extraVersion>OTP: </extraVersion>\n
394
- \ <roomName>Bedroom</roomName>\n <displayName>PLAY:3</displayName>\n
395
- \ <zoneType>7</zoneType>\n <feature1>0x00000000</feature1>\n <feature2>0x00006332</feature2>\n
396
- \ <feature3>0x0000002a</feature3>\n <internalSpeakerSize>4</internalSpeakerSize>\n
397
- \ <serviceList>\n <service>\n <serviceType>urn:schemas-upnp-org:service:AlarmClock:1</serviceType>\n
398
- \ <serviceId>urn:upnp-org:serviceId:AlarmClock</serviceId>\n <controlURL>/AlarmClock/Control</controlURL>\n
399
- \ <eventSubURL>/AlarmClock/Event</eventSubURL>\n <SCPDURL>/xml/AlarmClock1.xml</SCPDURL>\n
400
- \ </service> \n <service>\n <serviceType>urn:schemas-upnp-org:service:MusicServices:1</serviceType>\n
401
- \ <serviceId>urn:upnp-org:serviceId:MusicServices</serviceId>\n <controlURL>/MusicServices/Control</controlURL>\n
402
- \ <eventSubURL>/MusicServices/Event</eventSubURL>\n <SCPDURL>/xml/MusicServices1.xml</SCPDURL>\n
403
- \ </service> \n <service>\n <serviceType>urn:schemas-upnp-org:service:DeviceProperties:1</serviceType>\n
404
- \ <serviceId>urn:upnp-org:serviceId:DeviceProperties</serviceId>\n <controlURL>/DeviceProperties/Control</controlURL>\n
405
- \ <eventSubURL>/DeviceProperties/Event</eventSubURL>\n <SCPDURL>/xml/DeviceProperties1.xml</SCPDURL>\n
406
- \ </service> \n <service>\n <serviceType>urn:schemas-upnp-org:service:SystemProperties:1</serviceType>\n
407
- \ <serviceId>urn:upnp-org:serviceId:SystemProperties</serviceId>\n <controlURL>/SystemProperties/Control</controlURL>\n
408
- \ <eventSubURL>/SystemProperties/Event</eventSubURL>\n <SCPDURL>/xml/SystemProperties1.xml</SCPDURL>\n
409
- \ </service> \n <service>\n <serviceType>urn:schemas-upnp-org:service:ZoneGroupTopology:1</serviceType>\n
410
- \ <serviceId>urn:upnp-org:serviceId:ZoneGroupTopology</serviceId>\n
411
- \ <controlURL>/ZoneGroupTopology/Control</controlURL>\n <eventSubURL>/ZoneGroupTopology/Event</eventSubURL>\n
412
- \ <SCPDURL>/xml/ZoneGroupTopology1.xml</SCPDURL>\n </service> \n
413
- \ <service>\n <serviceType>urn:schemas-upnp-org:service:GroupManagement:1</serviceType>\n
414
- \ <serviceId>urn:upnp-org:serviceId:GroupManagement</serviceId>\n <controlURL>/GroupManagement/Control</controlURL>\n
415
- \ <eventSubURL>/GroupManagement/Event</eventSubURL>\n <SCPDURL>/xml/GroupManagement1.xml</SCPDURL>\n
416
- \ </service>\n </serviceList>\n <deviceList>\n <device>\n <deviceType>urn:schemas-upnp-org:device:MediaServer:1</deviceType>\n
417
- \ <friendlyName>10.0.1.11 - Sonos PLAY:3 Media Server</friendlyName>\n <manufacturer>Sonos,
418
- Inc.</manufacturer>\n <manufacturerURL>http://www.sonos.com</manufacturerURL>\n
419
- \ <modelNumber>S3</modelNumber>\n <modelDescription>Sonos PLAY:3 Media Server</modelDescription>\n
420
- \ <modelName>Sonos PLAY:3</modelName>\n <modelURL>http://www.sonos.com/products/zoneplayers/S3</modelURL>\n
421
- \ <UDN>uuid:RINCON_000E58751A4A01400_MS</UDN>\n <serviceList>\n <service>\n
422
- \ <serviceType>urn:schemas-upnp-org:service:ContentDirectory:1</serviceType>\n
423
- \ <serviceId>urn:upnp-org:serviceId:ContentDirectory</serviceId>\n <controlURL>/MediaServer/ContentDirectory/Control</controlURL>\n
424
- \ <eventSubURL>/MediaServer/ContentDirectory/Event</eventSubURL>\n <SCPDURL>/xml/ContentDirectory1.xml</SCPDURL>\n
425
- \ </service>\n <service>\n <serviceType>urn:schemas-upnp-org:service:ConnectionManager:1</serviceType>\n\t
426
- \ <serviceId>urn:upnp-org:serviceId:ConnectionManager</serviceId>\n\t <controlURL>/MediaServer/ConnectionManager/Control</controlURL>\n\t
427
- \ <eventSubURL>/MediaServer/ConnectionManager/Event</eventSubURL>\n\t <SCPDURL>/xml/ConnectionManager1.xml</SCPDURL>\n\t
428
- \ </service>\n\t</serviceList>\n </device>\n <device>\n\t<deviceType>urn:schemas-upnp-org:device:MediaRenderer:1</deviceType>\n
429
- \ <friendlyName>Bedroom - Sonos PLAY:3 Media Renderer</friendlyName>\n <manufacturer>Sonos,
430
- Inc.</manufacturer>\n <manufacturerURL>http://www.sonos.com</manufacturerURL>\n
431
- \ <modelNumber>S3</modelNumber>\n <modelDescription>Sonos PLAY:3 Media Renderer</modelDescription>\n
432
- \ <modelName>Sonos PLAY:3</modelName>\n <modelURL>http://www.sonos.com/products/zoneplayers/S3</modelURL>\n\t<UDN>uuid:RINCON_000E58751A4A01400_MR</UDN>\n\t<serviceList>\n\t
433
- \ <service>\n\t <serviceType>urn:schemas-upnp-org:service:RenderingControl:1</serviceType>\n\t
434
- \ <serviceId>urn:upnp-org:serviceId:RenderingControl</serviceId>\n\t <controlURL>/MediaRenderer/RenderingControl/Control</controlURL>\n\t
435
- \ <eventSubURL>/MediaRenderer/RenderingControl/Event</eventSubURL>\n\t <SCPDURL>/xml/RenderingControl1.xml</SCPDURL>\n\t
436
- \ </service>\n\t <service>\n\t <serviceType>urn:schemas-upnp-org:service:ConnectionManager:1</serviceType>\n\t
437
- \ <serviceId>urn:upnp-org:serviceId:ConnectionManager</serviceId>\n\t <controlURL>/MediaRenderer/ConnectionManager/Control</controlURL>\n\t
438
- \ <eventSubURL>/MediaRenderer/ConnectionManager/Event</eventSubURL>\n\t
439
- \ <SCPDURL>/xml/ConnectionManager1.xml</SCPDURL>\n\t </service>\n\t <service>\n\t
440
- \ <serviceType>urn:schemas-upnp-org:service:AVTransport:1</serviceType>\n\t
441
- \ <serviceId>urn:upnp-org:serviceId:AVTransport</serviceId>\n\t <controlURL>/MediaRenderer/AVTransport/Control</controlURL>\n\t
442
- \ <eventSubURL>/MediaRenderer/AVTransport/Event</eventSubURL>\n\t <SCPDURL>/xml/AVTransport1.xml</SCPDURL>\n\t
443
- \ </service>\n\t</serviceList>\n <X_Rhapsody-Extension xmlns=\"http://www.real.com/rhapsody/xmlns/upnp-1-0\">\n
444
- \ <deviceID>urn:rhapsody-real-com:device-id-1-0:sonos_1:RINCON_000E58751A4A01400</deviceID>\n
445
- \ <deviceCapabilities>\n <interactionPattern type=\"real-rhapsody-upnp-1-0\"/>\n
446
- \ </deviceCapabilities>\n </X_Rhapsody-Extension>\n <iconList>\n
447
- \ <icon>\n <mimetype>image/png</mimetype>\n <width>48</width>\n
448
- \ <height>48</height>\n <depth>24</depth>\n <url>/img/icon-S3.png</url>\n
449
- \ </icon>\n </iconList>\n </device>\n </deviceList>\n
450
- \ </device>\n</root>\n"
451
- http_version: '1.1'
452
- recorded_at: Thu, 03 Jan 2013 07:23:38 GMT
453
- - request:
454
- method: get
455
- uri: http://10.0.1.9:1400/xml/device_description.xml
456
- body:
457
- encoding: US-ASCII
458
- string: ''
459
- headers:
460
- accept:
461
- - ! '*/*'
462
- user-agent:
463
- - Ruby
464
- response:
465
- status:
466
- code: 200
467
- message: OK
468
- headers:
469
- content-type:
470
- - text/xml
471
- transfer-encoding:
472
- - chunked
473
- connection:
474
- - close
475
- body:
476
- encoding: US-ASCII
477
- string: ! "<?xml version=\"1.0\" encoding=\"utf-8\" ?>\n<root xmlns=\"urn:schemas-upnp-org:device-1-0\">\n
478
- \ <specVersion>\n <major>1</major>\n <minor>0</minor>\n </specVersion>\n
479
- \ <device>\n <deviceType>urn:schemas-upnp-org:device:ZonePlayer:1</deviceType>\n
480
- \ <friendlyName>10.0.1.9 - Sonos CONNECT</friendlyName>\n <manufacturer>Sonos,
481
- Inc.</manufacturer>\n <manufacturerURL>http://www.sonos.com</manufacturerURL>\n
482
- \ <modelNumber>ZP90</modelNumber>\n <modelDescription>Sonos CONNECT</modelDescription>\n
483
- \ <modelName>Sonos CONNECT</modelName>\n <modelURL>http://www.sonos.com/products/zoneplayers/ZP90</modelURL>\n
484
- \ <softwareVersion>19.4-60120</softwareVersion>\n <hardwareVersion>1.16.5.5-1</hardwareVersion>\n
485
- \ <serialNum>00-0E-58-A3-6B-7C:6</serialNum>\n <UDN>uuid:RINCON_000E58A36B7C01400</UDN>\n
486
- \ <iconList>\n <icon>\n <id>0</id>\n <mimetype>image/png</mimetype>\n
487
- \ <width>48</width>\n <height>48</height>\n <depth>24</depth>\n
488
- \ <url>/img/icon-ZP90.png</url>\n </icon>\n </iconList>\n <minCompatibleVersion>19.4-00000</minCompatibleVersion>\n
489
- \ <displayVersion>3.8.4</displayVersion>\n <extraVersion>OTP: 1.1.1(1-16-5-zp90-0.8)</extraVersion>\n
490
- \ <roomName>Living Room</roomName>\n <displayName>CONNECT</displayName>\n
491
- \ <zoneType>1</zoneType>\n <feature1>0x00310001</feature1>\n <feature2>0x00006172</feature2>\n
492
- \ <feature3>0x00000021</feature3>\n <internalSpeakerSize>-1</internalSpeakerSize>\n
493
- \ <serviceList>\n <service>\n <serviceType>urn:schemas-upnp-org:service:AlarmClock:1</serviceType>\n
494
- \ <serviceId>urn:upnp-org:serviceId:AlarmClock</serviceId>\n <controlURL>/AlarmClock/Control</controlURL>\n
495
- \ <eventSubURL>/AlarmClock/Event</eventSubURL>\n <SCPDURL>/xml/AlarmClock1.xml</SCPDURL>\n
496
- \ </service> \n <service>\n <serviceType>urn:schemas-upnp-org:service:MusicServices:1</serviceType>\n
497
- \ <serviceId>urn:upnp-org:serviceId:MusicServices</serviceId>\n <controlURL>/MusicServices/Control</controlURL>\n
498
- \ <eventSubURL>/MusicServices/Event</eventSubURL>\n <SCPDURL>/xml/MusicServices1.xml</SCPDURL>\n
499
- \ </service> \n <service>\n <serviceType>urn:schemas-upnp-org:service:AudioIn:1</serviceType>\n
500
- \ <serviceId>urn:upnp-org:serviceId:AudioIn</serviceId>\n <controlURL>/AudioIn/Control</controlURL>\n
501
- \ <eventSubURL>/AudioIn/Event</eventSubURL>\n <SCPDURL>/xml/AudioIn1.xml</SCPDURL>\n
502
- \ </service>\n <service>\n <serviceType>urn:schemas-upnp-org:service:DeviceProperties:1</serviceType>\n
503
- \ <serviceId>urn:upnp-org:serviceId:DeviceProperties</serviceId>\n <controlURL>/DeviceProperties/Control</controlURL>\n
504
- \ <eventSubURL>/DeviceProperties/Event</eventSubURL>\n <SCPDURL>/xml/DeviceProperties1.xml</SCPDURL>\n
505
- \ </service> \n <service>\n <serviceType>urn:schemas-upnp-org:service:SystemProperties:1</serviceType>\n
506
- \ <serviceId>urn:upnp-org:serviceId:SystemProperties</serviceId>\n <controlURL>/SystemProperties/Control</controlURL>\n
507
- \ <eventSubURL>/SystemProperties/Event</eventSubURL>\n <SCPDURL>/xml/SystemProperties1.xml</SCPDURL>\n
508
- \ </service> \n <service>\n <serviceType>urn:schemas-upnp-org:service:ZoneGroupTopology:1</serviceType>\n
509
- \ <serviceId>urn:upnp-org:serviceId:ZoneGroupTopology</serviceId>\n
510
- \ <controlURL>/ZoneGroupTopology/Control</controlURL>\n <eventSubURL>/ZoneGroupTopology/Event</eventSubURL>\n
511
- \ <SCPDURL>/xml/ZoneGroupTopology1.xml</SCPDURL>\n </service> \n
512
- \ <service>\n <serviceType>urn:schemas-upnp-org:service:GroupManagement:1</serviceType>\n
513
- \ <serviceId>urn:upnp-org:serviceId:GroupManagement</serviceId>\n <controlURL>/GroupManagement/Control</controlURL>\n
514
- \ <eventSubURL>/GroupManagement/Event</eventSubURL>\n <SCPDURL>/xml/GroupManagement1.xml</SCPDURL>\n
515
- \ </service>\n </serviceList>\n <deviceList>\n <device>\n <deviceType>urn:schemas-upnp-org:device:MediaServer:1</deviceType>\n
516
- \ <friendlyName>10.0.1.9 - Sonos CONNECT Media Server</friendlyName>\n <manufacturer>Sonos,
517
- Inc.</manufacturer>\n <manufacturerURL>http://www.sonos.com</manufacturerURL>\n
518
- \ <modelNumber>ZP90</modelNumber>\n <modelDescription>Sonos CONNECT Media
519
- Server</modelDescription>\n <modelName>Sonos CONNECT</modelName>\n <modelURL>http://www.sonos.com/products/zoneplayers/ZP90</modelURL>\n
520
- \ <UDN>uuid:RINCON_000E58A36B7C01400_MS</UDN>\n <serviceList>\n <service>\n
521
- \ <serviceType>urn:schemas-upnp-org:service:ContentDirectory:1</serviceType>\n
522
- \ <serviceId>urn:upnp-org:serviceId:ContentDirectory</serviceId>\n <controlURL>/MediaServer/ContentDirectory/Control</controlURL>\n
523
- \ <eventSubURL>/MediaServer/ContentDirectory/Event</eventSubURL>\n <SCPDURL>/xml/ContentDirectory1.xml</SCPDURL>\n
524
- \ </service>\n <service>\n <serviceType>urn:schemas-upnp-org:service:ConnectionManager:1</serviceType>\n\t
525
- \ <serviceId>urn:upnp-org:serviceId:ConnectionManager</serviceId>\n\t <controlURL>/MediaServer/ConnectionManager/Control</controlURL>\n\t
526
- \ <eventSubURL>/MediaServer/ConnectionManager/Event</eventSubURL>\n\t <SCPDURL>/xml/ConnectionManager1.xml</SCPDURL>\n\t
527
- \ </service>\n\t</serviceList>\n </device>\n <device>\n\t<deviceType>urn:schemas-upnp-org:device:MediaRenderer:1</deviceType>\n
528
- \ <friendlyName>Living Room - Sonos CONNECT Media Renderer</friendlyName>\n
529
- \ <manufacturer>Sonos, Inc.</manufacturer>\n <manufacturerURL>http://www.sonos.com</manufacturerURL>\n
530
- \ <modelNumber>ZP90</modelNumber>\n <modelDescription>Sonos CONNECT Media
531
- Renderer</modelDescription>\n <modelName>Sonos CONNECT</modelName>\n <modelURL>http://www.sonos.com/products/zoneplayers/ZP90</modelURL>\n\t<UDN>uuid:RINCON_000E58A36B7C01400_MR</UDN>\n\t<serviceList>\n\t
532
- \ <service>\n\t <serviceType>urn:schemas-upnp-org:service:RenderingControl:1</serviceType>\n\t
533
- \ <serviceId>urn:upnp-org:serviceId:RenderingControl</serviceId>\n\t <controlURL>/MediaRenderer/RenderingControl/Control</controlURL>\n\t
534
- \ <eventSubURL>/MediaRenderer/RenderingControl/Event</eventSubURL>\n\t <SCPDURL>/xml/RenderingControl1.xml</SCPDURL>\n\t
535
- \ </service>\n\t <service>\n\t <serviceType>urn:schemas-upnp-org:service:ConnectionManager:1</serviceType>\n\t
536
- \ <serviceId>urn:upnp-org:serviceId:ConnectionManager</serviceId>\n\t <controlURL>/MediaRenderer/ConnectionManager/Control</controlURL>\n\t
537
- \ <eventSubURL>/MediaRenderer/ConnectionManager/Event</eventSubURL>\n\t
538
- \ <SCPDURL>/xml/ConnectionManager1.xml</SCPDURL>\n\t </service>\n\t <service>\n\t
539
- \ <serviceType>urn:schemas-upnp-org:service:AVTransport:1</serviceType>\n\t
540
- \ <serviceId>urn:upnp-org:serviceId:AVTransport</serviceId>\n\t <controlURL>/MediaRenderer/AVTransport/Control</controlURL>\n\t
541
- \ <eventSubURL>/MediaRenderer/AVTransport/Event</eventSubURL>\n\t <SCPDURL>/xml/AVTransport1.xml</SCPDURL>\n\t
542
- \ </service>\n\t</serviceList>\n <X_Rhapsody-Extension xmlns=\"http://www.real.com/rhapsody/xmlns/upnp-1-0\">\n
543
- \ <deviceID>urn:rhapsody-real-com:device-id-1-0:sonos_1:RINCON_000E58A36B7C01400</deviceID>\n
544
- \ <deviceCapabilities>\n <interactionPattern type=\"real-rhapsody-upnp-1-0\"/>\n
545
- \ </deviceCapabilities>\n </X_Rhapsody-Extension>\n <iconList>\n
546
- \ <icon>\n <mimetype>image/png</mimetype>\n <width>48</width>\n
547
- \ <height>48</height>\n <depth>24</depth>\n <url>/img/icon-ZP90.png</url>\n
548
- \ </icon>\n </iconList>\n </device>\n </deviceList>\n
549
- \ </device>\n</root>\n"
550
- http_version: '1.1'
551
- recorded_at: Thu, 03 Jan 2013 07:23:38 GMT
552
- - request:
553
- method: get
554
- uri: http://10.0.1.10:1400/xml/device_description.xml
555
- body:
556
- encoding: US-ASCII
557
- string: ''
558
- headers:
559
- accept:
560
- - ! '*/*'
561
- user-agent:
562
- - Ruby
563
- response:
564
- status:
565
- code: 200
566
- message: OK
567
- headers:
568
- content-type:
569
- - text/xml
570
- transfer-encoding:
571
- - chunked
572
- connection:
573
- - close
574
- body:
575
- encoding: US-ASCII
576
- string: ! "<?xml version=\"1.0\" encoding=\"utf-8\" ?>\n<root xmlns=\"urn:schemas-upnp-org:device-1-0\">\n
577
- \ <specVersion>\n <major>1</major>\n <minor>0</minor>\n </specVersion>\n
578
- \ <device>\n <deviceType>urn:schemas-upnp-org:device:ZonePlayer:1</deviceType>\n
579
- \ <friendlyName>10.0.1.10 - Sonos PLAY:3</friendlyName>\n <manufacturer>Sonos,
580
- Inc.</manufacturer>\n <manufacturerURL>http://www.sonos.com</manufacturerURL>\n
581
- \ <modelNumber>S3</modelNumber>\n <modelDescription>Sonos PLAY:3</modelDescription>\n
582
- \ <modelName>Sonos PLAY:3</modelName>\n <modelURL>http://www.sonos.com/products/zoneplayers/S3</modelURL>\n
583
- \ <softwareVersion>19.4-60120</softwareVersion>\n <hardwareVersion>1.8.1.2-1</hardwareVersion>\n
584
- \ <serialNum>00-0E-58-75-1A-46:C</serialNum>\n <UDN>uuid:RINCON_000E58751A4601400</UDN>\n
585
- \ <iconList>\n <icon>\n <id>0</id>\n <mimetype>image/png</mimetype>\n
586
- \ <width>48</width>\n <height>48</height>\n <depth>24</depth>\n
587
- \ <url>/img/icon-S3.png</url>\n </icon>\n </iconList>\n <minCompatibleVersion>19.4-00000</minCompatibleVersion>\n
588
- \ <displayVersion>3.8.4</displayVersion>\n <extraVersion>OTP: </extraVersion>\n
589
- \ <roomName>Bathroom</roomName>\n <displayName>PLAY:3</displayName>\n
590
- \ <zoneType>7</zoneType>\n <feature1>0x00000000</feature1>\n <feature2>0x00006332</feature2>\n
591
- \ <feature3>0x0000002a</feature3>\n <internalSpeakerSize>4</internalSpeakerSize>\n
592
- \ <serviceList>\n <service>\n <serviceType>urn:schemas-upnp-org:service:AlarmClock:1</serviceType>\n
593
- \ <serviceId>urn:upnp-org:serviceId:AlarmClock</serviceId>\n <controlURL>/AlarmClock/Control</controlURL>\n
594
- \ <eventSubURL>/AlarmClock/Event</eventSubURL>\n <SCPDURL>/xml/AlarmClock1.xml</SCPDURL>\n
595
- \ </service> \n <service>\n <serviceType>urn:schemas-upnp-org:service:MusicServices:1</serviceType>\n
596
- \ <serviceId>urn:upnp-org:serviceId:MusicServices</serviceId>\n <controlURL>/MusicServices/Control</controlURL>\n
597
- \ <eventSubURL>/MusicServices/Event</eventSubURL>\n <SCPDURL>/xml/MusicServices1.xml</SCPDURL>\n
598
- \ </service> \n <service>\n <serviceType>urn:schemas-upnp-org:service:DeviceProperties:1</serviceType>\n
599
- \ <serviceId>urn:upnp-org:serviceId:DeviceProperties</serviceId>\n <controlURL>/DeviceProperties/Control</controlURL>\n
600
- \ <eventSubURL>/DeviceProperties/Event</eventSubURL>\n <SCPDURL>/xml/DeviceProperties1.xml</SCPDURL>\n
601
- \ </service> \n <service>\n <serviceType>urn:schemas-upnp-org:service:SystemProperties:1</serviceType>\n
602
- \ <serviceId>urn:upnp-org:serviceId:SystemProperties</serviceId>\n <controlURL>/SystemProperties/Control</controlURL>\n
603
- \ <eventSubURL>/SystemProperties/Event</eventSubURL>\n <SCPDURL>/xml/SystemProperties1.xml</SCPDURL>\n
604
- \ </service> \n <service>\n <serviceType>urn:schemas-upnp-org:service:ZoneGroupTopology:1</serviceType>\n
605
- \ <serviceId>urn:upnp-org:serviceId:ZoneGroupTopology</serviceId>\n
606
- \ <controlURL>/ZoneGroupTopology/Control</controlURL>\n <eventSubURL>/ZoneGroupTopology/Event</eventSubURL>\n
607
- \ <SCPDURL>/xml/ZoneGroupTopology1.xml</SCPDURL>\n </service> \n
608
- \ <service>\n <serviceType>urn:schemas-upnp-org:service:GroupManagement:1</serviceType>\n
609
- \ <serviceId>urn:upnp-org:serviceId:GroupManagement</serviceId>\n <controlURL>/GroupManagement/Control</controlURL>\n
610
- \ <eventSubURL>/GroupManagement/Event</eventSubURL>\n <SCPDURL>/xml/GroupManagement1.xml</SCPDURL>\n
611
- \ </service>\n </serviceList>\n <deviceList>\n <device>\n <deviceType>urn:schemas-upnp-org:device:MediaServer:1</deviceType>\n
612
- \ <friendlyName>10.0.1.10 - Sonos PLAY:3 Media Server</friendlyName>\n <manufacturer>Sonos,
613
- Inc.</manufacturer>\n <manufacturerURL>http://www.sonos.com</manufacturerURL>\n
614
- \ <modelNumber>S3</modelNumber>\n <modelDescription>Sonos PLAY:3 Media Server</modelDescription>\n
615
- \ <modelName>Sonos PLAY:3</modelName>\n <modelURL>http://www.sonos.com/products/zoneplayers/S3</modelURL>\n
616
- \ <UDN>uuid:RINCON_000E58751A4601400_MS</UDN>\n <serviceList>\n <service>\n
617
- \ <serviceType>urn:schemas-upnp-org:service:ContentDirectory:1</serviceType>\n
618
- \ <serviceId>urn:upnp-org:serviceId:ContentDirectory</serviceId>\n <controlURL>/MediaServer/ContentDirectory/Control</controlURL>\n
619
- \ <eventSubURL>/MediaServer/ContentDirectory/Event</eventSubURL>\n <SCPDURL>/xml/ContentDirectory1.xml</SCPDURL>\n
620
- \ </service>\n <service>\n <serviceType>urn:schemas-upnp-org:service:ConnectionManager:1</serviceType>\n\t
621
- \ <serviceId>urn:upnp-org:serviceId:ConnectionManager</serviceId>\n\t <controlURL>/MediaServer/ConnectionManager/Control</controlURL>\n\t
622
- \ <eventSubURL>/MediaServer/ConnectionManager/Event</eventSubURL>\n\t <SCPDURL>/xml/ConnectionManager1.xml</SCPDURL>\n\t
623
- \ </service>\n\t</serviceList>\n </device>\n <device>\n\t<deviceType>urn:schemas-upnp-org:device:MediaRenderer:1</deviceType>\n
624
- \ <friendlyName>Bathroom - Sonos PLAY:3 Media Renderer</friendlyName>\n <manufacturer>Sonos,
625
- Inc.</manufacturer>\n <manufacturerURL>http://www.sonos.com</manufacturerURL>\n
626
- \ <modelNumber>S3</modelNumber>\n <modelDescription>Sonos PLAY:3 Media Renderer</modelDescription>\n
627
- \ <modelName>Sonos PLAY:3</modelName>\n <modelURL>http://www.sonos.com/products/zoneplayers/S3</modelURL>\n\t<UDN>uuid:RINCON_000E58751A4601400_MR</UDN>\n\t<serviceList>\n\t
628
- \ <service>\n\t <serviceType>urn:schemas-upnp-org:service:RenderingControl:1</serviceType>\n\t
629
- \ <serviceId>urn:upnp-org:serviceId:RenderingControl</serviceId>\n\t <controlURL>/MediaRenderer/RenderingControl/Control</controlURL>\n\t
630
- \ <eventSubURL>/MediaRenderer/RenderingControl/Event</eventSubURL>\n\t <SCPDURL>/xml/RenderingControl1.xml</SCPDURL>\n\t
631
- \ </service>\n\t <service>\n\t <serviceType>urn:schemas-upnp-org:service:ConnectionManager:1</serviceType>\n\t
632
- \ <serviceId>urn:upnp-org:serviceId:ConnectionManager</serviceId>\n\t <controlURL>/MediaRenderer/ConnectionManager/Control</controlURL>\n\t
633
- \ <eventSubURL>/MediaRenderer/ConnectionManager/Event</eventSubURL>\n\t
634
- \ <SCPDURL>/xml/ConnectionManager1.xml</SCPDURL>\n\t </service>\n\t <service>\n\t
635
- \ <serviceType>urn:schemas-upnp-org:service:AVTransport:1</serviceType>\n\t
636
- \ <serviceId>urn:upnp-org:serviceId:AVTransport</serviceId>\n\t <controlURL>/MediaRenderer/AVTransport/Control</controlURL>\n\t
637
- \ <eventSubURL>/MediaRenderer/AVTransport/Event</eventSubURL>\n\t <SCPDURL>/xml/AVTransport1.xml</SCPDURL>\n\t
638
- \ </service>\n\t</serviceList>\n <X_Rhapsody-Extension xmlns=\"http://www.real.com/rhapsody/xmlns/upnp-1-0\">\n
639
- \ <deviceID>urn:rhapsody-real-com:device-id-1-0:sonos_1:RINCON_000E58751A4601400</deviceID>\n
640
- \ <deviceCapabilities>\n <interactionPattern type=\"real-rhapsody-upnp-1-0\"/>\n
641
- \ </deviceCapabilities>\n </X_Rhapsody-Extension>\n <iconList>\n
642
- \ <icon>\n <mimetype>image/png</mimetype>\n <width>48</width>\n
643
- \ <height>48</height>\n <depth>24</depth>\n <url>/img/icon-S3.png</url>\n
644
- \ </icon>\n </iconList>\n </device>\n </deviceList>\n
645
- \ </device>\n</root>\n"
646
- http_version: '1.1'
647
- recorded_at: Thu, 03 Jan 2013 07:23:38 GMT
648
- - request:
649
- method: get
650
- uri: http://10.0.1.7:1400/xml/device_description.xml
651
- body:
652
- encoding: US-ASCII
653
- string: ''
654
- headers:
655
- accept:
656
- - ! '*/*'
657
- user-agent:
658
- - Ruby
659
- response:
660
- status:
661
- code: 200
662
- message: OK
663
- headers:
664
- content-type:
665
- - text/xml
666
- transfer-encoding:
667
- - chunked
668
- connection:
669
- - close
670
- body:
671
- encoding: US-ASCII
672
- string: ! "<?xml version=\"1.0\" encoding=\"utf-8\" ?>\n<root xmlns=\"urn:schemas-upnp-org:device-1-0\">\n
673
- \ <specVersion>\n <major>1</major>\n <minor>0</minor>\n </specVersion>\n
674
- \ <device>\n <deviceType>urn:schemas-upnp-org:device:ZonePlayer:1</deviceType>\n
675
- \ <friendlyName>10.0.1.7 - Sonos PLAY:3</friendlyName>\n <manufacturer>Sonos,
676
- Inc.</manufacturer>\n <manufacturerURL>http://www.sonos.com</manufacturerURL>\n
677
- \ <modelNumber>S3</modelNumber>\n <modelDescription>Sonos PLAY:3</modelDescription>\n
678
- \ <modelName>Sonos PLAY:3</modelName>\n <modelURL>http://www.sonos.com/products/zoneplayers/S3</modelURL>\n
679
- \ <softwareVersion>19.4-60120</softwareVersion>\n <hardwareVersion>1.8.1.2-1</hardwareVersion>\n
680
- \ <serialNum>00-0E-58-75-75-36:2</serialNum>\n <UDN>uuid:RINCON_000E5875753601400</UDN>\n
681
- \ <iconList>\n <icon>\n <id>0</id>\n <mimetype>image/png</mimetype>\n
682
- \ <width>48</width>\n <height>48</height>\n <depth>24</depth>\n
683
- \ <url>/img/icon-S3.png</url>\n </icon>\n </iconList>\n <minCompatibleVersion>19.4-00000</minCompatibleVersion>\n
684
- \ <displayVersion>3.8.4</displayVersion>\n <extraVersion>OTP: </extraVersion>\n
685
- \ <roomName>Bedroom</roomName>\n <displayName>PLAY:3</displayName>\n
686
- \ <zoneType>7</zoneType>\n <feature1>0x00000000</feature1>\n <feature2>0x00006332</feature2>\n
687
- \ <feature3>0x0000002a</feature3>\n <internalSpeakerSize>4</internalSpeakerSize>\n
688
- \ <serviceList>\n <service>\n <serviceType>urn:schemas-upnp-org:service:AlarmClock:1</serviceType>\n
689
- \ <serviceId>urn:upnp-org:serviceId:AlarmClock</serviceId>\n <controlURL>/AlarmClock/Control</controlURL>\n
690
- \ <eventSubURL>/AlarmClock/Event</eventSubURL>\n <SCPDURL>/xml/AlarmClock1.xml</SCPDURL>\n
691
- \ </service> \n <service>\n <serviceType>urn:schemas-upnp-org:service:MusicServices:1</serviceType>\n
692
- \ <serviceId>urn:upnp-org:serviceId:MusicServices</serviceId>\n <controlURL>/MusicServices/Control</controlURL>\n
693
- \ <eventSubURL>/MusicServices/Event</eventSubURL>\n <SCPDURL>/xml/MusicServices1.xml</SCPDURL>\n
694
- \ </service> \n <service>\n <serviceType>urn:schemas-upnp-org:service:DeviceProperties:1</serviceType>\n
695
- \ <serviceId>urn:upnp-org:serviceId:DeviceProperties</serviceId>\n <controlURL>/DeviceProperties/Control</controlURL>\n
696
- \ <eventSubURL>/DeviceProperties/Event</eventSubURL>\n <SCPDURL>/xml/DeviceProperties1.xml</SCPDURL>\n
697
- \ </service> \n <service>\n <serviceType>urn:schemas-upnp-org:service:SystemProperties:1</serviceType>\n
698
- \ <serviceId>urn:upnp-org:serviceId:SystemProperties</serviceId>\n <controlURL>/SystemProperties/Control</controlURL>\n
699
- \ <eventSubURL>/SystemProperties/Event</eventSubURL>\n <SCPDURL>/xml/SystemProperties1.xml</SCPDURL>\n
700
- \ </service> \n <service>\n <serviceType>urn:schemas-upnp-org:service:ZoneGroupTopology:1</serviceType>\n
701
- \ <serviceId>urn:upnp-org:serviceId:ZoneGroupTopology</serviceId>\n
702
- \ <controlURL>/ZoneGroupTopology/Control</controlURL>\n <eventSubURL>/ZoneGroupTopology/Event</eventSubURL>\n
703
- \ <SCPDURL>/xml/ZoneGroupTopology1.xml</SCPDURL>\n </service> \n
704
- \ <service>\n <serviceType>urn:schemas-upnp-org:service:GroupManagement:1</serviceType>\n
705
- \ <serviceId>urn:upnp-org:serviceId:GroupManagement</serviceId>\n <controlURL>/GroupManagement/Control</controlURL>\n
706
- \ <eventSubURL>/GroupManagement/Event</eventSubURL>\n <SCPDURL>/xml/GroupManagement1.xml</SCPDURL>\n
707
- \ </service>\n </serviceList>\n <deviceList>\n <device>\n <deviceType>urn:schemas-upnp-org:device:MediaServer:1</deviceType>\n
708
- \ <friendlyName>10.0.1.7 - Sonos PLAY:3 Media Server</friendlyName>\n <manufacturer>Sonos,
709
- Inc.</manufacturer>\n <manufacturerURL>http://www.sonos.com</manufacturerURL>\n
710
- \ <modelNumber>S3</modelNumber>\n <modelDescription>Sonos PLAY:3 Media Server</modelDescription>\n
711
- \ <modelName>Sonos PLAY:3</modelName>\n <modelURL>http://www.sonos.com/products/zoneplayers/S3</modelURL>\n
712
- \ <UDN>uuid:RINCON_000E5875753601400_MS</UDN>\n <serviceList>\n <service>\n
713
- \ <serviceType>urn:schemas-upnp-org:service:ContentDirectory:1</serviceType>\n
714
- \ <serviceId>urn:upnp-org:serviceId:ContentDirectory</serviceId>\n <controlURL>/MediaServer/ContentDirectory/Control</controlURL>\n
715
- \ <eventSubURL>/MediaServer/ContentDirectory/Event</eventSubURL>\n <SCPDURL>/xml/ContentDirectory1.xml</SCPDURL>\n
716
- \ </service>\n <service>\n <serviceType>urn:schemas-upnp-org:service:ConnectionManager:1</serviceType>\n\t
717
- \ <serviceId>urn:upnp-org:serviceId:ConnectionManager</serviceId>\n\t <controlURL>/MediaServer/ConnectionManager/Control</controlURL>\n\t
718
- \ <eventSubURL>/MediaServer/ConnectionManager/Event</eventSubURL>\n\t <SCPDURL>/xml/ConnectionManager1.xml</SCPDURL>\n\t
719
- \ </service>\n\t</serviceList>\n </device>\n <device>\n\t<deviceType>urn:schemas-upnp-org:device:MediaRenderer:1</deviceType>\n
720
- \ <friendlyName>Bedroom - Sonos PLAY:3 Media Renderer</friendlyName>\n <manufacturer>Sonos,
721
- Inc.</manufacturer>\n <manufacturerURL>http://www.sonos.com</manufacturerURL>\n
722
- \ <modelNumber>S3</modelNumber>\n <modelDescription>Sonos PLAY:3 Media Renderer</modelDescription>\n
723
- \ <modelName>Sonos PLAY:3</modelName>\n <modelURL>http://www.sonos.com/products/zoneplayers/S3</modelURL>\n\t<UDN>uuid:RINCON_000E5875753601400_MR</UDN>\n\t<serviceList>\n\t
724
- \ <service>\n\t <serviceType>urn:schemas-upnp-org:service:RenderingControl:1</serviceType>\n\t
725
- \ <serviceId>urn:upnp-org:serviceId:RenderingControl</serviceId>\n\t <controlURL>/MediaRenderer/RenderingControl/Control</controlURL>\n\t
726
- \ <eventSubURL>/MediaRenderer/RenderingControl/Event</eventSubURL>\n\t <SCPDURL>/xml/RenderingControl1.xml</SCPDURL>\n\t
727
- \ </service>\n\t <service>\n\t <serviceType>urn:schemas-upnp-org:service:ConnectionManager:1</serviceType>\n\t
728
- \ <serviceId>urn:upnp-org:serviceId:ConnectionManager</serviceId>\n\t <controlURL>/MediaRenderer/ConnectionManager/Control</controlURL>\n\t
729
- \ <eventSubURL>/MediaRenderer/ConnectionManager/Event</eventSubURL>\n\t
730
- \ <SCPDURL>/xml/ConnectionManager1.xml</SCPDURL>\n\t </service>\n\t <service>\n\t
731
- \ <serviceType>urn:schemas-upnp-org:service:AVTransport:1</serviceType>\n\t
732
- \ <serviceId>urn:upnp-org:serviceId:AVTransport</serviceId>\n\t <controlURL>/MediaRenderer/AVTransport/Control</controlURL>\n\t
733
- \ <eventSubURL>/MediaRenderer/AVTransport/Event</eventSubURL>\n\t <SCPDURL>/xml/AVTransport1.xml</SCPDURL>\n\t
734
- \ </service>\n\t</serviceList>\n <X_Rhapsody-Extension xmlns=\"http://www.real.com/rhapsody/xmlns/upnp-1-0\">\n
735
- \ <deviceID>urn:rhapsody-real-com:device-id-1-0:sonos_1:RINCON_000E5875753601400</deviceID>\n
736
- \ <deviceCapabilities>\n <interactionPattern type=\"real-rhapsody-upnp-1-0\"/>\n
737
- \ </deviceCapabilities>\n </X_Rhapsody-Extension>\n <iconList>\n
738
- \ <icon>\n <mimetype>image/png</mimetype>\n <width>48</width>\n
739
- \ <height>48</height>\n <depth>24</depth>\n <url>/img/icon-S3.png</url>\n
740
- \ </icon>\n </iconList>\n </device>\n </deviceList>\n
741
- \ </device>\n</root>\n"
742
- http_version: '1.1'
743
- recorded_at: Thu, 03 Jan 2013 07:23:38 GMT
744
- - request:
745
- method: get
746
- uri: http://10.0.1.11:1400/xml/device_description.xml
747
- body:
748
- encoding: US-ASCII
749
- string: ''
750
- headers:
751
- accept:
752
- - ! '*/*'
753
- user-agent:
754
- - Ruby
755
- response:
756
- status:
757
- code: 200
758
- message: OK
759
- headers:
760
- content-type:
761
- - text/xml
762
- transfer-encoding:
763
- - chunked
764
- connection:
765
- - close
766
- body:
767
- encoding: US-ASCII
768
- string: ! "<?xml version=\"1.0\" encoding=\"utf-8\" ?>\n<root xmlns=\"urn:schemas-upnp-org:device-1-0\">\n
769
- \ <specVersion>\n <major>1</major>\n <minor>0</minor>\n </specVersion>\n
770
- \ <device>\n <deviceType>urn:schemas-upnp-org:device:ZonePlayer:1</deviceType>\n
771
- \ <friendlyName>10.0.1.11 - Sonos PLAY:3</friendlyName>\n <manufacturer>Sonos,
772
- Inc.</manufacturer>\n <manufacturerURL>http://www.sonos.com</manufacturerURL>\n
773
- \ <modelNumber>S3</modelNumber>\n <modelDescription>Sonos PLAY:3</modelDescription>\n
774
- \ <modelName>Sonos PLAY:3</modelName>\n <modelURL>http://www.sonos.com/products/zoneplayers/S3</modelURL>\n
775
- \ <softwareVersion>19.4-60120</softwareVersion>\n <hardwareVersion>1.8.1.2-1</hardwareVersion>\n
776
- \ <serialNum>00-0E-58-75-1A-4A:G</serialNum>\n <UDN>uuid:RINCON_000E58751A4A01400</UDN>\n
777
- \ <iconList>\n <icon>\n <id>0</id>\n <mimetype>image/png</mimetype>\n
778
- \ <width>48</width>\n <height>48</height>\n <depth>24</depth>\n
779
- \ <url>/img/icon-S3.png</url>\n </icon>\n </iconList>\n <minCompatibleVersion>19.4-00000</minCompatibleVersion>\n
780
- \ <displayVersion>3.8.4</displayVersion>\n <extraVersion>OTP: </extraVersion>\n
781
- \ <roomName>Bedroom</roomName>\n <displayName>PLAY:3</displayName>\n
782
- \ <zoneType>7</zoneType>\n <feature1>0x00000000</feature1>\n <feature2>0x00006332</feature2>\n
783
- \ <feature3>0x0000002a</feature3>\n <internalSpeakerSize>4</internalSpeakerSize>\n
784
- \ <serviceList>\n <service>\n <serviceType>urn:schemas-upnp-org:service:AlarmClock:1</serviceType>\n
785
- \ <serviceId>urn:upnp-org:serviceId:AlarmClock</serviceId>\n <controlURL>/AlarmClock/Control</controlURL>\n
786
- \ <eventSubURL>/AlarmClock/Event</eventSubURL>\n <SCPDURL>/xml/AlarmClock1.xml</SCPDURL>\n
787
- \ </service> \n <service>\n <serviceType>urn:schemas-upnp-org:service:MusicServices:1</serviceType>\n
788
- \ <serviceId>urn:upnp-org:serviceId:MusicServices</serviceId>\n <controlURL>/MusicServices/Control</controlURL>\n
789
- \ <eventSubURL>/MusicServices/Event</eventSubURL>\n <SCPDURL>/xml/MusicServices1.xml</SCPDURL>\n
790
- \ </service> \n <service>\n <serviceType>urn:schemas-upnp-org:service:DeviceProperties:1</serviceType>\n
791
- \ <serviceId>urn:upnp-org:serviceId:DeviceProperties</serviceId>\n <controlURL>/DeviceProperties/Control</controlURL>\n
792
- \ <eventSubURL>/DeviceProperties/Event</eventSubURL>\n <SCPDURL>/xml/DeviceProperties1.xml</SCPDURL>\n
793
- \ </service> \n <service>\n <serviceType>urn:schemas-upnp-org:service:SystemProperties:1</serviceType>\n
794
- \ <serviceId>urn:upnp-org:serviceId:SystemProperties</serviceId>\n <controlURL>/SystemProperties/Control</controlURL>\n
795
- \ <eventSubURL>/SystemProperties/Event</eventSubURL>\n <SCPDURL>/xml/SystemProperties1.xml</SCPDURL>\n
796
- \ </service> \n <service>\n <serviceType>urn:schemas-upnp-org:service:ZoneGroupTopology:1</serviceType>\n
797
- \ <serviceId>urn:upnp-org:serviceId:ZoneGroupTopology</serviceId>\n
798
- \ <controlURL>/ZoneGroupTopology/Control</controlURL>\n <eventSubURL>/ZoneGroupTopology/Event</eventSubURL>\n
799
- \ <SCPDURL>/xml/ZoneGroupTopology1.xml</SCPDURL>\n </service> \n
800
- \ <service>\n <serviceType>urn:schemas-upnp-org:service:GroupManagement:1</serviceType>\n
801
- \ <serviceId>urn:upnp-org:serviceId:GroupManagement</serviceId>\n <controlURL>/GroupManagement/Control</controlURL>\n
802
- \ <eventSubURL>/GroupManagement/Event</eventSubURL>\n <SCPDURL>/xml/GroupManagement1.xml</SCPDURL>\n
803
- \ </service>\n </serviceList>\n <deviceList>\n <device>\n <deviceType>urn:schemas-upnp-org:device:MediaServer:1</deviceType>\n
804
- \ <friendlyName>10.0.1.11 - Sonos PLAY:3 Media Server</friendlyName>\n <manufacturer>Sonos,
805
- Inc.</manufacturer>\n <manufacturerURL>http://www.sonos.com</manufacturerURL>\n
806
- \ <modelNumber>S3</modelNumber>\n <modelDescription>Sonos PLAY:3 Media Server</modelDescription>\n
807
- \ <modelName>Sonos PLAY:3</modelName>\n <modelURL>http://www.sonos.com/products/zoneplayers/S3</modelURL>\n
808
- \ <UDN>uuid:RINCON_000E58751A4A01400_MS</UDN>\n <serviceList>\n <service>\n
809
- \ <serviceType>urn:schemas-upnp-org:service:ContentDirectory:1</serviceType>\n
810
- \ <serviceId>urn:upnp-org:serviceId:ContentDirectory</serviceId>\n <controlURL>/MediaServer/ContentDirectory/Control</controlURL>\n
811
- \ <eventSubURL>/MediaServer/ContentDirectory/Event</eventSubURL>\n <SCPDURL>/xml/ContentDirectory1.xml</SCPDURL>\n
812
- \ </service>\n <service>\n <serviceType>urn:schemas-upnp-org:service:ConnectionManager:1</serviceType>\n\t
813
- \ <serviceId>urn:upnp-org:serviceId:ConnectionManager</serviceId>\n\t <controlURL>/MediaServer/ConnectionManager/Control</controlURL>\n\t
814
- \ <eventSubURL>/MediaServer/ConnectionManager/Event</eventSubURL>\n\t <SCPDURL>/xml/ConnectionManager1.xml</SCPDURL>\n\t
815
- \ </service>\n\t</serviceList>\n </device>\n <device>\n\t<deviceType>urn:schemas-upnp-org:device:MediaRenderer:1</deviceType>\n
816
- \ <friendlyName>Bedroom - Sonos PLAY:3 Media Renderer</friendlyName>\n <manufacturer>Sonos,
817
- Inc.</manufacturer>\n <manufacturerURL>http://www.sonos.com</manufacturerURL>\n
818
- \ <modelNumber>S3</modelNumber>\n <modelDescription>Sonos PLAY:3 Media Renderer</modelDescription>\n
819
- \ <modelName>Sonos PLAY:3</modelName>\n <modelURL>http://www.sonos.com/products/zoneplayers/S3</modelURL>\n\t<UDN>uuid:RINCON_000E58751A4A01400_MR</UDN>\n\t<serviceList>\n\t
820
- \ <service>\n\t <serviceType>urn:schemas-upnp-org:service:RenderingControl:1</serviceType>\n\t
821
- \ <serviceId>urn:upnp-org:serviceId:RenderingControl</serviceId>\n\t <controlURL>/MediaRenderer/RenderingControl/Control</controlURL>\n\t
822
- \ <eventSubURL>/MediaRenderer/RenderingControl/Event</eventSubURL>\n\t <SCPDURL>/xml/RenderingControl1.xml</SCPDURL>\n\t
823
- \ </service>\n\t <service>\n\t <serviceType>urn:schemas-upnp-org:service:ConnectionManager:1</serviceType>\n\t
824
- \ <serviceId>urn:upnp-org:serviceId:ConnectionManager</serviceId>\n\t <controlURL>/MediaRenderer/ConnectionManager/Control</controlURL>\n\t
825
- \ <eventSubURL>/MediaRenderer/ConnectionManager/Event</eventSubURL>\n\t
826
- \ <SCPDURL>/xml/ConnectionManager1.xml</SCPDURL>\n\t </service>\n\t <service>\n\t
827
- \ <serviceType>urn:schemas-upnp-org:service:AVTransport:1</serviceType>\n\t
828
- \ <serviceId>urn:upnp-org:serviceId:AVTransport</serviceId>\n\t <controlURL>/MediaRenderer/AVTransport/Control</controlURL>\n\t
829
- \ <eventSubURL>/MediaRenderer/AVTransport/Event</eventSubURL>\n\t <SCPDURL>/xml/AVTransport1.xml</SCPDURL>\n\t
830
- \ </service>\n\t</serviceList>\n <X_Rhapsody-Extension xmlns=\"http://www.real.com/rhapsody/xmlns/upnp-1-0\">\n
831
- \ <deviceID>urn:rhapsody-real-com:device-id-1-0:sonos_1:RINCON_000E58751A4A01400</deviceID>\n
832
- \ <deviceCapabilities>\n <interactionPattern type=\"real-rhapsody-upnp-1-0\"/>\n
833
- \ </deviceCapabilities>\n </X_Rhapsody-Extension>\n <iconList>\n
834
- \ <icon>\n <mimetype>image/png</mimetype>\n <width>48</width>\n
835
- \ <height>48</height>\n <depth>24</depth>\n <url>/img/icon-S3.png</url>\n
836
- \ </icon>\n </iconList>\n </device>\n </deviceList>\n
837
- \ </device>\n</root>\n"
838
- http_version: '1.1'
839
- recorded_at: Thu, 03 Jan 2013 07:23:38 GMT
840
- recorded_with: VCR 2.3.0