Skip to main content

qq music in commandline

Project description

# QQMusicBox [![Build Status](https://travis-ci.org/lai-bluejay/qqmusicbox.svg?branch=master)](https://travis-ci.org/lai-bluejay/qqmusicbox) ![PyPI](https://img.shields.io/pypi/v/diego.svg?style=flat) ![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/lai-bluejay/qqmusicbox.svg)

只要有声卡,命令行也能播放音乐

看到一款[命令行的网易云🎵](https://github.com/darknessomi/musicbox/),忍不住想照着开发一个同款的QQ音乐,整体代码结构还是参考darkness的版本,在此版本上微调。qq音乐api会和[meik-h](https://github.com/MeiK-h/QQMusicAPI)一起维护

## 特性

暂时只支持搜索音乐…….

### 键盘快捷键

Key | Effect | |
—– | ————— | ——— |
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 | 播放/暂停 |
m | Menu | 主菜单 |
p | Present/History | 当前/历史播放列表 |
i | Music Info | 当前音乐信息 |
⇧+p | Playing Mode | 播放模式切换 |
⇧+a | Enter album | 进入专辑 |
g | To the first | 跳至首项 |
⇧+g | To the end | 跳至尾项 |

## 安装

### 必选依赖

  1. mpg123 用于播放歌曲 自行搜索一下安装办法吧

### PyPi安装

$ pip install qqmusicbox

### Git clone安装master分支

$ git clone https://github.com/lai-bluejay/qqmusicbox.git && cd qqmusicbox $ python setup.py install

### macOS安装

$ pip install qqmusicbox $ brew install mpg123

### Linux安装

#### Ubuntu/Debian

$ (sudo) pip install qqmusicbox

$ (sudo) apt-get install mpg123

#### Centos/Red Hat

$ (sudo) pip(3) install qqmusicbox $ (sudo) wget http://mirror.centos.org/centos/7/os/x86_64/Packages/mpg123-1.25.6-1.el7.x86_64.rpm $ (sudo) yum install mpg123-1.25.6-1.el7.x86_64.rpm

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qqmusicbox-0.1.tar.gz (27.8 kB view details)

Uploaded Source

Built Distribution

qqmusicbox-0.1-py2.py3-none-any.whl (33.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file qqmusicbox-0.1.tar.gz.

File metadata

  • Download URL: qqmusicbox-0.1.tar.gz
  • Upload date:
  • Size: 27.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1

File hashes

Hashes for qqmusicbox-0.1.tar.gz
Algorithm Hash digest
SHA256 b6b435060550cedd1a6f5792b6420ea4ba0e30827b49e10ed92b626e41c8d0fc
MD5 51972e61d1815f4d67c05aefa83bbd57
BLAKE2b-256 63b6fcd3e608f48228e3f833fdc711f013baab48148705c4bf47724c2aedba2f

See more details on using hashes here.

File details

Details for the file qqmusicbox-0.1-py2.py3-none-any.whl.

File metadata

  • Download URL: qqmusicbox-0.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 33.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1

File hashes

Hashes for qqmusicbox-0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 54ea7904829061c3d65f7675688546ee85ce34af8a10447122a17ccad9612c34
MD5 c3f5791f1cd69e4e89323b6e83ad3f91
BLAKE2b-256 8936b4c69e9491a834f0e1d2ec506b79f230535fbdd16066f0c4fe621dfb49c3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page