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.0.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.0-py3-none-any.whl (24.5 kB view details)

Uploaded Python 3

File details

Details for the file qobra-1.1.0.tar.gz.

File metadata

  • Download URL: qobra-1.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 0af852699cbda98c206cdeddcdab5b7311c822cd75282442ec7240448e856da9
MD5 8e29c8d70ce310701889dab924cc4bd9
BLAKE2b-256 0e548f15cee855c45749deaeaf229af4826934ad759a35c06be072f8a72dcfd6

See more details on using hashes here.

File details

Details for the file qobra-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: qobra-1.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 60479017dd7d6e0970021601fc693a3cd8e7ed1fda4188020abf02cc5233e15e
MD5 900525cb44628fc9383c1db5df32a17c
BLAKE2b-256 abdbd2888c7c54495318cf0853826af2aa1f965a6a45b8e1d252653d4155b533

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