Commit Diff
--- web/web.c +++ web/web.c @@ -494,7 +494,8 @@ imsg_dispatch(int fd, int ev, void *d) if (playlist_tmp.len == 0) { dispatch_event("x:"); off = -1; - } + } else if (playlist_tmp.len == off) + off = -1; playlist_swap(&playlist_tmp, off); memset(&playlist_tmp, 0, sizeof(playlist_tmp)); off = 0;