Skip to content

fiepi/musicbox

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NetEase-MusicBox

感谢为 MusicBox 的开发付出过努力的每一个人!

高品质网易云音乐命令行版本,简洁优雅,丝般顺滑,基于Python编写。

Software License versions platform

NetEase-MusicBox

功能特性

  1. 320kbps的高品质音乐
  2. 歌曲,艺术家,专辑检索
  3. 网易22个歌曲排行榜
  4. 网易新碟推荐
  5. 网易精选歌单
  6. 网易DJ节目
  7. 私人歌单,每日推荐
  8. 随心打碟
  9. 本地收藏,随时加❤
  10. 播放进度及播放模式显示
  11. 现在播放及桌面歌词显示
  12. Vimer式快捷键让操作丝般顺滑
  13. 可使用数字快捷键
  14. 可使用自定义全局快捷键

键盘快捷键

J Down 下移
K Up 上移
H Back 后退
L Forword 前进
U Prev page 上一页
D Next page 下一页
F Search 快速搜索
[ Prev song 上一曲
] Next song 下一曲
= Volume + 音量增加
- Volume - 音量减少
Space Play/Pause 播放/暂停
? Shuffle 手气不错
M Menu 主菜单
P Present/History 当前/历史播放列表
I Music Info 当前音乐信息
⇧+P Playing Mode 播放模式切换
A Add 添加曲目到打碟
Z DJ list 打碟列表
S Star 添加到收藏
C Collection 收藏列表
R Remove 删除当前条目
⇧+J Move Down 向下移动当前项目
⇧+K Move Up 向上移动当前项目
⇧+C Cache 缓存歌曲到本地
, Like 喜爱
. Trash FM 删除 FM
/ Next FM 下一FM
Q Quit 退出
W Quit&Clear 退出并清除用户信息

Mac安装

$ sudo pip install NetEase-MusicBox

$ brew install mpg123

Linux安装

Ubuntu/Debian

$ sudo pip2 install NetEase-MusicBox

$ sudo apt-get install mpg123

Arch Linux

$ pacaur -S netease-musicbox-git

可选功能依赖 && 配置文件

  1. aria2 用于缓存歌曲
  2. python-keybinder 用于支持全局快捷键
  3. libnotify-bin 用于支持消息提示
  4. pyqt python-dbus dbus qt 用于支持桌面歌词 (Mac 用户需要 brew install qt --with-d-bus 获取支持 DBus 的 Qt)

配置文件地址: ~/.netease-musicbox 可配置缓存,快捷键,消息,歌词
由于歌曲 API 只接受中国大陆地区访问,港澳台及海外用户请自行在config.json中设置代理

"mpg123_parameters": {
    "default": [],
    "describe": "The additional parameters when mpg123 start.",
    "value": ["-p", "http://ip:port"]
}

已测试的系统兼容列表

OS X 10.11 / 10.10 / 10.9
Ubuntu 14.04
Kali 1.1.0 / 2.0 / Rolling
CentOS 7
openSUSE 13.2
Fedora 22
Arch Rolling

错误处理

  1. pkg_resources.DistributionNotFound: requests

    $ sudo pip install requests

    如果是运行 $ musicbox 出错

    $ sudo pip install --upgrade setuptools

  2. pip: Command not found

    $ sudo apt-get install python-pip

  3. ImportError: No module named setuptools

    $ sudo easy_install pip

    $ sudo apt-get install python-setuptools

使用

$ musicbox

Enjoy it !

更新日志

2016-03-25 版本 0.2.2.1 桌面歌词可置顶或隐藏边框

2016-03-25 版本 0.2.2.0 新增桌面歌词功能

2016-03-10 版本 0.2.1.6 已知错误修复,代码优化

2016-03-02 版本 0.2.1.4 新增自动签到功能

2016-02-29 版本 0.2.1.3 修复离线错误

2016-02-25 版本 0.2.1.2 增加歌词翻译开关

2016-02-19 版本 0.2.1.1 已知错误修复

2016-02-10 版本 0.2.1.0 新增外文歌曲歌词翻译显示

2015-12-31 版本 0.2.0.8 修复每日推荐因 API 更换导致的错误

2015-12-13 版本 0.2.0.7 优化歌曲提醒显示

2015-12-02 版本 0.2.0.6 新增手动缓存功能

2015-11-28 版本 0.2.0.5 已知错误修复

2015-11-10 版本 0.2.0.4 优化切换歌曲时歌单显示, 新增显示歌曲信息功能

2015-11-09 版本 0.2.0.2 修复崩溃错误, 优化榜单排序

2015-11-05 版本 0.2.0.1 优化列表翻页功能

2015-10-31 版本 0.2.0.0 新增部分操作的提醒功能

2015-10-28 版本 0.1.9.9 修复缓存链接过期问题

2015-10-17 版本 0.1.9.8 新增歌曲播放提醒开关

2015-10-14 版本 0.1.9.7 新增歌曲播放提醒

2015-10-13 版本 0.1.9.6 修复因 cookie 过期导致的登陆问题

2015-10-13 版本 0.1.9.5 新增自定义全局快捷键功能

2015-09-25 版本 0.1.9.4 修复部分列表无法暂停问题

[更多>>](Change Log.md)

The MIT License (MIT)

CopyRight (c) 2015 omi <4399.omi@gmail.com>

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.

About

网易云音乐命令行版本

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%