workaround version 0.4.2

This commit is contained in:
Stephen Seo 2023-02-04 19:30:44 +09:00
parent 1161ab18e1
commit cd4d4f60e4
3 changed files with 26 additions and 4 deletions

2
Cargo.lock generated
View file

@ -1668,7 +1668,7 @@ dependencies = [
[[package]] [[package]]
name = "mpd_info_screen" name = "mpd_info_screen"
version = "0.3.7" version = "0.4.2"
dependencies = [ dependencies = [
"bindgen", "bindgen",
"freetype", "freetype",

View file

@ -1,6 +1,6 @@
[package] [package]
name = "mpd_info_screen" name = "mpd_info_screen"
version = "0.3.7" version = "0.4.2"
edition = "2018" edition = "2018"
description = "Displays info on currently playing music from an MPD daemon" description = "Displays info on currently playing music from an MPD daemon"
license = "MIT" license = "MIT"

View file

@ -12,6 +12,24 @@ 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" 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 counter, and the filename currently being played
## Known Bugs ❗❗
Version `0.4.2` is a "workaround" release that is branched off of version
`0.3.7`. Once a new release of `ggez` is released that fixes the known bugs,
version `0.4.3` will be released with the fixes. Because this is based on
`0.3.7` of `mpd_info_screen`, Wayland support may not work. Try using `xwayland`
with the environment variable `WINIT_UNIX_BACKEND=x11` set.
Currently, the dependency "ggez 0.8.1" [fails to render album
art](https://github.com/Stephen-Seo/mpd_info_screen/issues/1) on my machines
using the latest version of this program (`main` branch). Version 0.4.1 cannot
be published to https://crates.io due to this version referring to a git commit
as a dependency. Once ggez has released a new version with the commit that
fixes this bug, this repository will be updated to use that version.
The `devel` branch has a fix for mpd\_info\_screen not displaying properly when
no password is provided and MPD can be accessed without a password.
## Unicode Support ## Unicode Support
By default, unicode characters will not display properly. Build the project with By default, unicode characters will not display properly. Build the project with
@ -23,10 +41,14 @@ installed already).
cargo build --release --features unicode_support cargo build --release --features unicode_support
or through crates.io:
cargo install --features unicode_support mpd_info_screen
# Usage # Usage
mpd_info_screen 0.3.7 mpd_info_screen 0.4.2
USAGE: USAGE:
mpd_info_screen [FLAGS] [OPTIONS] <host> [port] mpd_info_screen [FLAGS] [OPTIONS] <host> [port]
@ -47,7 +69,7 @@ installed already).
-t, --text-bg-opacity <text-bg-opacity> sets the opacity of the text background (0-255) [default: 190] -t, --text-bg-opacity <text-bg-opacity> sets the opacity of the text background (0-255) [default: 190]
ARGS: ARGS:
<host> <host>
<port> [default: 6600] <port> [default: 6600]