Harmon758 / mb_DiscordRichPresence

MusicBee plugin to show currently playing song as Discord Rich Presence
MIT License
43 stars 12 forks source link

Fixing the timer and adding more statuses #8

Open hadad95 opened 6 years ago

hadad95 commented 6 years ago

This PR fixes an issue that occurs when a song is paused, which causes the timer to reset and keep counting. Also added a state for when a song is stopped, and changing the state parameter in UpdatePresence() method from string to PlayState type, because we need to distinguish between "Playing" and "Paused/Stopped" states.