lib/sonos/endpoint/content_directory.rb in sonos-0.3.3 vs lib/sonos/endpoint/content_directory.rb in sonos-0.3.4
- 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
+ @content_directory_client ||= Savon.client endpoint: "http://#{self.ip}:#{Sonos::PORT}#{CONTENT_DIRECTORY_ENDPOINT}", namespace: Sonos::NAMESPACE, log_level: :error
end
def parse_items(string)
result = []
doc = Nokogiri::XML(string)