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](img/cmd.png)
* 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 |