commit 7607911191b7e64b5da7a733b35befd275b2c76d from: Omar Polo date: Wed Mar 02 17:55:32 2022 UTC setsong in playlist_swap if the player is stopped commit - 3af9396383944c20699d5340bd000f7a5dafb387 commit + 7607911191b7e64b5da7a733b35befd275b2c76d blob - b17c51b79025f1f1bce141b64da8b26b5993a123 blob + c894ac7b7947fadaf474b84d9092827a6c926ff5 --- playlist.c +++ playlist.c @@ -82,6 +82,9 @@ playlist_swap(struct playlist *p, ssize_t off) playlist.len = p->len; playlist.cap = p->cap; playlist.songs = p->songs; + + if (play_state == STATE_STOPPED) + setsong(play_off); } void