aboutsummaryrefslogtreecommitdiffstats
path: root/solo_tool.py
diff options
context:
space:
mode:
authorEddy Pedroni <eddy@0xf7.com>2022-01-04 14:13:49 +0100
committerEddy Pedroni <eddy@0xf7.com>2022-01-04 14:13:49 +0100
commit3066dbcdd863342d3c9534886434d6e8aaa45367 (patch)
treefa079c5e4772ef75589e2d23cc5af1bfa445c284 /solo_tool.py
parent88d34ded021ac61e2440720fd3deb2cf3eef21e4 (diff)
Added playback volume notification to VLC player
Diffstat (limited to 'solo_tool.py')
-rw-r--r--solo_tool.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/solo_tool.py b/solo_tool.py
index 7933fce..bca5146 100644
--- a/solo_tool.py
+++ b/solo_tool.py
@@ -107,10 +107,7 @@ class SoloTool:
return self._player.getPlaybackPosition()
def setPlaybackVolume(self, volume):
- previousVolume = self._player.getPlaybackVolume()
self._player.setPlaybackVolume(volume)
- if previousVolume != volume:
- self._notifier.notify(Notifier.PLAYBACK_VOLUME_EVENT)
def getPlaybackVolume(self):
return self._player.getPlaybackVolume()