Miniplayer Versions Save

A curses based mpd client with basic functionality and album art.

v1.8.1

1 year ago

Summary

Added a command line where you can add songs to the playlist.

Changelog

Fixed

  • Fixed some issues with the autocomplete and playlist population in the command line (including #32).

Changed

  • The help menu is now scrollable with the configured scroll keys and looks a little nicer.

Have fun :heart:

v1.8.0

1 year ago

Summary

Added a command line where you can add songs to the playlist.

Changelog

Added

  • Added new keybind command_line which launches the command line
  • Added config options command_sep_color and command_hierarchy_color to set command line colors
  • Added config options command_sep and command_char to customize the look of the command line.

Have fun :heart:

The command line

The command line can be used to add songs to the current playlist. To launch it, press the command_line button (that's : by default). The command line supports some tab completion but you cannot move the caret left or right (yet).

The format is as follows:

[hierarchy] [tag1/tag2/tag3/...tagN]

hierarchy

  • You do not have to populate all the tags. if you type, for example, artist Phoebe Bridgers/ and hit enter, all of Phoebe's music in your library will be added to the playlist.

  • NOTE You do not type the seperator! It is added automatically. Just use a space!

The hierarchy controls the order of the tags and what each tag represents. Currently there are 4 available hierarchies with plans to add user configurable ones in the future.

Hierarchies

Hierarchy Tag format
album album/song
artist artist/song
song song
aa artist/album/song

Command line keys

Key Action
Escape Exit command line
Enter Attempt to add the current tags to the playlist

v1.7.3

1 year ago

Summary

Miniplayer now supports embedded album art again and users can use their config directory set in XDG_CONFIG_HOME instead of the hardcoded ~/.config

Changelog

Changed

  • Album art fetching now goes by the following steps (Thanks to @aaw3 with #29 honorable mention to @an-prata):
    1. Check if the current song has embedded art and use that.
    2. Check if there is a cover image file present in the songs folder and use that.
    3. Draw and use the default album art.
  • Miniplayer now checks if the XDG_CONFIG_HOME directory exists and will use that for config (Thanks to @tye-singwa with #25 )

Fixed

  • Minor performance improvements

Have fun! :heart:

v1.7.1

1 year ago

Summary

Fixed an issue relating to the setup configuration causing an error for users on newer versions of setuptools. (#24)

v1.7.0

1 year ago

Summary

Switched from using ffmpeg to fetch album art to using MPD's native method

Changelog

Removed

  • The http_base_url, http_cover_filenames and music_directory config options have been removed since they are no longer needed to fetch album art.
  • ffmpeg is no longer a dependancy.

Have fun! :heart:

v1.6.1

2 years ago

Summary

Added some new keybinds and some playlist management options.

Changelog

Added

  • The delete and backspace keys can now be bound.
  • You can now use shift as a modifier for some keybindings (alpha keys and arrow keys). Just capitalise the keybinding (shift + p becomes P and shift + left becomes Left).
  • Added shuffle and repeat commands.
  • Added move_up and move_down commands to move songs around in your playlist.
  • Added a delete command to remove songs from your playlist.

Changed

  • Config keys are now case-sensitive.

Fixed

  • Songs with multiple artists are now displayed correctly thanks to @s-walrus and their PR #20

Have fun! :heart:

v1.5.1

2 years ago

Summary

The auto color algorithm would sometimes pick colors that were not legible on dark backgrounds.

Changelog

Fixed

  • Fixed an issue where the auto color algorithm would sometimes pick illegible colors.

Have fun! :heart:

v1.5.0

2 years ago

Summary

Added a bunch of theming options, including options to change the progress bar, colors and to dynamically pick colors from the album art.

Changelog

Added

  • A new config section theme.
  • New config options theme/accent_color, theme/bar_color and theme/time_color to change the playlist, progressbar and timestamp colors respectively
  • New config options theme/bar_body and theme/bar_head allow the user to change the look of the progress bar
  • The color option auto will automatically style that element based on the current album art!

Changed

  • The progress bar has a new look

Fixed

  • There was an unnecessary additional error message when bugs would arise. This has been removed.

Have fun! :heart:

v1.4.0

2 years ago

Summary

Merged PR #17 which adds functionality to fetch album art from files hosted on a HTTP server.

Changelog

Added

  • A new config section art.
  • A new config option art/http_base_url for the base URL of the webserver that serves your album art, if you are using one.
  • A new config option art/http_cover_filenames which holds a list of filenames that will be fetched when using a http server to serve album art.

Changed

  • Moved the music_directory and image_method config options to the new art config section.

Deprecated

  • The music_directory and image_method config options under the player section in the config file have been deprecated and will be removed in the future.

v1.3.2

3 years ago

Summary

Made the player more responsive to keyboard controls.

Changelog

Fixed

  • The player no longer crashes on launch when there isn't a config file present (as per #13).
  • The player now redraws the progress bar if a song is restarted with the select command.