[modules/pulsectl] make device names case sensitive
A previous change accidentially changed the "pretty" device name mapping to be required to be in lowercase (rather than the exact name of the devices. Restore previous functionality. fixes #989
This commit is contained in:
parent
9c5e30ac61
commit
fded39fa81
1 changed files with 2 additions and 2 deletions
|
@ -110,8 +110,8 @@ class Module(core.module.Module):
|
|||
res = f"{res} {util.graph.hbar(self.__volume*100)}"
|
||||
|
||||
if self.__show_device_name:
|
||||
friendly_name = self.parameter(self.__devicename.lower(), self.__devicename)
|
||||
icon = self.parameter("icon." + self.__devicename.lower(), "")
|
||||
friendly_name = self.parameter(self.__devicename, self.__devicename)
|
||||
icon = self.parameter("icon." + self.__devicename, "")
|
||||
res = (
|
||||
icon + " " + friendly_name + " | " + res
|
||||
if icon != ""
|
||||
|
|
Loading…
Reference in a new issue