Skip to content

Commit

Permalink
Re-set volume explicitly to the current level whenever changing tracks.
Browse files Browse the repository at this point in the history
 Workaround for issue mopidy#886.
  • Loading branch information
jcass77 committed Feb 3, 2015
1 parent e0dd9bc commit 9d931ad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mopidy/audio/actor.py
Expand Up @@ -320,7 +320,9 @@ def set_uri(self, uri):
:param uri: the URI to play
:type uri: string
"""
current_volume = self.get_volume()
self._playbin.set_property('uri', uri)
self.set_volume(current_volume)

def set_appsrc(
self, caps, need_data=None, enough_data=None, seek_data=None):
Expand Down

0 comments on commit 9d931ad

Please sign in to comment.