aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/player_control.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/player_control.c b/src/player_control.c
index 2754c3432..a49fcecc9 100644
--- a/src/player_control.c
+++ b/src/player_control.c
@@ -229,13 +229,10 @@ pc_seek(struct song *song, float seek_time)
return false;
pc.next_song = song;
+ pc.seek_where = seek_time;
+ player_command(PLAYER_COMMAND_SEEK);
- if (pc.error == PLAYER_ERROR_NOERROR) {
- pc.seek_where = seek_time;
- player_command(PLAYER_COMMAND_SEEK);
-
- idle_add(IDLE_PLAYER);
- }
+ idle_add(IDLE_PLAYER);
return true;
}