Skip to main content

A simple music player for the command line

Project description

qobra

A simple music player for the command line.

qobra

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

qobra-1.1.1.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

qobra-1.1.1-py3-none-any.whl (24.5 kB view details)

Uploaded Python 3

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

Hashes for qobra-1.1.1.tar.gz
Algorithm Hash digest
SHA256 9cd92a1953d5eed4290c35350cf1abbf4690370ce13f46247969a5e831b9d026
MD5 87a8187ccc65125c6060e45271a37203
BLAKE2b-256 b6396488ba34968937ec80bc2fd37156eb5781bdd6413b73b0cf624eb0e1050d

See more details on using hashes here.

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

Hashes for qobra-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f61e467895b8eff2e7e13bd83afe11ca6e3ce741f0d3ab5fca37261c60e20ce6
MD5 62c5e838c83ed38da9d7cb3ac084eb72
BLAKE2b-256 5e06175acb1e46442cf2e18457bd53c88d041b678db25056837a4a071933d51b

See more details on using hashes here.

Supported by

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