]> git.seodisparate.com - mpd_info_screen/log
mpd_info_screen
2 years agoMerge branch 'devel'
Stephen Seo [Mon, 27 Feb 2023 06:39:48 +0000 (15:39 +0900)]
Merge branch 'devel'

2 years agoRefactor "no-password-fix"
Stephen Seo [Sat, 4 Feb 2023 12:32:09 +0000 (21:32 +0900)]
Refactor "no-password-fix"

Refactors the fix for the use case of when MPD requires no password.

2 years agoFix timer bg not updating
Stephen Seo [Sat, 4 Feb 2023 11:41:47 +0000 (20:41 +0900)]
Fix timer bg not updating

This commit fixes the bg mesh (slightly-transparent-black-bg for text)
not updating when the timer-text changes size.

2 years agoUpdate README.md
Stephen Seo [Sat, 4 Feb 2023 10:59:04 +0000 (19:59 +0900)]
Update README.md

2 years agoBackport Fix: display not working when no password
Stephen Seo [Sat, 4 Feb 2023 10:56:09 +0000 (19:56 +0900)]
Backport Fix: display not working when no password

Previous implementation only worked if MPD was accessed with a password.
This commit fixes no-password access of MPD.

Backported from `devel` branch.

2 years agoImpl passing password via file
Stephen Seo [Tue, 31 Jan 2023 07:19:35 +0000 (16:19 +0900)]
Impl passing password via file

2 years agoUpdate README.md
Stephen Seo [Tue, 31 Jan 2023 07:05:48 +0000 (16:05 +0900)]
Update README.md

2 years agoUpdate README.md
Stephen Seo [Tue, 31 Jan 2023 06:59:19 +0000 (15:59 +0900)]
Update README.md

2 years agoUpdate README.md
Stephen Seo [Tue, 31 Jan 2023 06:59:19 +0000 (15:59 +0900)]
Update README.md

2 years agoFix where display doesn't work when no password
Stephen Seo [Tue, 31 Jan 2023 06:57:56 +0000 (15:57 +0900)]
Fix where display doesn't work when no password

Previous implementation only worked if MPD was accessed with a password.
This commit fixes no-password access of MPD.

2 years agoUpdate README.md
Stephen Seo [Sun, 29 Jan 2023 07:57:54 +0000 (16:57 +0900)]
Update README.md

2 years agoUpdate README.md
Stephen Seo [Sun, 29 Jan 2023 07:55:20 +0000 (16:55 +0900)]
Update README.md

2 years agoVersion 0.4.1 0.4.1
Stephen Seo [Sun, 29 Jan 2023 07:49:04 +0000 (16:49 +0900)]
Version 0.4.1

2 years agoWorkaround for album art not drawing bug
Stephen Seo [Sun, 29 Jan 2023 07:45:40 +0000 (16:45 +0900)]
Workaround for album art not drawing bug

ggez (at the time of this commit) latest release has a bug that results
in the album art not drawing. Workaround is to build against a ggez
commit in its "devel" branch.

2 years agoFix clippy warnings
Stephen Seo [Sun, 29 Jan 2023 05:50:26 +0000 (14:50 +0900)]
Fix clippy warnings

2 years agoVersion 0.4.0 0.4.0
Stephen Seo [Sun, 8 Jan 2023 08:43:19 +0000 (17:43 +0900)]
Version 0.4.0

Testing shows that even with some of the expect()/unwrap() additions,
the program is still stable enough to use. Will merge into the main
branch.

2 years agoChange rust project edition to "2021"
Stephen Seo [Sun, 11 Dec 2022 05:35:35 +0000 (14:35 +0900)]
Change rust project edition to "2021"

Also update Cargo.lock.

2 years agoFix clippy warning
Stephen Seo [Wed, 7 Dec 2022 03:22:06 +0000 (12:22 +0900)]
Fix clippy warning

2 years agoFix not-staying-in-fullscreen bug
Stephen Seo [Tue, 6 Dec 2022 13:26:02 +0000 (22:26 +0900)]
Fix not-staying-in-fullscreen bug

