lmj-tunes

A music player using node.js and backbone.js.

npm install lmj-tunes
4 downloads in the last month

express-tunes

A web utility for playing local sound files, alpha version.

Installation

With npm

npm install lmj-tunes

Running

Do the usual express magic :

coffee ./main.coffee [MUSIC]

And a server will be listening on your machine. Connect to http://localhost:3000 and you'll be off and running !

Importing

The first time you run the server, it will recursively import your music files from MUSIC, or from ~/Music if you don't provide a directory when you run the server.

Be forewarned, if you have more than a few hundred music files, it's a pain to import all of them. You'll probably need to run the server multiple times, because taglib will run out of available file handles. Just keep starting up the server until it stops dying, and in the meantime if anyone has patches for cleaning up file handles opened by taglib, please fork and send a pull request.

License

(The MIT License)

Copyright (c) 2011-2012 Leif Johnson <leif@leifjohnson.net>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

npm loves you