summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrzej Rybczak <andrzej@rybczak.net>2020-12-20 18:18:04 +0100
committerAndrzej Rybczak <andrzej@rybczak.net>2020-12-20 18:18:04 +0100
commitea3523ad60fc6bd60d71aec9f8b43a0007dc0352 (patch)
treefec153a70f8d929fb94d4c170ed3eea1761f8d27
parent21c3ad4fc563aeac7bfb2212c519dac358642d4b (diff)
Improved ReplaySong
-rw-r--r--src/actions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/actions.cpp b/src/actions.cpp
index 2ea210c9..128355c7 100644
--- a/src/actions.cpp
+++ b/src/actions.cpp
@@ -800,7 +800,7 @@ void DeleteStoredPlaylist::run()
void ReplaySong::run()
{
if (Status::State::player() != MPD::psStop)
- Mpd.Seek(Status::State::currentSongPosition(), 0);
+ Mpd.Play(Status::State::currentSongPosition());
}
void PreviousSong::run()