Replay song even if the server is not playing
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user