commit 0be6c0b1527db99916ee74e3d879e9a8151ef5ad from: Omar Polo date: Tue Feb 22 12:19:30 2022 UTC always call playlist_dropcurrent after main_play_song failures otherwise we keep garbage in the playing queue. commit - 601093db002025f856a835250585bc4d136ea068 commit + 0be6c0b1527db99916ee74e3d879e9a8151ef5ad blob - 66d8f2f759023dee40dbee3d42f1c94cd672150b blob + 40c360f1c9cb816c6794bf8b3a5d8108bf8d9a00 --- amused.c +++ amused.c @@ -133,9 +133,11 @@ main_dispatch_player(int sig, short event, void *d) playlist_dropcurrent(); /* fallthrough */ case IMSG_EOF: - if (repeat_one && current_song != NULL) + if (repeat_one && current_song != NULL) { if (main_play_song(current_song)) break; + playlist_dropcurrent(); + } main_playlist_advance(); if (play_state == STATE_PLAYING) control_notify(NULL, IMSG_CTL_NEXT);