/add-to-sonos-queue

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

Primary LanguageJavaScriptMIT LicenseMIT

Add to Sonos Queue

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

Flattr this git repo

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
  • http://*/MediaRenderer/AVTransport/Control - needed for sending the soundcloud 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 soundcloud 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 and browserify.

Install Grunt and plugins with npm install.

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

Use the Chrome Apps & Extensions Developer Tool to load dist/ as unpacked extension.

Thanks to

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

License

MIT