7xnl
54679b1d57
discord: fixed timestamp update when seeking
...
When seeking in a song, `RichPresence::Seeked()` receives the new
position in microseconds and is supposed to update the RPC timestamp
with the new position in seconds. However, it actually converts the
value to milliseconds, meaning that if, for example, you seek to 0:05 in
a song, Discord will think you seeked to 83:20, or 5000 seconds from the
beginning of the song.
This commit fixes this by simply dividing the microseconds value by one
million instead of one thousand.
2025-09-11 23:40:40 +02:00
7xnl
b5fd3d5717
Add settings customize Discord status text
...
The new settings let you customize the "Listening to" status text, according to the [status display types](https://discord.com/developers/docs/events/gateway-events#activity-object ).
Fixes #1796 .
2025-08-31 22:11:59 +02:00
Jonas Kvinge
835090dd96
RichPresence: Disable Discord desktop file creation
...
Fixes #1771
2025-07-29 00:45:36 +02:00
Jonas Kvinge
6fa9514059
RichPresence: Only initialize discord when enabled
2025-04-13 21:45:55 +02:00
Jonas Kvinge
c5e38b71f7
discord_rpc: Use anonymous namespace
2025-04-13 21:34:40 +02:00
Jonas Kvinge
3746915ae7
RichPresence: Always include album
2025-04-13 19:19:53 +02:00
Jonas Kvinge
21bdf88d09
RichPresence: Remove unused variable
2025-04-13 12:16:57 +02:00
Jonas Kvinge
ff032c3cd7
RichPresence: Remove rate limit
2025-04-13 12:01:56 +02:00
Jonas Kvinge
c083110051
RichPresence: Move variable declaration
...
Fixes #1718
2025-04-13 11:52:16 +02:00
Jonas Kvinge
634f6ea9f5
discord-rpc: Formatting
2025-04-12 13:17:00 +02:00
Jonas Kvinge
a9f2c384fa
RichPresence: Use class for activity
2025-04-08 20:52:34 +02:00
Jonas Kvinge
6f0f88dd01
RichPresence: Simplify code
2025-04-03 22:21:51 +02:00
Jonas Kvinge
d5f7a4b883
RichPresence: Formatting and add settings reload
2025-03-30 00:06:05 +01:00
Jonas Kvinge
bbd8a24b75
discord: Add namespace and cleanup CMakeLists
2025-03-29 22:41:58 +01:00
fruityloops1
9fa9012c70
Discord RPC implementation
2025-03-29 22:41:58 +01:00