when i change system volume with my keyboard, earcandy crashes.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ear Candy |
New
|
Undecided
|
Unassigned |
Bug Description
Hi,
always when i change system volume with my keyboard, i get the following error:
Traceback (most recent call last):
File "/usr/lib/
self.
AttributeError: 'NoneType' object has no attribute 'description'
Traceback (most recent call last):
File "/usr/lib/
if sink.set_volume():
File "/usr/lib/
if step_volume < self.client.
and earcandy crashes.
I don't know exactly what i have done, because i don't know the code and i'm a python noob, but changing this:
# SINK INPUTS
def pa_sink_
target_sink = self.prefer_
if not self.sink_
s = SinkInput(
if self.clients_
# Skim client role from 1st stream
if not client.role and sink_input.
to this:
# SINK INPUTS
def pa_sink_
target_sink = self.prefer_
if not self.sink_
if self.clients_
s = SinkInput(
# Skim client role from 1st stream
if not client.role and sink_input.
works.
The problem is, SinkInput.client won't be set if self.clients_
Apart from that, nice app!
Regards, Andi