add password field to MPDClient()
Miniplayer
A curses based mpd client with basic functionality and album art.
After installation, the player can be opened from the terminal with miniplayer.
Installation
This package can be installed by:
- Cloning this repository to your computer and running
python setup.py install
- Through PyPi with
pip install miniplayer
- By installing the
miniplayer-gitpackage with your AUR package manager of choice.
Configuration
The config file is located at ~/.config/miniplayer/config. The example configuration file, config.example, has all the default values. You will need to create the file yourself.
player
-
music_directory: The path to your music directory for extracting album art.
-
font_width: The width of your font in pixels in the actual terminal.
-
font_height: The height of your font in pixels in the actual terminal.
-
image_method: The method to use for drawing album art. Available values are
pixcatandueberzugIf you are not using Kitty, tryueberzug.
mpd
- host: The mpd host
- port: The mpd port
- pass: The mpd password
Keybinds
| Key | function |
|---|---|
| h | Show keybinds |
| p | Play/pause |
| > | Next track |
| < | Last track |
| q | Quit |
| + | Volume +5 |
| - | Volume -5 |
F.A.Q.
-
Q: Album art is not showing up.
A: Make sure yourmusic_directoryis not quoted i.e. if your music directory is~/My Musicthen your config should look likemusic_directory = ~/My Music.
If this does not work, try changingimage_methodfrompixcattoueberzugor vice versa. -
Q: Album art is too big/too small.
A: You need to configurefont_heightandfont_width. Their values should be the actual pixel height and width of a character in your terminal.

