Fix stdout mode with getsong

This commit is contained in:
Dylan 2016-03-17 16:16:15 +11:00
parent c02619616f
commit 176fe42f03

View file

@ -1247,7 +1247,7 @@ getsong () {
esac
# Display Artist and Title on seperate lines.
if [ "$song_shorthand" == "on" ]; then
if [ "$song_shorthand" == "on" ] && [ "$stdout_mode" != "on" ]; then
artist="${song/ -*}"
song=${song/$artist - }