fix(ags player): filter out warnings from JSON color output
This commit is contained in:
parent
69090fa7c5
commit
d8780ddf23
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ export const CoverArt = (player, params) => CenterBox({
|
|||
properties: [['bgStyle', '']],
|
||||
connections: [
|
||||
[player, box => {
|
||||
execAsync(['bash', '-c', `[[ -f "${player.coverPath}" ]] && coloryou "${player.coverPath}"`])
|
||||
execAsync(['bash', '-c', `[[ -f "${player.coverPath}" ]] && coloryou "${player.coverPath}" | grep -v Warning`])
|
||||
.then(out => {
|
||||
if (!Mpris.players.find(p => player === p))
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue