Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/e/n/enigma2-plugins-HEAD/automaticvolumeadjustment/src/AutomaticVolumeAdjustment.py   enigma2-plugins(Download)
from ServiceReference import ServiceReference
from Components.VolumeControl import VolumeControl
from AutomaticVolumeAdjustmentConfig import AutomaticVolumeAdjustmentConfig, getVolumeDict
 
class AutomaticVolumeAdjustment(Screen):
					self.serviceList[c.servicereference.value] = int(c.adjustvalue.value) # adjust volume
		else: # Remember channel volume mode
			self.serviceList = getVolumeDict()
		self.defaultValue = int(configVA.config.adustvalue.value)
		self.enabled = configVA.config.enable.value