tmus

TUI Music Player
git clone https://git.sinitax.com/sinitax/tmus
Log | Files | Refs | Submodules | LICENSE | sfeed.txt

commit d41f41db19ac3ed11272efeed43ddc9b0b1ae795
parent d7c7fa7971229dfdd8cab495de6e31b86b237e03
Author: Louis Burda <quent.burda@gmail.com>
Date:   Tue, 20 Dec 2022 18:09:37 +0100

Clear mplay player status on update

Diffstat:
Msrc/player_mplay.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/player_mplay.c b/src/player_mplay.c @@ -182,6 +182,8 @@ player_update(void) bool queue_empty; char *tok, *line; + player_clear_status(); + if (!player.loaded) { queue_empty = list_empty(&player.queue); if (player.track && player.autoplay || !queue_empty) {