douban.fm

a tiny and smart cli player of douban.fm in Node.js

MIT License

Stars
1.6K

douban.fm

Node.js

[WIP] master ES6 npm .

  • PRO
  • ID3
  • HTTP

NPM

$ [sudo] npm install douban.fm -g

cnpm

$ [sudo] npm install douban.fm -g \
         --disturl=http://dist.u.qiniudn.com \
         --registry=http://r.cnpmjs.org

Git

$ [sudo] npm install git://github.com/turingou/douban.fm.git -g \
         --disturl=http://dist.u.qiniudn.com \
         --registry=http://r.cnpmjs.org

speaker Mac OSX

Linux & Mac OSX

  • Python 2.x
  • Node-gyp
  • xcode xcodebuild command line tools
  • xcode xcode
  • Mac OSX node-speaker node-speaker
  • sudo sudo
  • Linux libasound2 sudo apt-get install libasound2-devfedora yum install alsa-lib-devel

Windows

Windows c++ addons Node.js

issue

$ douban.fm

~/.douban.fm.profile.json >= 0.1.2 ~/douban.fm

$ douban.fm config

[return]      - >      (PLAY)
[backspace]   - >      (DELETE)
[n]           - >      (NEXT)
[l]           - >      (LOVE)
[s]           - >      (SHARE)
[r]           - >      (LRC)
[g]           - >      (GOTO)
[q]           - >      (QUIT)
$ douban.fm help

Pro

pro mp3pro 192kbps pro

>= 0.1.2 R

>= 0.1.2

ID3

>= 0.1.2 ID3 iTunes ffmpeg ffmpeg command-line tool libav fork

HTTP

HTTPhttp://IP_ADDRESS:PORT

SDK douban-sdk ./libs/sdk.js

(Mocha)

$ git clone https://github.com/turingou/douban.fm.git
$ cd douban.fm
$ npm install --disturl=http://dist.u.qiniudn.com --registry=http://r.cnpmjs.org
$ npm test

MIT license

Copyright (c) 2013 turing <[email protected]>

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.


docor built upon love by docor v0.1.2