melors-0.1.0 is not a library.
melors
Keyboard-first terminal MP3 player written in Rust.
Highlights
- Local-only MP3 library scanning
- Fast keyboard workflow (no mouse)
- Search + queue + now playing panels
- Persistent playback state and queue
- Theme presets and visualizer modes
- Tag editing (title/artist/album) from TUI
Quick Start
Runtime Paths
Created automatically on first run:
- Config:
~/.config/melors/config.toml - Database:
~/.local/share/melors/db.sqlite - Cache:
~/.cache/melors/ - Default music dir:
~/Music/melors/
Drop .mp3 files in your music dir and press r to rescan anytime.
Configuration
~/.config/melors/config.toml
= "/home/you/Music/melors"
Keybindings
App and Navigation
q: quitTab: cycle panel focus (Library <-> Queue)Up/Down: move selectionEnter: play selected track/queue item
Playback
Space: play/pausen: next trackp: previous trackLeft/Right: seek -5s / +5sShift+Left/Shift+Right: seek -10s / +10s[/]: volume down/up
Library and Queue
s: search moder: rescan music directoryf: toggle favorite on selected tracka: add selected track to queuex: remove selected queue itemShift+Up/Shift+Down(in Queue): reorder queue item
Metadata Editing
m: rename selected track title/fileM: rename selected track artistt: open tag editor (title/artist/album)
Tag editor:
Tab: next fieldEnter: saveEsc: cancel
Playback Modes and Visualizer
e: cycle repeat (Off -> One -> All)u: toggle shuffleAlt+1: visualizerCavaAlt+2: visualizerClockAlt+3: visualizerCMatrixAlt+T: cycle UI theme (Neon -> Amber -> Mono -> Forest)
Project Structure
src/
app/
actions/
boot.rs
playback.rs
queue.rs
library.rs
rename.rs
session.rs
mod.rs
state.rs
core/
config/
mod.rs
load.rs
paths.rs
model.rs
features/
player/
mod.rs
control.rs
analysis.rs
search.rs
services/
scanner/
mod.rs
io.rs
validate.rs
storage/
mod.rs
migrations.rs
tracks.rs
playback.rs
queue.rs
metadata.rs
ui/
input/
dispatch.rs
normal.rs
modes.rs
selection.rs
render/
chrome.rs
lists.rs
playback.rs
visualizer.rs
theme.rs
state/
model.rs
mode.rs
cache.rs
Development
License
MIT. See LICENSE.