Skip to content

Commit

Permalink
Fix get currently playing
Browse files Browse the repository at this point in the history
  • Loading branch information
iam4722202468 committed Mar 10, 2023
1 parent 2fc622d commit 81267ea
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ public void destroy() {
}

public String getPlaying() {
if (this.playingOnce != null) return this.playingOnce;
var playing = this.repeating.firstEntry();
return playing != null ? playing.getValue() : null;
}
Expand Down

0 comments on commit 81267ea

Please sign in to comment.