Commit Graph

5 Commits

Author SHA1 Message Date
Zephyron
6d53fec8db discord: optimize RPC game image loading
- Remove blocking network timeout check that was causing 5-second delays
- Simplify logic to always attempt using Tinfoil game images
- Let Discord handle image loading and fallback gracefully
- Clean up URL formatting for better consistency
- Remove unnecessary network validation that caused false negatives

This fixes the issue where Discord RPC would fall back to default
Citron logo due to network timeouts, allowing game-specific artwork
to display properly from Tinfoil's CDN.

Signed-off-by: Zephyron <zephyron@citron-emu.org>
2025-10-17 17:31:20 +10:00
collecting
c456f521e9 fix: Discord Rich Presence Timer 2025-10-02 23:58:53 +00:00
collecting
af86d09b45 Edit discord_impl.cpp 2025-10-02 07:10:58 +00:00
Zephyron
3eec1ced93 feat(discord): Update Discord integration and game art fetching
- Updates the Discord application Client ID.
- Changes the game art source from static URLs on `citron-emu.org` to dynamically fetched images from `tinfoil.media` using the game's title ID.
- Removes the `GetGameString` function, as the URL formatting logic has changed.
- Modifies `UpdateGameStatus` and `Update` to accommodate the new image fetching mechanism and use the title ID.
- Adds new members to `DiscordImpl` to store title ID and cache image URLs.
- Updates copyright information in `discord_impl.cpp` and `discord_impl.h`.

Signed-off-by: Zephyron <zephyron@citron-emu.org>
2025-05-06 16:42:30 +10:00
Zephyron
bfb82e577c chore: update project branding to citron
Signed-off-by: Zephyron <zephyron@citron-emu.org>
2025-05-06 16:06:48 +10:00