TheQwertiest / foo_discord_rich

foobar2000 component for integration with Discord Rich Presence
https://theqwertiest.github.io/foo_discord_rich/
MIT License
405 stars 40 forks source link

Possibility to add a option to display current time with length of the track. #11

Closed AntonShad closed 4 years ago

AntonShad commented 5 years ago

I have been wanting to have a setting to display in the presence the elapsed time with the length of the track itself. It would be like "%elapsedTime% / %trackLength%". This would be so that if other users look at the presence they can see the information that the current elapsed and remaining time options give using math themselves.

TheQwertiest commented 4 years ago

Regretfully, it can't be done: Discord Rich Presence API only allows either of the two: elapsed time or remaining time. It does not allow to display both of them simultaneously =(