playlist_state: don't save "current" song when none is set
This patch fixes an assertion failure:
Assertion `order < queue->length' failed.
This happens when the state file is saved, when there is no "current"
song: current==-1, and queue_order_to_position(-1) is called.
Showing
Please
register
or
sign in
to comment