Browses a Subsonic library and plays it through mpv, driven by a gamepad or keyboard. The UI scales from the window's physical height rather than the compositor's scale factor, so it keeps its proportions on a Steam Deck and on a 4K TV, where other players open small or scale badly.
4 lines
89 B
Rust
4 lines
89 B
Rust
fn main() {
|
|
slint_build::compile("ui/app.slint").expect("compiling ui/app.slint");
|
|
}
|