I wrote a really simple app (https://github.com/skinnyfit/tastebud) with this great gem, and it was working perfectly for a few days... then today, while running, it suddenly crashed with this error message:
/path/to/gems/sonos-0.3.5/lib/sonos/endpoint/content_directory.rb:24:in `queue': undefined method `browse' for #<Sonos::Device::Speaker:0x007f8e44223448> (NoMethodError)
Any call to speaker.queue is triggering this error.
I have no idea why this suddenly started happening (maybe Sonos updated itself?), but it's stopped working altogether now. I attempted to start debugging by looking at lib/sonos/endpoint/content_directory.rb:24, but there is no method browse in that class... in fact, I searched the whole repo for def browse, but no dice.
Any ideas what might be causing this error (or failing that, where browse is defined so I can investigate)?
Hi,
I wrote a really simple app (https://github.com/skinnyfit/tastebud) with this great gem, and it was working perfectly for a few days... then today, while running, it suddenly crashed with this error message:
Any call to
speaker.queue
is triggering this error.I have no idea why this suddenly started happening (maybe Sonos updated itself?), but it's stopped working altogether now. I attempted to start debugging by looking at
lib/sonos/endpoint/content_directory.rb:24
, but there is no methodbrowse
in that class... in fact, I searched the whole repo fordef browse
, but no dice.Any ideas what might be causing this error (or failing that, where
browse
is defined so I can investigate)?Cheers! – Richard