2 years agoFix "brighter" displayed album art bug
Stephen Seo [Tue, 6 Dec 2022 13:19:48 +0000 (22:19 +0900)]
Fix "brighter" displayed album art bug

2 years agoUpdate to latest ggez (0.8.1)
Stephen Seo [Tue, 6 Dec 2022 13:00:09 +0000 (22:00 +0900)]
Update to latest ggez (0.8.1)

A lot of ".expect(...)" or ".unwrap(...)" lines were added, so these
need to be refactored out. For now, just got it to work with the latest
ggez.

Currently noticed bugs:

 - Album art is brighter than original.

 - Fullscreen doesn't work.

2 years agoUpdate README.md
Stephen Seo [Tue, 1 Nov 2022 11:44:23 +0000 (20:44 +0900)]
Update README.md

2 years agoRefactor handling of Result conversion
Stephen Seo [Tue, 1 Nov 2022 08:36:16 +0000 (17:36 +0900)]
Refactor handling of Result conversion

2 years agoImpl better handling of unknown image type
Stephen Seo [Sun, 30 Oct 2022 08:54:33 +0000 (17:54 +0900)]
Impl better handling of unknown image type

2 years agoFix clippy warnings
Stephen Seo [Sun, 30 Oct 2022 05:05:04 +0000 (14:05 +0900)]
Fix clippy warnings

2 years agoUpdate README.md 0.3.7
Stephen Seo [Sun, 30 Oct 2022 04:47:19 +0000 (13:47 +0900)]
Update README.md

2 years agoFix edge-case where MPD omits album art format
Stephen Seo [Sun, 30 Oct 2022 04:42:51 +0000 (13:42 +0900)]
Fix edge-case where MPD omits album art format

2 years agoUpdate README.md
Stephen Seo [Thu, 25 Aug 2022 06:36:43 +0000 (15:36 +0900)]
Update README.md

2 years agoBump version to 0.3.6 0.3.6
Stephen Seo [Wed, 10 Aug 2022 05:07:03 +0000 (14:07 +0900)]
Bump version to 0.3.6

2 years agoImpl setting opacity of text bg via arg
Stephen Seo [Wed, 10 Aug 2022 05:05:39 +0000 (14:05 +0900)]
Impl setting opacity of text bg via arg

2 years agoUpdate year in LICENSE
Stephen Seo [Tue, 2 Aug 2022 10:22:07 +0000 (19:22 +0900)]
Update year in LICENSE

2 years agoBump version to 0.3.5 0.3.5
Stephen Seo [Tue, 2 Aug 2022 10:19:07 +0000 (19:19 +0900)]
Bump version to 0.3.5

2 years agoUpdate README.md
Stephen Seo [Tue, 2 Aug 2022 10:18:35 +0000 (19:18 +0900)]
Update README.md

2 years agoBump version to 0.3.4 0.3.4
Stephen Seo [Tue, 2 Aug 2022 10:16:22 +0000 (19:16 +0900)]
Bump version to 0.3.4

2 years agoImpl album display
Stephen Seo [Tue, 2 Aug 2022 09:12:54 +0000 (18:12 +0900)]
Impl album display

2 years agoRefactor freetype handling code to be safer
Stephen Seo [Mon, 1 Aug 2022 07:20:34 +0000 (16:20 +0900)]
Refactor freetype handling code to be safer

2 years agoFix memory leak related to freetype, bump v0.3.3 0.3.3
Stephen Seo [Mon, 1 Aug 2022 05:30:22 +0000 (14:30 +0900)]
Fix memory leak related to freetype, bump v0.3.3

2 years agoFix always failing freetype call, version 0.3.2 0.3.2
Stephen Seo [Mon, 1 Aug 2022 05:19:23 +0000 (14:19 +0900)]
Fix always failing freetype call, version 0.3.2

2 years agoBump version to 0.3.1 0.3.1
Stephen Seo [Mon, 1 Aug 2022 04:46:33 +0000 (13:46 +0900)]
Bump version to 0.3.1

2 years agoFix/inhibit clippy warnings
Stephen Seo [Mon, 1 Aug 2022 04:37:13 +0000 (13:37 +0900)]
Fix/inhibit clippy warnings

2 years agoUpdate README.md
Stephen Seo [Mon, 1 Aug 2022 04:08:06 +0000 (13:08 +0900)]
Update README.md

2 years agoUpdate README.md
Stephen Seo [Mon, 1 Aug 2022 04:03:37 +0000 (13:03 +0900)]
Update README.md

2 years agoReplace println! with debug_log::log(...)
Stephen Seo [Mon, 1 Aug 2022 03:39:49 +0000 (12:39 +0900)]
Replace println! with debug_log::log(...)

2 years agoUpdate README.md
Stephen Seo [Mon, 1 Aug 2022 03:21:51 +0000 (12:21 +0900)]
Update README.md

2 years agoMerge branch 'dev' (unicode_support feature) 0.3.0
Stephen Seo [Mon, 1 Aug 2022 03:13:22 +0000 (12:13 +0900)]
Merge branch 'dev' (unicode_support feature)

2 years agoUpdate README.md, version to 0.3.0
Stephen Seo [Mon, 1 Aug 2022 03:11:44 +0000 (12:11 +0900)]
Update README.md, version to 0.3.0

2 years agoImpl unicode support via fontconfig and freetype
Stephen Seo [Mon, 1 Aug 2022 03:04:38 +0000 (12:04 +0900)]
Impl unicode support via fontconfig and freetype

2 years agoFix warnings
Stephen Seo [Sun, 31 Jul 2022 12:45:14 +0000 (21:45 +0900)]
Fix warnings

2 years agoFix default builds
Stephen Seo [Sun, 31 Jul 2022 12:38:31 +0000 (21:38 +0900)]
Fix default builds

2 years agoImpl fontconfig finding font with given char/str
Stephen Seo [Sun, 31 Jul 2022 12:35:08 +0000 (21:35 +0900)]
Impl fontconfig finding font with given char/str

Should work with non-ascii as well, provided that the system has the
necessary fonts installed.

2 years agoImpl freetype use, bindgen for fontconfig
Stephen Seo [Sun, 31 Jul 2022 10:52:00 +0000 (19:52 +0900)]
Impl freetype use, bindgen for fontconfig

TODO: fontconfig

2 years agoFix unintended change of font scaling behavior
Stephen Seo [Sun, 31 Jul 2022 07:47:25 +0000 (16:47 +0900)]
Fix unintended change of font scaling behavior

2 years agoUpdate display.rs to (eventually) use unicode text
Stephen Seo [Sun, 31 Jul 2022 07:43:38 +0000 (16:43 +0900)]
Update display.rs to (eventually) use unicode text

2 years agoRename new feature to "unicode_support"
Stephen Seo [Sat, 30 Jul 2022 09:54:55 +0000 (18:54 +0900)]
Rename new feature to "unicode_support"

Also some setup for pending feature.

2 years agoUpdate Cargo.lock, prep for unicode support
Stephen Seo [Fri, 29 Jul 2022 10:23:39 +0000 (19:23 +0900)]
Update Cargo.lock, prep for unicode support

2 years agoImpl more informative error messages 0.2.20
Stephen Seo [Mon, 16 May 2022 04:57:24 +0000 (13:57 +0900)]
Impl more informative error messages

Bump version to 0.2.20, and regenerate Cargo.lock .

3 years agoHandle paused/stopped/play state, version bump 0.2.19
Stephen Seo [Wed, 23 Mar 2022 11:56:11 +0000 (20:56 +0900)]
Handle paused/stopped/play state, version bump

Version 0.2.19.

3 years agoUpdate README.md version
Stephen Seo [Sat, 19 Mar 2022 13:40:13 +0000 (22:40 +0900)]
Update README.md version

3 years agoUpdate dependency image to "0.24" 0.2.18
Stephen Seo [Sat, 19 Mar 2022 13:36:58 +0000 (22:36 +0900)]
Update dependency image to "0.24"

3 years agoUpdate metadata and README.md
Stephen Seo [Tue, 8 Feb 2022 07:55:08 +0000 (16:55 +0900)]
Update metadata and README.md

3 years agoBump patch version due to updated README.md 0.2.17
Stephen Seo [Tue, 8 Feb 2022 07:51:25 +0000 (16:51 +0900)]
Bump patch version due to updated README.md

3 years agoUpdate README.md
Stephen Seo [Tue, 8 Feb 2022 07:47:21 +0000 (16:47 +0900)]
Update README.md

3 years agoUpdate metadata (Cargo.toml)
Stephen Seo [Tue, 8 Feb 2022 07:37:45 +0000 (16:37 +0900)]
Update metadata (Cargo.toml)

3 years agoBump version to 0.2.16 0.2.16
Stephen Seo [Fri, 14 Jan 2022 01:57:08 +0000 (10:57 +0900)]
Bump version to 0.2.16

3 years agoFix logic for when to sleep on mpd_handler thread
Stephen Seo [Fri, 14 Jan 2022 01:55:47 +0000 (10:55 +0900)]
Fix logic for when to sleep on mpd_handler thread

3 years agoRemove unnecessary call to "ok()" on Result
Stephen Seo [Thu, 13 Jan 2022 08:26:00 +0000 (17:26 +0900)]
Remove unnecessary call to "ok()" on Result

3 years agoMore robust handling of authentication failure 0.2.15
Stephen Seo [Thu, 13 Jan 2022 02:17:32 +0000 (11:17 +0900)]
More robust handling of authentication failure

Bump version to 0.2.15

3 years agoFix most clippy warnings, bump version 0.2.14
Stephen Seo [Thu, 13 Jan 2022 01:07:01 +0000 (10:07 +0900)]
Fix most clippy warnings, bump version

3 years agoUpdate README.md
Stephen Seo [Wed, 12 Jan 2022 12:56:27 +0000 (21:56 +0900)]
Update README.md

3 years agoFix second album art fetch method on decode fail 0.2.13
Stephen Seo [Wed, 12 Jan 2022 12:07:31 +0000 (21:07 +0900)]
Fix second album art fetch method on decode fail

Previous implementation did not try second fetch method on actual decode fail,
only on unknown mime type.

Version bumped to 0.2.13.

3 years agoBump version to 0.2.12 0.2.12
Stephen Seo [Wed, 12 Jan 2022 11:27:07 +0000 (20:27 +0900)]
Bump version to 0.2.12

3 years agoTry second albumart fetching method on decode fail
Stephen Seo [Wed, 12 Jan 2022 11:25:26 +0000 (20:25 +0900)]
Try second albumart fetching method on decode fail

If the "image" crate fails to decode the album art from the first album-art
fetching method, fallback to the second fetching method to try decoding the
other image.

3 years agoReplace magic numbers with consts, bump version 0.2.11
Stephen Seo [Tue, 11 Jan 2022 09:30:12 +0000 (18:30 +0900)]
Replace magic numbers with consts, bump version

3 years agoReplace magic number with const, bump version 0.2.10
Stephen Seo [Mon, 10 Jan 2022 12:37:43 +0000 (21:37 +0900)]
Replace magic number with const, bump version

3 years agoDifferentiate between log level/state, bump version 0.2.9
Stephen Seo [Fri, 7 Jan 2022 07:05:37 +0000 (16:05 +0900)]
Differentiate between log level/state, bump version

3 years agoForce 5 fps drawing, bump version to 0.2.8 0.2.8
Stephen Seo [Fri, 7 Jan 2022 06:34:17 +0000 (15:34 +0900)]
Force 5 fps drawing, bump version to 0.2.8

3 years agoMinor refactoring
Stephen Seo [Thu, 6 Jan 2022 09:23:50 +0000 (18:23 +0900)]
Minor refactoring

3 years agoFix most clippy warnings
Stephen Seo [Thu, 30 Dec 2021 13:31:59 +0000 (22:31 +0900)]
Fix most clippy warnings

3 years agoMinor fix (same behavior, different "usage")
Stephen Seo [Thu, 30 Dec 2021 13:22:57 +0000 (22:22 +0900)]
Minor fix (same behavior, different "usage")

3 years agoBump version to 0.2.7, minor fix 0.2.7
Stephen Seo [Thu, 30 Dec 2021 13:18:03 +0000 (22:18 +0900)]
Bump version to 0.2.7, minor fix

