Closed xxr3376 closed 1 year ago
@systemcrash, @LewdNeko: What do you think?
I cannot comment without testing, but I think the subprocess call depends on the shell used, no? Which makes me suspect the reason for the %% is that some shells interpret this as a literal %
.
Under what shell did you run this change?
@systemcrash subprocess.run
is called with shell=False
(as default argument), I believe there's no relevance with the type of shell.
To answer your question: I'm using bash.
I'm also using bash. Can confirm this patch works for me
I will admit this. If it causes problems later, we may need another solution.
Original implementation call
amixer set PCM 50%%
, and getamixer: Invalid command!
on Ubuntu 22.04.Remove extra
%
and set volume of Master instead of PCM, this will make airplay2 works on any linux server.