https://github.com/krolyxon/rmptui
A mpd client in rust
https://github.com/krolyxon/rmptui
arch mpd music ratatui rust tui
Last synced: 5 months ago
JSON representation
A mpd client in rust
- Host: GitHub
- URL: https://github.com/krolyxon/rmptui
- Owner: krolyxon
- License: agpl-3.0
- Created: 2023-05-20T17:57:46.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-06-20T06:14:51.000Z (10 months ago)
- Last Synced: 2024-06-21T14:36:45.654Z (10 months ago)
- Topics: arch, mpd, music, ratatui, rust, tui
- Language: Rust
- Homepage:
- Size: 15.7 MB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
## rmptui - A MPD client in Rust


[](https://github.com/krolyxon/rmptui/releases)rmptui is a minimal tui mpd client made with rust.
## rmptui in action
### Keys
| Key | Action |
| --- | --- |
| `q`/`Ctr+C` | Quit |
| `p` | Toggle pause |
| `+`/`=` | Increase volume |
| `-` | Decrease volume |
| `m` | Toggle Mute |
| `D` | Get dmenu prompt |
| `j`/`Down` | Scroll down |
| `k`/`Up` | Scroll up |
| `J` | Swap highlighted song with next one |
| `K` | Swap highlighted song with previous one |
| `l`/`Right` | Add song to playlist or go inside the directory |
| `h`/`Left` | Go back to previous directory |
| `Tab` | Cycle through tabs |
| `1` | Go to queue |
| `2` | Go to directory browser |
| `3` | Go to playlists view |
| `Enter`/`l`/`Right` | Add song/playlist to current playlist |
| `a` | Append the song to current playing queue |
| `Space` | Delete the highlighted song from queue |
| `f` | Go forwards |
| `b` | Go backwards |
| `>` | Play next song from queue |
| `<` | Play previous song from queue |
| `U` | Update the MPD database |
| `r` | Toggle repeat |
| `z` | Toggle random |
| `/` | Search |
| `R` | Rename Playlist |
| `g` | Go to top of list |
| `G` | Go to bottom of list |### Prerequisites
- [MPD](https://wiki.archlinux.org/title/Music_Player_Daemon) installed and configured.
- [dmenu](https://tools.suckless.org/dmenu/) (optional)### TODO
- [x] fix performance issues
- [x] improvements on queue control
- [x] add to playlists
- [x] search for songs
- [x] Human readable time format
- [x] metadata based tree view
- [x] view playlist
- [x] change playlist name
- [x] add to new playlist
- [ ] add lyrics fetcher