From 090518b96dd35c4bbe8284a701b4279bf394e7a6 Mon Sep 17 00:00:00 2001 From: jcass Date: Wed, 4 Feb 2015 07:46:31 +0200 Subject: [PATCH] Add comment for Mac OS X volume reset workaround. --- mopidy/audio/actor.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mopidy/audio/actor.py b/mopidy/audio/actor.py index 9059cf89..8f374257 100644 --- a/mopidy/audio/actor.py +++ b/mopidy/audio/actor.py @@ -320,6 +320,9 @@ class Audio(pykka.ThreadingActor): :param uri: the URI to play :type uri: string """ + # Note: Hack to workaround issue on Mac OS X where volume level + # does not persist between track changes. + # https://github.com/mopidy/mopidy/issues/886 current_volume = self.get_volume() self._playbin.set_property('uri', uri) self.set_volume(current_volume)