diff --git a/Persephone/MPDClient.swift b/Persephone/MPDClient.swift index cf61b4d..50b1f12 100644 --- a/Persephone/MPDClient.swift +++ b/Persephone/MPDClient.swift @@ -104,13 +104,13 @@ class MPDClient { } func sendNextTrack() { - if getState() == .playing { + if [.playing, .paused].contains(getState()) { mpd_run_next(connection) } } func sendPreviousTrack() { - if getState() == .playing { + if [.playing, .paused].contains(getState()) { mpd_run_previous(connection) } }