Skip to content

Commit

Permalink
imp - Redraw when playing next song automatically
Browse files Browse the repository at this point in the history
---

If one music ended and the CLI goes to the next one, we should re-draw.

---

Type: imp
Breaking: False
Doc Required: False
Backport Required: False
Part: 1/1
  • Loading branch information
AptiviCEO committed Sep 19, 2024
1 parent 923d0bc commit 908be9d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions BassBoom.Cli/CliBase/Player.cs
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,10 @@ private static void HandlePlay()
if (!Common.advance || Common.exiting)
return;
else
{
Common.redraw = true;
Common.populate = true;
}
Common.currentPos = Common.cachedInfos.IndexOf(musicFile) + 1;
PlayerControls.PopulateMusicFileInfo(musicFile.MusicPath);
if (Common.paused)
Expand Down

0 comments on commit 908be9d

Please sign in to comment.