]> git.seodisparate.com - mpd_info_screen/log
mpd_info_screen
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

3 years agoImpl fill-scale the album art to the window
Stephen Seo [Wed, 15 Dec 2021 10:27:41 +0000 (19:27 +0900)]
Impl fill-scale the album art to the window

3 years agoEfficiency refactorings
Stephen Seo [Wed, 15 Dec 2021 10:19:35 +0000 (19:19 +0900)]
Efficiency refactorings

3 years agoImpl info text
Stephen Seo [Wed, 15 Dec 2021 09:31:51 +0000 (18:31 +0900)]
Impl info text

Doesn't yet handle flags to disable some info text.

3 years agoWIP allow non-ascii chars for password input
Stephen Seo [Wed, 15 Dec 2021 07:52:21 +0000 (16:52 +0900)]
WIP allow non-ascii chars for password input

3 years agoWIP minor fixes
Stephen Seo [Wed, 15 Dec 2021 07:40:56 +0000 (16:40 +0900)]
WIP minor fixes

3 years agoWIP minor fix
Stephen Seo [Wed, 15 Dec 2021 07:38:02 +0000 (16:38 +0900)]
WIP minor fix

3 years agoWIP impl album art display
Stephen Seo [Wed, 15 Dec 2021 07:34:30 +0000 (16:34 +0900)]
WIP impl album art display

3 years agoWIP Impl --pprompt
Stephen Seo [Wed, 15 Dec 2021 05:55:20 +0000 (14:55 +0900)]
WIP Impl --pprompt

3 years agoWIP Stop MPDHandler thread on failed auth
Stephen Seo [Wed, 15 Dec 2021 05:45:34 +0000 (14:45 +0900)]
WIP Stop MPDHandler thread on failed auth

3 years agoWIP only update display if dirty_flag is set
Stephen Seo [Wed, 15 Dec 2021 05:36:56 +0000 (14:36 +0900)]
WIP only update display if dirty_flag is set

3 years agoWIP several fixes
Stephen Seo [Wed, 15 Dec 2021 05:30:02 +0000 (14:30 +0900)]
WIP several fixes

info output not implemented yet

3 years agoWIP remove yielding in MPDDisplay::update()
Stephen Seo [Wed, 15 Dec 2021 03:14:57 +0000 (12:14 +0900)]
WIP remove yielding in MPDDisplay::update()

3 years agoWIP Fix typo
Stephen Seo [Tue, 14 Dec 2021 12:41:38 +0000 (21:41 +0900)]
WIP Fix typo

3 years agoWIP add debug logging
Stephen Seo [Tue, 14 Dec 2021 12:40:53 +0000 (21:40 +0900)]
WIP add debug logging

3 years agoWIP fix handling resizing
Stephen Seo [Tue, 14 Dec 2021 10:54:13 +0000 (19:54 +0900)]
WIP fix handling resizing

3 years agoWIP some minor fixes
Stephen Seo [Tue, 14 Dec 2021 10:49:31 +0000 (19:49 +0900)]
WIP some minor fixes

3 years agoWIP Custom event_loop for forced low fps
Stephen Seo [Tue, 14 Dec 2021 10:39:09 +0000 (19:39 +0900)]
WIP Custom event_loop for forced low fps

3 years agoWIP actually use "error_text" in MPDHandler
Stephen Seo [Tue, 14 Dec 2021 10:15:23 +0000 (19:15 +0900)]
WIP actually use "error_text" in MPDHandler

3 years agoWIP allow resizing, better handling of resizing
Stephen Seo [Tue, 14 Dec 2021 09:59:27 +0000 (18:59 +0900)]
WIP allow resizing, better handling of resizing

3 years agoWIP heavy refactoring/rewriting, use ggez
Stephen Seo [Tue, 14 Dec 2021 09:30:02 +0000 (18:30 +0900)]
WIP heavy refactoring/rewriting, use ggez

3 years agoFix parse data failure from MPD with "OK" string 0.1.0
Stephen Seo [Mon, 11 Oct 2021 12:36:29 +0000 (21:36 +0900)]
Fix parse data failure from MPD with "OK" string

