Thanks to everyone who has worked hard on the development of MusicBox!
High-quality NetEase Cloud Music command line version, simple, elegant, silky smooth, written based on Python.
Shortcut keys with the word num + can be modified with numbers. The key sequence is to enter the number first and then the modified key, that is, the shortcut key after num +.
Key | Effect | |
---|---|---|
j | Down | move down |
k | Up | move up |
num+ j | Quick Jump | Quickly jump backward n times |
num+ k | Quick Up | Quickly jump forward n times |
h | Back | Back |
l | Forword | go ahead |
u | Prev Page | Previous page |
d | Next Page | Next page |
f | Search | Fuzzy search of current list |
[ | Prev Song | Previous song |
] | Next Song | next song |
num + [ | Quick Prev Song | Quick first n words |
num + ] | Quick Next Song | Quickly follow n words |
num+ Shift + g | Index for Song | Jump to the nth song |
= | Volume + | volume increase |
- | Volume - | volume decrease |
Space | Play/Pause | play/pause |
? | Shuffle | I'm lucky |
m | Menu | Main menu |
p | Present/History | Current/historical playlist |
i | Music Info | Current music information |
Shift + p | Playing Mode | Play mode switch |
a | Add | Add tracks to DJing |
Shift + a | Enter Album | Go to album |
g | To the First | Skip to first item |
Shift + g | To the End | Skip to last item |
z | DJ List | DJ list |
s | Star | add to favorites |
c | Collection | favorite list |
r | Remove | Delete current entry |
Shift + j | Move Down | Move current item down |
Shift + k | Move Up | Move current item up |
Shift + c | Cache | Caching songs locally |
, | Like | favorite |
. | Trash FM | Delete FM |
/ | Next FM | Next FM |
q | Quit | quit |
t | Timing Exit | Exit regularly |
w | Quit & Clear | Exit and clear user information |
mpg123
is used to play songs. Please refer to the instructions below for the installation method.python-fuzzywuzzy
for fuzzy searcharia2
is used to cache songslibnotify-bin
is used to support message prompts (Linux platform)qtpy python-dbus dbus qt
is used to support desktop lyrics (any one of pyqt4 pyqt4 pyside pyside2 needs to be installed depending on the system qt version)python-levenshtein
for fuzzy search pip3 install NetEase-MusicBox
git clone https://github.com/darknessomi/musicbox.git && cd musicbox
poetry build && poetry install
pip3 install NetEase-MusicBox
brew install mpg123
Note: Installation through the following method may still require pip3 install -U NetEase-MusicBox
to be updated to the latest version .
First add the FZUG source, then sudo dnf install musicbox
.
pip3 install NetEase-MusicBox
sudo apt-get install mpg123
pacaur -S netease-musicbox-git # or $ yaourt musicbox
sudo yum install -y python3-devel
pip3 install NetEase-MusicBox
wget http://mirror.centos.org/centos/7/os/x86_64/Packages/mpg123-1.25.6-1.el7.x86_64.rpm
sudo yum install -y mpg123-1.25.6-1.el7.x86_64.rpm
Configuration file address: ~/.config/netease-musicbox/config.json
can configure cache, shortcut keys, messages, and desktop lyrics. Since the song API only accepts access from mainland China, users from non-mainland China should set up their own proxy (polipo can be used to convert the socks5 proxy into an http proxy):
export http_proxy=http://IP:PORT
export https_proxy=http://IP:PORT
curl -L ip.cn
Just show that the IP belongs to mainland China.
OS | Version |
---|---|
Arch | Rolling |
macOS | 10.15.7 |
When some songs cannot be played and the total duration is 00:01, please check whether it is caused by copyright issues.
If you encounter a problem that cannot be played under a specific terminal, first check whether mpg123 can be used normally under this terminal , and secondly check whether musicbox can be used normally under other terminals . When reporting an issue, please inform the above usage and the error message of the problematic terminal.
At the same time, you can view the log by yourself through tail -f ~/.local/share/netease-musicbox/musicbox.log
. The latest version of mpg123 may report an error that the sound hardware cannot be found. I tested version 1.25.6 and it can be used normally.
musicbox
Enjoy it!
2021-01-18 version 0.3.1 bug fixes
2020-10-23 Version 0.3.0 interface update, bug fixes
2018-11-28 version 0.2.5.4 fixes many errors
2018-06-21 Version 0.2.5.3 Fixed multiple playback errors
2018-06-07 Version 0.2.5.1 Fixed configuration file error
2018-06-05 Version 0.2.5.0 All migrated to the new version of API, a large number of bug fixes
More>>
MIT