I'll never say it enough: Chrome Apps APIs are wonderful. And the best way to show it is by example. So today, here's Music Remote Controller, a simple Chrome App that takes advantage of the chrome.storage API, a module to store, retrieve, and track changes to user data.

As usual, I wanted to write as little code as possible and creating something useful in the mean time. In this case, this Chrome App lets you remotely control your own Play Music session.  

The sync logic is about 50 lines of JavaScript and easily understandable:
1. The remote (on computer #1) sends synced player commands
2. The player (on computer #2) handles them to a simple embed webview

Have a look at https://drive.google.com/folderview?id=0B8R1QvA3x5IbVDQ1LU9Ga0tNVmM&usp=sharing#list and read the official documentation at http://developer.chrome.com/trunk/apps/storage.html to learn more about it.

Music Remote Controller requires Chrome 29 minimum and is available now on the Chrome Web Store at https://chrome.google.com/webstore/detail/music-remote-controller/gmhckdciddcokfjlnbglojpfgkblhfgc
Shared publiclyView activity