No description
Stephen Seo
7fb3525ec7
When polling for the shared data, the position of the song now accounts for when the position was polled (using an Instant object set to "now()" on poll, and returning the position with the Instant's elapsed time). |
||
---|---|---|
src | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
LICENSE | ||
README.md |
mpd info screen
A Rust program that displays info about the currently running MPD server.
The window shows albumart (may be embedded in the audio file, or is a "cover.jpg" in the same directory as the song file), a "time-remaining" counter, and the filename currently being played
Usage
mpd_info_screen 0.2.0
USAGE:
mpd_info_screen [FLAGS] [OPTIONS] <host> [port]
FLAGS:
--disable-show-artist disable artist display
--disable-show-filename disable filename display
--disable-show-title disable title display
--no-scale-fill don't scale-fill the album art to the window
--pprompt input password via prompt
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
-p <password>
ARGS:
<host>
<port> [default: 6600]
Note that presing the Escape key when the window is focused closes the program.
Issues / TODO
- UTF-8 Non-ascii font support
- Support for album art not embedded but in the same directory
Legal stuff
Uses dependency ggez which is licensed under the MIT license.
Uses dependency image which is licensed under MIT license.
Uses dependency structopt which is licensed under Apache-2.0 or MIT licenses.