diff --git a/mopidy/frontends/mpd/protocol/current_playlist.py b/mopidy/frontends/mpd/protocol/current_playlist.py index 1c1c1764..30acbe89 100644 --- a/mopidy/frontends/mpd/protocol/current_playlist.py +++ b/mopidy/frontends/mpd/protocol/current_playlist.py @@ -83,6 +83,8 @@ def deleteid(frontend, cpid): """ try: cpid = int(cpid) + if frontend.backend.playback.current_cpid == cpid: + frontend.backend.playback.next() return frontend.backend.current_playlist.remove(cpid=cpid) except LookupError: raise MpdNoExistError(u'No such song', command=u'deleteid')