Commit graph

38 commits

Author SHA1 Message Date
Stephen Seo 5f45f802b6 Fix/inhibit clippy warnings 2022-08-01 13:37:13 +09:00
Stephen Seo d6fa156990 Replace println! with debug_log::log(...) 2022-08-01 12:39:49 +09:00
Stephen Seo 9cf94f7377 Impl unicode support via fontconfig and freetype 2022-08-01 12:04:48 +09:00
Stephen Seo ab604b34ee Fix unintended change of font scaling behavior 2022-07-31 16:47:25 +09:00
Stephen Seo 340a048121 Update display.rs to (eventually) use unicode text 2022-07-31 16:43:38 +09:00
Stephen Seo 810e589efe Impl more informative error messages
Bump version to 0.2.20, and regenerate Cargo.lock .
2022-05-16 14:00:15 +09:00
Stephen Seo 3299764ee1 Handle paused/stopped/play state, version bump
Version 0.2.19.
2022-03-23 20:56:37 +09:00
Stephen Seo a48f801a02 Fix most clippy warnings, bump version 2022-01-13 10:07:01 +09:00
Stephen Seo 762d8bdabe 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.
2022-01-12 21:07:31 +09:00
Stephen Seo 2b90aed487 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.
2022-01-12 20:25:26 +09:00
Stephen Seo 0888ec3ff9 Replace magic numbers with consts, bump version 2022-01-11 18:30:12 +09:00
Stephen Seo b42aaeb35a Replace magic number with const, bump version 2022-01-10 21:37:43 +09:00
Stephen Seo cef1ae1aee Minor refactoring 2022-01-06 18:23:50 +09:00
Stephen Seo f98dc899f1 Fix most clippy warnings 2021-12-30 22:31:59 +09:00
Stephen Seo 336f338b32 Minor fix (same behavior, different "usage") 2021-12-30 22:22:57 +09:00
Stephen Seo 80abcb7436 Bump version to 0.2.7, minor fix 2021-12-30 22:18:03 +09:00
Stephen Seo acdf49dc4b Refactor MPDHandler to "hide" the Arc/RwLock impl 2021-12-30 22:16:12 +09:00
Stephen Seo f98fc1e24f Fix re-showing prompt on password fail, impl logs
Also bump version to 0.2.6
2021-12-20 17:41:32 +09:00
Stephen Seo d13a8a7b88 Fix album-art-data fetching, bump version 0.2.4 2021-12-18 15:52:50 +09:00
Stephen Seo a9d6efaf5c Refactor getting album art from handle to display
Avoids doing a copy of the album art data.
2021-12-18 15:37:50 +09:00
Stephen Seo 75ecbf932c Scale timer size based on window size 2021-12-16 21:09:00 +09:00
Stephen Seo 178e871490 Scale title/artist text based on window dimensions 2021-12-16 17:34:51 +09:00
Stephen Seo 78da393fac Impl hide text when "H" key is pressed 2021-12-16 17:28:47 +09:00
Stephen Seo 0077d460c6 Impl disabling showing specific info texts 2021-12-15 19:40:23 +09:00
Stephen Seo 570b6ab33c Add flag to disable fill-scaling album art 2021-12-15 19:32:37 +09:00
Stephen Seo 0cc86743a4 Impl fill-scale the album art to the window 2021-12-15 19:27:41 +09:00
Stephen Seo 01ca9d146e Efficiency refactorings 2021-12-15 19:19:35 +09:00
Stephen Seo 1dd1f49bec Impl info text
Doesn't yet handle flags to disable some info text.
2021-12-15 18:31:51 +09:00
Stephen Seo 432a487d32 WIP allow non-ascii chars for password input 2021-12-15 16:52:21 +09:00
Stephen Seo 9040f8f88e WIP impl album art display 2021-12-15 16:34:30 +09:00
Stephen Seo 20fd7d4f09 WIP Impl --pprompt 2021-12-15 14:55:20 +09:00
Stephen Seo 796ad86f19 WIP only update display if dirty_flag is set 2021-12-15 14:36:56 +09:00
Stephen Seo 866e88ba2a WIP several fixes
info output not implemented yet
2021-12-15 14:30:02 +09:00
Stephen Seo 70ecefaf30 WIP remove yielding in MPDDisplay::update() 2021-12-15 12:14:57 +09:00
Stephen Seo ed7755d953 WIP fix handling resizing 2021-12-14 19:54:13 +09:00
Stephen Seo a132d30f59 WIP some minor fixes 2021-12-14 19:49:31 +09:00
Stephen Seo e9d8e23cc3 WIP allow resizing, better handling of resizing 2021-12-14 18:59:27 +09:00
Stephen Seo 946eed5a69 WIP heavy refactoring/rewriting, use ggez 2021-12-14 18:30:55 +09:00