3 years agoMinor tweaks to font size of title/artist
Stephen Seo [Mon, 11 Oct 2021 09:53:28 +0000 (18:53 +0900)]
Minor tweaks to font size of title/artist

3 years agoAdjust display title/artist sizes
Stephen Seo [Tue, 5 Oct 2021 06:55:53 +0000 (15:55 +0900)]
Adjust display title/artist sizes

3 years agoFix invalid if condition to fetch shared data
Stephen Seo [Tue, 21 Sep 2021 03:45:27 +0000 (12:45 +0900)]
Fix invalid if condition to fetch shared data

3 years agoUse atomic_bool for dirty flag
Stephen Seo [Mon, 20 Sep 2021 13:44:04 +0000 (22:44 +0900)]
Use atomic_bool for dirty flag

3 years agoMinor refactorings
Stephen Seo [Mon, 20 Sep 2021 13:08:36 +0000 (22:08 +0900)]
Minor refactorings

3 years agoFix sleeping on polling album art
Stephen Seo [Mon, 20 Sep 2021 11:45:07 +0000 (20:45 +0900)]
Fix sleeping on polling album art

3 years agoMinor fixes/improvements/refactorings
Stephen Seo [Mon, 20 Sep 2021 05:35:43 +0000 (14:35 +0900)]
Minor fixes/improvements/refactorings

3 years agoMinor improvements/tweaks/refactorings
Stephen Seo [Mon, 20 Sep 2021 05:09:50 +0000 (14:09 +0900)]
Minor improvements/tweaks/refactorings

3 years agoRefactorings and improvements
Stephen Seo [Sat, 18 Sep 2021 05:00:41 +0000 (14:00 +0900)]
Refactorings and improvements

3 years agoUpdate README.md
Stephen Seo [Fri, 17 Sep 2021 11:52:07 +0000 (20:52 +0900)]
Update README.md

3 years agoImpl hiding drawn text with "H" key
Stephen Seo [Fri, 17 Sep 2021 11:51:39 +0000 (20:51 +0900)]
Impl hiding drawn text with "H" key

3 years agoImpl password input prompt, improve help info
Stephen Seo [Fri, 17 Sep 2021 11:35:49 +0000 (20:35 +0900)]
Impl password input prompt, improve help info

3 years agoUpdate README.md
Stephen Seo [Fri, 17 Sep 2021 11:09:39 +0000 (20:09 +0900)]
Update README.md

3 years agoUpdate README.md
Stephen Seo [Fri, 17 Sep 2021 11:00:01 +0000 (20:00 +0900)]
Update README.md

3 years agoImpl title and artist display with existing
Stephen Seo [Fri, 17 Sep 2021 10:58:20 +0000 (19:58 +0900)]
Impl title and artist display with existing

3 years agoImpl fetching album art that isn't embedded
Stephen Seo [Fri, 17 Sep 2021 09:23:55 +0000 (18:23 +0900)]
Impl fetching album art that isn't embedded

3 years agoMinor tweak to the remaining-time timer display
Stephen Seo [Fri, 17 Sep 2021 06:11:22 +0000 (15:11 +0900)]
Minor tweak to the remaining-time timer display

3 years agoMinor tweaks to drawn text positions
Stephen Seo [Fri, 17 Sep 2021 06:05:32 +0000 (15:05 +0900)]
Minor tweaks to drawn text positions

3 years agoUpdate README.md
Stephen Seo [Fri, 17 Sep 2021 05:54:25 +0000 (14:54 +0900)]
Update README.md

3 years agoAdd error text display if auth/other fails
Stephen Seo [Fri, 17 Sep 2021 05:41:02 +0000 (14:41 +0900)]
Add error text display if auth/other fails

Minor improvements/refactorings as well.

3 years agoFixes/refactorings/improvements
Stephen Seo [Fri, 17 Sep 2021 05:22:56 +0000 (14:22 +0900)]
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.

3 years agoUpdate 'README.md'
stephenseo [Fri, 17 Sep 2021 03:35:14 +0000 (03:35 +0000)]
Update 'README.md'

3 years agoUpdate README.md
Stephen Seo [Thu, 16 Sep 2021 07:42:19 +0000 (16:42 +0900)]
Update README.md

3 years agoOutput error lines
Stephen Seo [Thu, 16 Sep 2021 07:33:40 +0000 (16:33 +0900)]
Output error lines

