sonos2youtube
v1.0.0
Published
Plays YouTube videos for the current Sonos track.
Downloads
14
Readme
sonos2youtube
Plays YouTube videos for the current Sonos track in Chrome.
Usage (OSX)
Create a server API key for use with the YouTube API. For more info, see the relevant Google developer docs.
Make sure Chrome is completely shut down.
$ /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222
$ npm install
$ node index.js --key=YOUR_API_KEY
Grab a beer.
Options
Tips
This module is a lot of fun for situations where you're using Sonos as a jukebox, with lots of people adding music to the queue. Audio and video will never be perfectly synced -- that's not the goal of this module.
For best results while using this module:
- Log into YouTube with an account that can view age restricted videos.
- Block preroll ads on YouTube.
- Mute your Mac's audio.
- Be intoxicated.
License
MIT