From 3066dbcdd863342d3c9534886434d6e8aaa45367 Mon Sep 17 00:00:00 2001 From: Eddy Pedroni Date: Tue, 4 Jan 2022 14:13:49 +0100 Subject: Added playback volume notification to VLC player --- solo_tool.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'solo_tool.py') 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() -- cgit v1.2.3