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', '']],
|
properties: [['bgStyle', '']],
|
||||||
connections: [
|
connections: [
|
||||||
[player, box => {
|
[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 => {
|
.then(out => {
|
||||||
if (!Mpris.players.find(p => player === p))
|
if (!Mpris.players.find(p => player === p))
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue