A Dashing widget to add live twitch streams to your dashboard.
Note that this is not really a productive widget (unless you are a streamer, I suppose). Our's is in the break room with weather and news widgets.
Make a folder called 'twitch' in your widgets directory. Add twitch.html and twitch.coffee to the twitch folder.
Add the widget HTML to your dashboard
<li data-row="1" data-col="1" data-sizex="3" data-sizey="2">
<div data-id="twitch" data-view="Twitch"></div>
</li>
Use the following to switch channels:
curl -d '{ "auth_token": "YOUR_AUTH_TOKEN", "channel": "CHANNELNAME" }' \http://host:3030/widgets/twitch
if you have curl for windows in your path, you can use the batch file to make it easy!
Sweet! Any way to mute the audio?