Experimental desktop app to show the functionality of the Beats Music developer API. There are several known issues** but please feel free to create pull requests to fix them!
Head to developer.beatsmusic.com and apply for a partner key.
Download the latest version of Flash. (Even if you are on a mac. Trust me, I know.)
$ git clone [email protected]:Beats-Music/node-webkit-miniplayer.git
$ cd node-webkit-miniplayer
$ npm install
$ cat config.example >> config.js
$ npm install nodewebkit -g
Add your keys to config.js that you received from the Beats Music developer portal then you can start the app.
$ nodewebkit
The app should now run in its own window. To change how the window appears you can modify the package.json.
You can use a grunt task documented here. This is already included in the Gruntfile.js.
$ grunt releasebuild
This will create a folder called build. Inside of that folder will be the .app file for mac. Show the contents of the .app and go into the app.nw directory. Copy all assets from the root of the beats-music-desktop (except the build directory) directory into here and run the app.
Until a compile script is written for the JavaScript this is the best way to go.
- Flash doesn't load. Try running nw-trust-flash.
- Going back and forth from search to player kills audio.
- Tracklist not fully tested.
- Broken image failovers.
See the LICENSE file for license rights and limitations (BSD-3-Clause).
Enjoy!