3 years agoUpdate README.md
Stephen Seo [Thu, 16 Sep 2021 07:11:40 +0000 (16:11 +0900)]
Update README.md

3 years agoUpdate README.md
Stephen Seo [Thu, 16 Sep 2021 07:10:45 +0000 (16:10 +0900)]
Update README.md

3 years agoUpdate README.md with usage
Stephen Seo [Thu, 16 Sep 2021 07:08:29 +0000 (16:08 +0900)]
Update README.md with usage

3 years agoAdd README.md, LICENSE
Stephen Seo [Thu, 16 Sep 2021 07:06:26 +0000 (16:06 +0900)]
Add README.md, LICENSE

3 years agoFix UTF-8 parsing from title of song
Stephen Seo [Thu, 16 Sep 2021 06:21:33 +0000 (15:21 +0900)]
Fix UTF-8 parsing from title of song

3 years agoComment out "use" that was used for a debug fn
Stephen Seo [Thu, 16 Sep 2021 05:48:49 +0000 (14:48 +0900)]
Comment out "use" that was used for a debug fn

3 years agoFix/tweak display time output
Stephen Seo [Thu, 16 Sep 2021 05:48:03 +0000 (14:48 +0900)]
Fix/tweak display time output

3 years agoMinor fix/tweak to display timer output
Stephen Seo [Thu, 16 Sep 2021 05:46:44 +0000 (14:46 +0900)]
Minor fix/tweak to display timer output

3 years agoComment out unused debugging fn
Stephen Seo [Thu, 16 Sep 2021 05:44:54 +0000 (14:44 +0900)]
Comment out unused debugging fn

3 years agoApply cargo clippy fixes
Stephen Seo [Thu, 16 Sep 2021 05:44:31 +0000 (14:44 +0900)]
Apply cargo clippy fixes

3 years agoDisplay minutes with screen timer
Stephen Seo [Thu, 16 Sep 2021 05:41:35 +0000 (14:41 +0900)]
Display minutes with screen timer

3 years agoSet default window size to be square
Stephen Seo [Thu, 16 Sep 2021 05:19:34 +0000 (14:19 +0900)]
Set default window size to be square

3 years agoComment out debug logs
Stephen Seo [Thu, 16 Sep 2021 05:16:56 +0000 (14:16 +0900)]
Comment out debug logs

3 years agoAlso let "Q" quit application
Stephen Seo [Thu, 16 Sep 2021 04:56:06 +0000 (13:56 +0900)]
Also let "Q" quit application

3 years agoImpl display
Stephen Seo [Thu, 16 Sep 2021 04:50:14 +0000 (13:50 +0900)]
Impl display

3 years agoVerify getting albumart with debug write-to-file
Stephen Seo [Thu, 16 Sep 2021 02:59:28 +0000 (11:59 +0900)]
Verify getting albumart with debug write-to-file

3 years agoImpl reading binary data for albumart
Stephen Seo [Thu, 16 Sep 2021 02:44:36 +0000 (11:44 +0900)]
Impl reading binary data for albumart

3 years agoImpl get required information periodically
Stephen Seo [Wed, 15 Sep 2021 10:57:36 +0000 (19:57 +0900)]
Impl get required information periodically

3 years agoWIP more Impl (trying to get status information)
Stephen Seo [Wed, 15 Sep 2021 10:17:50 +0000 (19:17 +0900)]
WIP more Impl (trying to get status information)

3 years agoMinor tweaks and cargo fmt
Stephen Seo [Wed, 15 Sep 2021 09:18:27 +0000 (18:18 +0900)]
Minor tweaks and cargo fmt

3 years agoImpl enough to get "OK MPD ..." from mpd server
Stephen Seo [Wed, 15 Sep 2021 09:16:22 +0000 (18:16 +0900)]
Impl enough to get "OK MPD ..." from mpd server

3 years agoInit skeleton rust project
Stephen Seo [Wed, 15 Sep 2021 07:30:53 +0000 (16:30 +0900)]
Init skeleton rust project

3 years agoInit empty commit
Stephen Seo [Wed, 15 Sep 2021 07:30:41 +0000 (16:30 +0900)]
Init empty commit