Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chenminhua/netsound
网易云音药
https://github.com/chenminhua/netsound
Last synced: about 2 months ago
JSON representation
网易云音药
- Host: GitHub
- URL: https://github.com/chenminhua/netsound
- Owner: chenminhua
- Archived: true
- Created: 2016-08-17T05:53:29.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2016-08-17T10:14:29.000Z (about 8 years ago)
- Last Synced: 2024-07-16T14:06:36.650Z (2 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的歌曲,播放完成后自动播放下一首。![U2](screen.png)
## problems
有很多歌在终端放不出来,可能是有些歌只能在客户端听(收费问题)有些歌手专辑太多了,全抓有时候比较慢,代码里只抓了前几张专辑。
## record
[简书](http://www.jianshu.com/p/116acbd568ec)## thanks
api部分使用了[网易云api](https://github.com/Binaryify/NeteaseCloudMusicApi/blob/master/LICENSE)中的部分代码,但是异步操作部分 将callback全部换成了promise,以方便链式调用。