Skip to content

Commit

Permalink
[VolumeControl]
Browse files Browse the repository at this point in the history
* remove workaround for VU+
  • Loading branch information
jbleyel committed Sep 3, 2024
1 parent 15c5fc2 commit 7c345ca
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lib/python/Components/VolumeControl.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,7 @@ def updateVolume(self):
if self.dvbVolumeControl.isMuted():
self.keyVolumeMute() # Unmute.
else:
volume = self.dvbVolumeControl.getVolume()
if volume == 0: # Some receivers do not suppress the volume at a volume level of 0!
self.dvbVolumeControl.volumeMute()
self.volumeDialog.setValue(volume)
self.volumeDialog.setValue(self.dvbVolumeControl.getVolume())
self.volumeDialog.show()
self.hideTimer.start(config.volumeControl.hideTimer.value * 1000, True)

Expand Down

2 comments on commit 7c345ca

@fairbird
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My friend ... This commit does not work with dreambox. Still there is sound if set the Volume value = 0 !

@jbleyel
Copy link
Contributor Author

@jbleyel jbleyel commented on 7c345ca Sep 8, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have no Dreambox.
You need to find a solution by yourself.
But please fix this in C code only and don’t do it in python. Like I have done for VU+.

Please sign in to comment.