Add comment for Mac OS X volume reset workaround.
This commit is contained in:
parent
9d931adf4a
commit
090518b96d
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user