Go to file
2021-09-21 12:45:27 +09:00
src Fix invalid if condition to fetch shared data 2021-09-21 12:45:27 +09:00
.gitignore Init skeleton rust project 2021-09-15 16:30:53 +09:00
Cargo.lock Impl display 2021-09-16 13:50:14 +09:00
Cargo.toml Impl display 2021-09-16 13:50:14 +09:00
LICENSE Add README.md, LICENSE 2021-09-16 16:06:26 +09:00
README.md Update README.md 2021-09-17 20:52:07 +09:00

mpd info screen

mpd info screen preview image

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.1.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
        --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 Escape key and Q key pressed when the window is focused closes the program.

Also, the "H" key hides the drawn text while it is pressed.

Issues / TODO

  • UTF-8 Non-ascii font support (macroquad is being used to display a window, text, and album art, but doesn't seem to have support for ".ttc" fonts that could render CJK text)
  • Support for album art not embedded but in the same directory

Legal stuff

Uses dependency macroquad which is licensed under either MIT or Apache-2.0 licenses.

Uses dependency image which is licensed under MIT license.

Uses dependency structopt which is licensed under Apache-2.0 or MIT licenses.