Skip to content

Commit

Permalink
Merge pull request #3405 from openatv/IanSav-AudioSelection
Browse files Browse the repository at this point in the history
[AudioSelection.py] Remove the volume control options
  • Loading branch information
jbleyel committed Aug 25, 2024
2 parents 4a969a0 + 168108d commit 2163db3
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions lib/python/Screens/AudioSelection.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
from Components.Sources.List import List
from Components.Sources.Boolean import Boolean
from Components.SystemInfo import BoxInfo
from Components.VolumeControl import VolumeControl

from enigma import iPlayableService, eTimer, eSize

Expand Down Expand Up @@ -68,9 +67,6 @@ def __init__(self, session, infobar=None, page=PAGE_AUDIO):
"down": self.keyDown,
"left": self.keyLeft,
"right": self.keyRight,
"volumeUp": self.volumeUp,
"volumeDown": self.volumeDown,
"volumeMute": self.volumeMute,
"menu": self.openAutoLanguageSetup,
"1": self.keyNumberGlobal,
"2": self.keyNumberGlobal,
Expand Down Expand Up @@ -547,15 +543,6 @@ def keyDown(self):
elif self.focus == FOCUS_STREAMS:
self["streams"].selectNext()

def volumeUp(self):
VolumeControl.instance and VolumeControl.instance.volUp()

def volumeDown(self):
VolumeControl.instance and VolumeControl.instance.volDown()

def volumeMute(self):
VolumeControl.instance and VolumeControl.instance.volMute()

def keyNumberGlobal(self, number):
if number <= len(self["streams"].list):
self["streams"].setIndex(number - 1)
Expand Down

0 comments on commit 2163db3

Please sign in to comment.