https://github.com/chenminhua/netsound
网易云音药
https://github.com/chenminhua/netsound
Last synced: 3 months ago
JSON representation
网易云音药
- Host: GitHub
- URL: https://github.com/chenminhua/netsound
- Owner: chenminhua
- Archived: true
- Created: 2016-08-17T05:53:29.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-08-17T10:14:29.000Z (over 8 years ago)
- Last Synced: 2024-08-03T11:02:36.136Z (7 months ago)
- Language: JavaScript
- Homepage:
- Size: 20.5 KB
- Stars: 21
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
## description
一个命令行听网易云音乐的工具## pre-installation
```bash
# mac
brew install mplayer# ubuntu
sudo apt-get install mplayer
```## installation
```bash
npm install netsound -g
```## usage
```
netsound U2
```
会随机播放U2的歌曲,播放完成后自动播放下一首。
## problems
有很多歌在终端放不出来,可能是有些歌只能在客户端听(收费问题)有些歌手专辑太多了,全抓有时候比较慢,代码里只抓了前几张专辑。
## record
[简书](http://www.jianshu.com/p/116acbd568ec)## thanks
api部分使用了[网易云api](https://github.com/Binaryify/NeteaseCloudMusicApi/blob/master/LICENSE)中的部分代码,但是异步操作部分 将callback全部换成了promise,以方便链式调用。