aboutsummaryrefslogtreecommitdiffstats
path: root/player_mock.py
diff options
context:
space:
mode:
Diffstat (limited to 'player_mock.py')
-rw-r--r--player_mock.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/player_mock.py b/player_mock.py
index 2fd343f..ee3801d 100644
--- a/player_mock.py
+++ b/player_mock.py
@@ -46,7 +46,10 @@ class Player():
return self.position
def setPlaybackVolume(self, volume):
+ changed = self.volume != volume
self.volume = volume
+ if changed:
+ self.playbackVolumeChangedCallback()
def getPlaybackVolume(self):
return self.volume