Shorten huge playlist URLs
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
32ab6875ff
commit
851ac04b39
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ set -euo pipefail
|
|||
exit
|
||||
}
|
||||
|
||||
title=$(mpc | head -n1 | tr -cd "[:print:]")
|
||||
title=$(mpc | head -n1 | tr -cd "[:print:]" | cut -c 1-75)
|
||||
state=$(mpc | grep '^\[' | sed -E 's/^\[(.+)\].*/\1/')
|
||||
|
||||
case ${state} in
|
||||
|
|
Loading…
Reference in a new issue