Commit graph

181 commits

Author SHA1 Message Date
Stephen Seo cc746fa11c Minor tweak to the remaining-time timer display 2021-09-17 15:11:22 +09:00
Stephen Seo 1d4a6d5f35 Minor tweaks to drawn text positions 2021-09-17 15:05:32 +09:00
Stephen Seo fefffd6f88
Update README.md 2021-09-17 14:54:25 +09:00
Stephen Seo d7e012b1e8 Add error text display if auth/other fails
Minor improvements/refactorings as well.
2021-09-17 14:41:02 +09:00
Stephen Seo bf62fde38d Fixes/refactorings/improvements
Add some "error handling" for authentication fail, album art fetch fail,
or getting status fail (if either of the three fails, then
mpd_info_screen will not try to authenticate/fetch-info again).

Some refactoring like using a struct instead of a tuple.

Improve drawing of text by caching the picked font size that is only
changed when the song changes or when the window dimensions change.
2021-09-17 14:22:56 +09:00
stephenseo 6850dced25 Update 'README.md' 2021-09-17 03:35:14 +00:00
Stephen Seo b90b1b4f09 Update README.md 2021-09-17 12:33:25 +09:00
Stephen Seo 217125eaee Output error lines 2021-09-17 12:33:09 +09:00
Stephen Seo 28fa5e1a32
Update README.md 2021-09-16 16:11:40 +09:00
Stephen Seo 8c26458b62
Update README.md 2021-09-16 16:10:45 +09:00
Stephen Seo d226584a4c Update README.md with usage 2021-09-16 16:08:29 +09:00
Stephen Seo 083955d5bd Add README.md, LICENSE 2021-09-16 16:06:26 +09:00
Stephen Seo 6f5f25503c Fix UTF-8 parsing from title of song 2021-09-16 15:21:33 +09:00
Stephen Seo 079477b282 Comment out "use" that was used for a debug fn 2021-09-16 14:48:49 +09:00
Stephen Seo 1e461e96eb Fix/tweak display time output 2021-09-16 14:48:03 +09:00
Stephen Seo 7a7883d359 Minor fix/tweak to display timer output 2021-09-16 14:46:44 +09:00
Stephen Seo ca925a9b50 Comment out unused debugging fn 2021-09-16 14:44:54 +09:00
Stephen Seo a373cf6a87 Apply cargo clippy fixes 2021-09-16 14:44:31 +09:00
Stephen Seo 29fccf4754 Display minutes with screen timer 2021-09-16 14:41:35 +09:00
Stephen Seo 37fa2bc7e2 Set default window size to be square 2021-09-16 14:19:34 +09:00
Stephen Seo b2524758e8 Comment out debug logs 2021-09-16 14:16:56 +09:00
Stephen Seo f55be0fe51 Also let "Q" quit application 2021-09-16 13:56:06 +09:00
Stephen Seo 83dcfe520d Impl display 2021-09-16 13:50:14 +09:00
Stephen Seo bea743d836 Verify getting albumart with debug write-to-file 2021-09-16 11:59:28 +09:00
Stephen Seo 410b854574 Impl reading binary data for albumart 2021-09-16 11:44:36 +09:00
Stephen Seo 8338902d50 Impl get required information periodically 2021-09-15 19:57:36 +09:00
Stephen Seo db111dc91e WIP more Impl (trying to get status information) 2021-09-15 19:17:50 +09:00
Stephen Seo ff327469f8 Minor tweaks and cargo fmt 2021-09-15 18:18:27 +09:00
Stephen Seo d9f8e75915 Impl enough to get "OK MPD ..." from mpd server 2021-09-15 18:16:22 +09:00
Stephen Seo df6844c487 Init skeleton rust project 2021-09-15 16:30:53 +09:00
Stephen Seo b8545e9835 Init empty commit 2021-09-15 16:30:41 +09:00