Fixes for sing.sh
This commit is contained in:
@ -7,7 +7,7 @@ shift
|
||||
#get the lyric text into a variable
|
||||
trackName="${@//:/ - }"
|
||||
# Try to work around some common tags that will fail to find lyrics.
|
||||
trackName="${trackName/ - live/}"
|
||||
trackName="${trackName//\//_}"
|
||||
curl="$(command -v curl)"
|
||||
trackName="$(echo "$trackName" | sed -e "s/ /_/g" -e 's/([[:print:]]*)//g' -e "s/['\/\.]//g" -e 's/&/and/g' -e 's/ö/o/g')"
|
||||
artist="$(echo "${trackName,,}" | cut -d "-" -f 1 | sed -e 's/_$//' -e 's/^the_\(.*\)/\1_the/')"
|
||||
|
Reference in New Issue
Block a user