7616f1e3f2
Fix key_press event not only on key down
2021-12-16 11:19:32 +09:00
7fb3525ec7
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).
2021-12-16 11:10:10 +09:00
0077d460c6
Impl disabling showing specific info texts
2021-12-15 19:40:23 +09:00
570b6ab33c
Add flag to disable fill-scaling album art
2021-12-15 19:32:37 +09:00
0cc86743a4
Impl fill-scale the album art to the window
2021-12-15 19:27:41 +09:00
01ca9d146e
Efficiency refactorings
2021-12-15 19:19:35 +09:00
1dd1f49bec
Impl info text
...
Doesn't yet handle flags to disable some info text.
2021-12-15 18:31:51 +09:00
432a487d32
WIP allow non-ascii chars for password input
2021-12-15 16:52:21 +09:00
4eefb74eee
WIP minor fixes
2021-12-15 16:40:56 +09:00
6d121562af
WIP minor fix
2021-12-15 16:38:02 +09:00
9040f8f88e
WIP impl album art display
2021-12-15 16:34:30 +09:00
20fd7d4f09
WIP Impl --pprompt
2021-12-15 14:55:20 +09:00
2ad82e68df
WIP Stop MPDHandler thread on failed auth
2021-12-15 14:45:34 +09:00
796ad86f19
WIP only update display if dirty_flag is set
2021-12-15 14:36:56 +09:00
866e88ba2a
WIP several fixes
...
info output not implemented yet
2021-12-15 14:30:02 +09:00
70ecefaf30
WIP remove yielding in MPDDisplay::update()
2021-12-15 12:14:57 +09:00
77b2fba1a7
WIP Fix typo
2021-12-14 21:41:38 +09:00
4b8a5a65e1
WIP add debug logging
2021-12-14 21:40:53 +09:00
ed7755d953
WIP fix handling resizing
2021-12-14 19:54:13 +09:00
a132d30f59
WIP some minor fixes
2021-12-14 19:49:31 +09:00
086ab048fc
WIP Custom event_loop for forced low fps
2021-12-14 19:39:09 +09:00
a1e692bb2d
WIP actually use "error_text" in MPDHandler
2021-12-14 19:15:23 +09:00
e9d8e23cc3
WIP allow resizing, better handling of resizing
2021-12-14 18:59:27 +09:00
946eed5a69
WIP heavy refactoring/rewriting, use ggez
2021-12-14 18:30:55 +09:00
5425671920
Fix parse data failure from MPD with "OK" string
2021-10-11 21:36:29 +09:00
115c81583e
Minor tweaks to font size of title/artist
2021-10-11 18:53:28 +09:00
a2e75d1583
Adjust display title/artist sizes
2021-10-05 15:55:53 +09:00
c7bacf33e3
Fix invalid if condition to fetch shared data
2021-09-21 12:45:27 +09:00
e45c214be9
Use atomic_bool for dirty flag
2021-09-20 22:44:04 +09:00
76372e4f97
Minor refactorings
2021-09-20 22:08:36 +09:00
92f2a441a4
Fix sleeping on polling album art
2021-09-20 20:45:07 +09:00
726cbdb1ef
Minor fixes/improvements/refactorings
2021-09-20 14:35:43 +09:00
022b765104
Minor improvements/tweaks/refactorings
2021-09-20 14:09:50 +09:00
88a172a8cb
Refactorings and improvements
2021-09-18 14:00:41 +09:00
ca714f6de2
Impl hiding drawn text with "H" key
2021-09-17 20:51:39 +09:00
78c18afe5e
Impl password input prompt, improve help info
2021-09-17 20:35:49 +09:00
05aa505694
Impl title and artist display with existing
2021-09-17 19:58:20 +09:00
f9ff594437
Impl fetching album art that isn't embedded
2021-09-17 18:24:17 +09:00
cc746fa11c
Minor tweak to the remaining-time timer display
2021-09-17 15:11:22 +09:00
1d4a6d5f35
Minor tweaks to drawn text positions
2021-09-17 15:05:32 +09:00
d7e012b1e8
Add error text display if auth/other fails
...
Minor improvements/refactorings as well.
2021-09-17 14:41:02 +09:00
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
217125eaee
Output error lines
2021-09-17 12:33:09 +09:00
6f5f25503c
Fix UTF-8 parsing from title of song
2021-09-16 15:21:33 +09:00
079477b282
Comment out "use" that was used for a debug fn
2021-09-16 14:48:49 +09:00
1e461e96eb
Fix/tweak display time output
2021-09-16 14:48:03 +09:00
7a7883d359
Minor fix/tweak to display timer output
2021-09-16 14:46:44 +09:00
ca925a9b50
Comment out unused debugging fn
2021-09-16 14:44:54 +09:00
a373cf6a87
Apply cargo clippy fixes
2021-09-16 14:44:31 +09:00
29fccf4754
Display minutes with screen timer
2021-09-16 14:41:35 +09:00
37fa2bc7e2
Set default window size to be square
2021-09-16 14:19:34 +09:00
b2524758e8
Comment out debug logs
2021-09-16 14:16:56 +09:00
f55be0fe51
Also let "Q" quit application
2021-09-16 13:56:06 +09:00
83dcfe520d
Impl display
2021-09-16 13:50:14 +09:00
bea743d836
Verify getting albumart with debug write-to-file
2021-09-16 11:59:28 +09:00
410b854574
Impl reading binary data for albumart
2021-09-16 11:44:36 +09:00
8338902d50
Impl get required information periodically
2021-09-15 19:57:36 +09:00
db111dc91e
WIP more Impl (trying to get status information)
2021-09-15 19:17:50 +09:00
ff327469f8
Minor tweaks and cargo fmt
2021-09-15 18:18:27 +09:00
d9f8e75915
Impl enough to get "OK MPD ..." from mpd server
2021-09-15 18:16:22 +09:00
df6844c487
Init skeleton rust project
2021-09-15 16:30:53 +09:00