On the intial load of the Discord RPC plugin, currentTime is 0, which is normally used to detect a song loading. Thus, the plugin thinks a song is loading, and shows it as playing, even though it's not.
This fixes that bug by requiring previousActivity to be set for a song to be considered loading.
On the intial load of the Discord RPC plugin,
currentTime
is0
, which is normally used to detect a song loading. Thus, the plugin thinks a song is loading, and shows it as playing, even though it's not.This fixes that bug by requiring
previousActivity
to be set for a song to be considered loading.