All checks were successful
Build and Release / build-and-release (push) Successful in 55s
Implement single binary pattern where cm-player acts as both server (TUI mode) and client (command sender) based on CLI arguments. - Add Unix socket API server at $XDG_RUNTIME_DIR/cm-player.sock - Add client mode for sending commands: cm-player play-pause, next, etc. - Support all playback commands: play-pause, stop, next, prev - Support volume commands: volume-up, volume-down, volume <0-100> - Support seek commands: seek-forward, seek-backward - Support status query and quit commands - Add short command aliases (pp, n, p, vu, vd, sf, sb, s, q) - Commands run in parallel thread, non-blocking main loop - Enable OS-wide keyboard shortcut integration (XF86Audio* keys)
39 lines
512 B
TOML
39 lines
512 B
TOML
[package]
|
|
name = "cm-player"
|
|
version = "0.1.25"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
# TUI
|
|
ratatui = "0.28"
|
|
crossterm = "0.28"
|
|
|
|
# Serialization
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
toml = "0.8"
|
|
|
|
# File system
|
|
walkdir = "2.5"
|
|
dirs = "5.0"
|
|
|
|
# MPV player (via IPC)
|
|
tempfile = "3.14"
|
|
|
|
# Error handling
|
|
anyhow = "1.0"
|
|
thiserror = "1.0"
|
|
|
|
# Logging
|
|
tracing = "0.1"
|
|
tracing-subscriber = "0.3"
|
|
|
|
# Random
|
|
rand = "0.8"
|
|
|
|
[profile.release]
|
|
opt-level = 3
|
|
lto = true
|
|
codegen-units = 1
|
|
strip = true
|