Skip to content

Latest commit

 

History

History
50 lines (37 loc) · 1.85 KB

README.md

File metadata and controls

50 lines (37 loc) · 1.85 KB

Add to Sonos Queue

Chrome Extension that adds the ability to add tracks and playlists from SoundCloud and hearthis.at straight to your Sonos queue.

Screenshot

Download

Get it from the Chrome Web Store:

Available in the Chrome Web Store

Permissions

  • https://api.soundcloud.com/* - connection to the soundcloud api to get track information
  • https://api-v2.hearthis.at/* - connection to the hearthis.at api to get track information
  • http://*/MediaRenderer/AVTransport/Control - needed for sending the track to your sonos
  • http://*/xml/device_description.xml - needed to test if the entered player ip is a sonos device
  • declarativeContent - triggers the visibility of the button only on soundcloud.com
  • activeTab - reads the track url if the button was clicked

Ideas

  • Add support for different rooms/zones
  • Autodiscovery (chrome.sockets.udp must be first available to extensions)

Development

Install node.js.

Install Grunt and plugins with npm install.

Change things in src, use grunt to compile and copy to dist/.

Use the Chrome Extension Settings at chrome://extensions to load dist/ as unpacked extension.

Thanks to

node-sonos, Browserify, browser-request, chrome-bootstrap, zepto.js, mutation-summary

License

MIT