From 22ec9d906032c6341dd290f8d400c4234c9ee0dd Mon Sep 17 00:00:00 2001 From: Thomas Adamcik Date: Fri, 4 Dec 2015 22:11:55 +0100 Subject: [PATCH] mpd: Add missing seeked event handling for idle Fixes #1331 (cherry picked from commit 19daa89e15efa64cc128e742f6f8d3426f1adb0b) --- docs/changelog.rst | 2 ++ mopidy/mpd/actor.py | 3 +++ 2 files changed, 5 insertions(+) diff --git a/docs/changelog.rst b/docs/changelog.rst index bc596d87..7637de58 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -17,6 +17,8 @@ Bug fix release. - Local: If the scan or clear commands are used on a library that does not exist, exit with an error. (Fixes: :issue:`1298`) +- MPD: Notify idling clients when a seek is performed. (Fixes: :issue:`1331`) + v1.1.1 (2015-09-14) =================== diff --git a/mopidy/mpd/actor.py b/mopidy/mpd/actor.py index 8eb59c1f..58c758e4 100644 --- a/mopidy/mpd/actor.py +++ b/mopidy/mpd/actor.py @@ -77,3 +77,6 @@ class MpdFrontend(pykka.ThreadingActor, CoreListener): def stream_title_changed(self, title): self.send_idle('playlist') + + def seeked(self, time_position): + self.send_idle('player')