Replay song even if the server is not playing

This commit is contained in:
Andrzej Rybczak
2020-12-20 18:19:02 +01:00
parent ea3523ad60
commit 27b5bb6d1e
2 changed files with 2 additions and 3 deletions

View File

@@ -799,8 +799,7 @@ void DeleteStoredPlaylist::run()
void ReplaySong::run()
{
if (Status::State::player() != MPD::psStop)
Mpd.Play(Status::State::currentSongPosition());
Mpd.Play(Status::State::currentSongPosition());
}
void PreviousSong::run()

View File

@@ -178,7 +178,7 @@ void write_bindings(NC::Scrollpad &w)
key(w, Type::Pause, "Pause");
key(w, Type::Next, "Next track");
key(w, Type::Previous, "Previous track");
key(w, Type::ReplaySong, "Replay playing song");
key(w, Type::ReplaySong, "Replay the current song");
key(w, Type::SeekForward, "Seek forward in playing song");
key(w, Type::SeekBackward, "Seek backward in playing song");
key(w, Type::VolumeDown,