playlist: check "queued" before calling playlist_update_queued_song()
Workaround for an assertion failure.
This commit is contained in:
parent
442b327582
commit
9fb26b5617
@ -238,7 +238,7 @@ playlist_sync(struct playlist *playlist)
|
||||
|
||||
/* make sure the queued song is always set (if
|
||||
possible) */
|
||||
if (pc.next_song == NULL)
|
||||
if (pc.next_song == NULL && playlist->queued != -1)
|
||||
playlist_update_queued_song(playlist, NULL);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user