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

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