3 years agoRefactor MPDHandler to "hide" the Arc/RwLock impl
Stephen Seo [Thu, 30 Dec 2021 13:16:12 +0000 (22:16 +0900)]
Refactor MPDHandler to "hide" the Arc/RwLock impl

3 years agoUpdate README.md
Stephen Seo [Mon, 27 Dec 2021 02:25:56 +0000 (11:25 +0900)]
Update README.md

3 years agoUpdate README.md
Stephen Seo [Thu, 23 Dec 2021 13:19:47 +0000 (22:19 +0900)]
Update README.md

3 years agoFix re-showing prompt on password fail, impl logs 0.2.6
Stephen Seo [Mon, 20 Dec 2021 08:41:03 +0000 (17:41 +0900)]
Fix re-showing prompt on password fail, impl logs

Also bump version to 0.2.6

3 years agoFix "slow startup" bug, bump version to 0.2.5 0.2.5
Stephen Seo [Sat, 18 Dec 2021 10:47:10 +0000 (19:47 +0900)]
Fix "slow startup" bug, bump version to 0.2.5

3 years agoFix album-art-data fetching, bump version 0.2.4 0.2.4
Stephen Seo [Sat, 18 Dec 2021 06:52:50 +0000 (15:52 +0900)]
Fix album-art-data fetching, bump version 0.2.4

3 years agoBump version to 0.2.3 0.2.3
Stephen Seo [Sat, 18 Dec 2021 06:38:56 +0000 (15:38 +0900)]
Bump version to 0.2.3

3 years agoRefactor getting album art from handle to display
Stephen Seo [Sat, 18 Dec 2021 06:37:50 +0000 (15:37 +0900)]
Refactor getting album art from handle to display

Avoids doing a copy of the album art data.

3 years agoBump version to 0.2.2 0.2.2
Stephen Seo [Thu, 16 Dec 2021 12:10:19 +0000 (21:10 +0900)]
Bump version to 0.2.2

3 years agoScale timer size based on window size
Stephen Seo [Thu, 16 Dec 2021 12:09:00 +0000 (21:09 +0900)]
Scale timer size based on window size

3 years agoUpdate Cargo.lock
Stephen Seo [Thu, 16 Dec 2021 09:25:28 +0000 (18:25 +0900)]
Update Cargo.lock

3 years agoBump version up to 0.2.1 0.2.1
Stephen Seo [Thu, 16 Dec 2021 08:35:22 +0000 (17:35 +0900)]
Bump version up to 0.2.1

3 years agoScale title/artist text based on window dimensions
Stephen Seo [Thu, 16 Dec 2021 08:34:51 +0000 (17:34 +0900)]
Scale title/artist text based on window dimensions

3 years agoImpl hide text when "H" key is pressed
Stephen Seo [Thu, 16 Dec 2021 08:28:16 +0000 (17:28 +0900)]
Impl hide text when "H" key is pressed

3 years agoFix key_press event not only on key down 0.2.0
Stephen Seo [Thu, 16 Dec 2021 02:19:32 +0000 (11:19 +0900)]
Fix key_press event not only on key down

3 years agoFix get current_song_pos in shared
Stephen Seo [Thu, 16 Dec 2021 02:10:10 +0000 (11:10 +0900)]
Fix get current_song_pos in shared

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).

3 years agoUpdate README.md
Stephen Seo [Wed, 15 Dec 2021 10:46:53 +0000 (19:46 +0900)]
Update README.md

3 years agoUpdate README.md, bump version to 0.2.0
Stephen Seo [Wed, 15 Dec 2021 10:43:11 +0000 (19:43 +0900)]
Update README.md, bump version to 0.2.0

3 years agoImpl disabling showing specific info texts
Stephen Seo [Wed, 15 Dec 2021 10:40:23 +0000 (19:40 +0900)]
Impl disabling showing specific info texts

3 years agoAdd flag to disable fill-scaling album art
Stephen Seo [Wed, 15 Dec 2021 10:32:37 +0000 (19:32 +0900)]
Add flag to disable fill-scaling album art