Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Track Duration setting not available #67

Closed
begna112 opened this issue Aug 14, 2024 · 5 comments
Closed

Track Duration setting not available #67

begna112 opened this issue Aug 14, 2024 · 5 comments
Labels
API limitation Can't be addressed due to fb2k or Discord API limitations as designed

Comments

@begna112
Copy link

image
image

This used to work, but doesn't seem to now. Updated from 1.2.1 to 2.0.2. (Granted, 1.2.1 wasn't working at all anymore.)

@skyisthela
Copy link

same issue here, the %playback_time% syntax is also wonky and unreliable :p

@PlaylistsTrance
Copy link

PlaylistsTrance commented Aug 15, 2024

See the patch notes for v2.0.0 https://github.com/TheQwertiest/foo_discord_rich/releases/tag/v2.0.0
It has something to do with limitations of the Discord API. However, seemingly Discord is planning to add time bar support in the future: discord/discord-api-docs#7033 (comment)

@skyisthela
Copy link

See the patch notes for v2.0.0 https://github.com/TheQwertiest/foo_discord_rich/releases/tag/v2.0.0 It has something to do with limitations of the Discord API. However, seemingly Discord is planning to add time bar support in the future: discord/discord-api-docs#7033 (comment)

alright, thanks for the insight

@TheQwertiest
Copy link
Owner

TheQwertiest commented Aug 19, 2024

Yea, track duration was only available in old "Playing a game" activity type and is not available in "Listening to" type.
It's possible to add an option to use old activity type (and thus activity time), but for now I'm not sure I want to do that (because "Playing a game foobar2000" is so janky :D).

PS: %playback_time% and other very dynamic fields can't be relied upon, since Rich Presense updates are heavily throttled by Discord (no more than once per 15 seconds).

@Otuxam3
Copy link

Otuxam3 commented Sep 28, 2024

Now officially added and documented as per discord/discord-api-docs#7166
The time bar is working and some got the chance to try it out as soon as it was made available. (#81)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API limitation Can't be addressed due to fb2k or Discord API limitations as designed
Projects
None yet
Development

No branches or pull requests

5 participants