aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--src/player_control.c3
2 files changed, 1 insertions, 3 deletions
diff --git a/NEWS b/NEWS
index 7e7f128c3..eab7062fd 100644
--- a/NEWS
+++ b/NEWS
@@ -13,6 +13,7 @@ ver 0.16.5 (2010/??/??)
* player:
- make seeking to CUE track more reliable
- the "seek" command works when MPD is stopped
+ - restore song position from state file (bug fix)
* WIN32: close sockets properly
* install systemd service file if systemd is available
diff --git a/src/player_control.c b/src/player_control.c
index a190bbd8b..e3e6b7739 100644
--- a/src/player_control.c
+++ b/src/player_control.c
@@ -309,9 +309,6 @@ pc_seek(struct song *song, float seek_time)
{
assert(song != NULL);
- if (pc.state == PLAYER_STATE_STOP)
- return false;
-
player_lock();
pc.next_song = song;
pc.seek_where = seek_time;