Skip to content

Beats-Music/node-webkit-miniplayer

Repository files navigation

Beats Music Desktop Node-Webkit

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!

How do I run this?

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.

How do I build this as a Mac OSX app?

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.

Dependencies

** Known Issues

  • 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.

License

See the LICENSE file for license rights and limitations (BSD-3-Clause).

Enjoy!

About

Beats Music desktop player showcasing the developer API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published