Skip to content

Commit

Permalink
[automaticvolumeadjustment] fix config int' instead 'str'
Browse files Browse the repository at this point in the history
  • Loading branch information
Dima73 authored and littlesat committed Sep 4, 2023
1 parent 36898da commit 94c673d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion automaticvolumeadjustment/src/AutomaticVolumeAdjustment.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def initializeConfigValues(self, configVA, fromOutside):
self.serviceList = getVolumeDict()
self.defaultValue = int(configVA.config.adustvalue.value)
self.enabled = configVA.config.enable.value
self.maxMPEGVolume = configVA.config.mpeg_max_volume.value
self.maxMPEGVolume = int(configVA.config.mpeg_max_volume.value)
self.showVolumeBar = configVA.config.show_volumebar.value
self.type_audio = configVA.config.type_audio.value
if self.modus == "0": # Automatic volume adjust mode
Expand Down

0 comments on commit 94c673d

Please sign in to comment.