Commit 8884b19e authored by Dylan Araps's avatar Dylan Araps

Song: Fix album name being used as artist name

parent 0bca00a1
...@@ -1342,7 +1342,7 @@ get_song() { ...@@ -1342,7 +1342,7 @@ get_song() {
# Display Artist and Title on separate lines. # Display Artist and Title on separate lines.
if [[ "$song_shorthand" == "on" ]]; then if [[ "$song_shorthand" == "on" ]]; then
artist="${song/ -*}" artist="${song/ -*}"
song="${song/$artist - }" song="${song/*-}"
if [[ "$song" != "$artist" ]]; then if [[ "$song" != "$artist" ]]; then
prin "Artist" "$artist" prin "Artist" "$artist"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment