A simple music player for the command line
Project description
qobra
A simple music player for the command line.
Why qobra?
You can't get much more minimal than qobra. qobra extends mpg123 functionalities to provide ease of navigation between your songs. As of version 1.1.0, qobra:
- can play songs in normal and shuffle mode
- provides a search functionality to filter your music
- supports a vast variety of file formats thanks to mpg123
Installation
qobra is available on PyPI. Install it with pip:
pip install qobra
mpg123 will be installed as a dependency as well.
Usage
qobra [-d dirname] [options]
Where dirname is your music directory. You can also set the music directory in
qobra's config file to avoid having to type it every time, as explained below.
Control
| Key | Function |
|---|---|
| j | go down a song |
| k | go up a song |
| l | play selected song |
| p | pause song |
| t | toggle playing mode |
| q | quit qobra |
| o | play next song |
| i | play previous song |
| / | open search bar |
| Enter | submit search |
| Esc | cancel search |
Configuration
qobra will look for a configuration file in ~/.config/qobra/config.py or use the default configuration if it can't find one. You can copy the sample config.py file in this repository to ~/.config/qobra/config.py if you want to have your own configuration.
You can customize qobra's colors in the config.py file, as well as set your music directory to avoid having to write it out on the command line:
music_dir = '~/music'
TODOS
If you like this project, you can help with one of these:
- Implement pause functionality.
Issues
- Resizing the window while the search bar is summoned may break the program.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file qobra-1.1.1.tar.gz.
File metadata
- Download URL: qobra-1.1.1.tar.gz
- Upload date:
- Size: 9.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9cd92a1953d5eed4290c35350cf1abbf4690370ce13f46247969a5e831b9d026
|
|
| MD5 |
87a8187ccc65125c6060e45271a37203
|
|
| BLAKE2b-256 |
b6396488ba34968937ec80bc2fd37156eb5781bdd6413b73b0cf624eb0e1050d
|
File details
Details for the file qobra-1.1.1-py3-none-any.whl.
File metadata
- Download URL: qobra-1.1.1-py3-none-any.whl
- Upload date:
- Size: 24.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f61e467895b8eff2e7e13bd83afe11ca6e3ce741f0d3ab5fca37261c60e20ce6
|
|
| MD5 |
62c5e838c83ed38da9d7cb3ac084eb72
|
|
| BLAKE2b-256 |
5e06175acb1e46442cf2e18457bd53c88d041b678db25056837a4a071933d51b
|