feat: discord rich presence #49

Merged
tygrdev merged 10 commits from feat/discord-rich-presence into main 2025-12-19 21:03:35 +01:00
Contributor
No description provided.
insberr self-assigned this 2025-12-18 03:42:19 +01:00
Author
Contributor

@wackery can you please implement the data: url stuff

@wackery can you please implement the data: url stuff
Author
Contributor

Things that still need to be done:

  • Clearing the discord status when the song is paused, and then setting it back when the song plays again.
  • Seeking needs to update the timestamp bar in discord. yay hfgl
  • @wackery suggested an alternative to spawning a new thread every time we update the discord status (see code for comment on why we spawn threads. hfgl)
Things that still need to be done: - Clearing the discord status when the song is paused, and then setting it back when the song plays again. - Seeking needs to update the timestamp bar in discord. yay hfgl - @wackery suggested an alternative to spawning a new thread every time we update the discord status (see code for comment on why we spawn threads. hfgl)
Owner

:fear:

:fear:
Owner

it blocks??? that’s hilarious

it blocks??? that’s hilarious
Author
Contributor

So when you make a request to update the discord status, it blocks until the discord api responds. which in most cases probably isnt a huge issue, except discord seems to take a few seconds to reply which has the entire main thread to be blocked waiting.

So when you make a request to update the discord status, it blocks until the discord api responds. which in most cases _probably_ isnt a huge issue, except discord seems to take a few seconds to reply which has the entire main thread to be blocked waiting.
logo placeholder until album images work
Some checks failed
/ build (push) Failing after 2m2s
d280e59e8e
fine
Some checks failed
/ build (push) Has been cancelled
4b0bbedc6a
Author
Contributor

Apart from some [probably bad] code architecture and failing CI due to my awful rust understanding, everything is working except album images. We decided album images will be implemented in the future after/during lastfm integration.

Apart from some [probably bad] code architecture and failing CI due to my awful rust understanding, everything is working except album images. We decided album images will be implemented in the future after/during lastfm integration.
insberr changed title from WIP: feat: discord rich presence to feat: discord rich presence 2025-12-19 04:09:28 +01:00
wackery force-pushed feat/discord-rich-presence from 4b0bbedc6a
Some checks failed
/ build (push) Has been cancelled
to d94f4c3faa
Some checks failed
/ build (push) Failing after 1m59s
2025-12-19 04:10:16 +01:00
Compare
tygrdev force-pushed feat/discord-rich-presence from d94f4c3faa
Some checks failed
/ build (push) Failing after 1m59s
to a8625f5369
Some checks are pending
/ build (push) Waiting to run
2025-12-19 17:21:11 +01:00
Compare
feat: add debounce
Some checks failed
/ build (push) Failing after 1m59s
d5644b9f2c
fix: linting
All checks were successful
/ build (push) Successful in 1m51s
edb87f48b0
tygrdev approved these changes 2025-12-19 21:00:32 +01:00
tygrdev deleted branch feat/discord-rich-presence 2025-12-19 21:03:35 +01:00
tygrdev referenced this pull request from a commit 2025-12-19 21:03:37 +01:00
Commenting is not possible because the repository is archived.
No description provided.