lib/sonos/endpoint/content_directory.rb in sonos-0.3.4 vs lib/sonos/endpoint/content_directory.rb in sonos-0.3.5
- old
+ new
@@ -29,10 +29,10 @@
end
private
def content_directory_client
- @content_directory_client ||= Savon.client endpoint: "http://#{self.ip}:#{Sonos::PORT}#{CONTENT_DIRECTORY_ENDPOINT}", namespace: Sonos::NAMESPACE, log_level: :error
+ @content_directory_client ||= Savon.client endpoint: "http://#{self.ip}:#{Sonos::PORT}#{CONTENT_DIRECTORY_ENDPOINT}", namespace: Sonos::NAMESPACE, log: Sonos.logging_enabled
end
def parse_items(string)
result = []
doc = Nokogiri::XML(string)