fix grep which may get the wrong line
This commit is contained in:
parent
13096a7cbe
commit
38617bccf6
|
@ -192,7 +192,7 @@ PRINT() {
|
||||||
# album
|
# album
|
||||||
if [ "$ITEM9_DISPLAY_ALBUM" = "true" ]; then
|
if [ "$ITEM9_DISPLAY_ALBUM" = "true" ]; then
|
||||||
if [ "$(cmus-remote -C status | grep "tag album")" != "" ]; then
|
if [ "$(cmus-remote -C status | grep "tag album")" != "" ]; then
|
||||||
MUSIC_ALBUM="$(cmus-remote -C status | grep "tag album" | head -n 1 | sed "s|\&|stellar_amp|g; s/tag album //g")"
|
MUSIC_ALBUM="$(cmus-remote -C status | grep "tag album " | head -n 1 | sed "s|\&|stellar_amp|g; s/tag album //g")"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue