Commit 10990a06 authored by Max Kellermann's avatar Max Kellermann

queue/Playlist: call MoveOrderToCurrent() in SeekSongOrder() on song change

Applies the improvements from the previous commit to the "seek" commands, which are also capable of switching songs. Closes #119
parent 91254e92
...@@ -223,6 +223,8 @@ playlist::SeekSongOrder(PlayerControl &pc, unsigned i, SongTime seek_time) ...@@ -223,6 +223,8 @@ playlist::SeekSongOrder(PlayerControl &pc, unsigned i, SongTime seek_time)
/* seeking is not within the current song - prepare /* seeking is not within the current song - prepare
song change */ song change */
i = MoveOrderToCurrent(i);
playing = true; playing = true;
current = i; current = i;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment