robbi5 / add-to-sonos-queue

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

License:MIT License


Languages

Language:JavaScript 72.8%Language:CSS 19.8%Language:HTML 7.4%