a tiny and smart cli player of douban.fm in Node.js
MIT License
Node.js
[WIP] master
ES6 npm .
NPM
$ [sudo] npm install douban.fm -g
$ [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
Python
2.xNode-gyp
xcode
xcodebuild
command line tools
xcode
xcode
node-speaker
node-speaker
libasound2
sudo apt-get install libasound2-dev
fedora yum install alsa-lib-devel
C:\Python27
Windows c++ addons Node.js
$ 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 mp3pro 192kbps pro
>= 0.1.2
R
>= 0.1.2
>= 0.1.2
ID3 iTunes ffmpeg
ffmpeg command-line tool libav fork
HTTPhttp://IP_ADDRESS:PORT
player
#2
term-list-enhanced
$ 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
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.
built upon love by docor v0.1.2