Song: Fix album name being used as artist name
This commit is contained in:
parent
0bca00a116
commit
8884b19e82
2
neofetch
2
neofetch
|
@ -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"
|
||||||
|
|
Reference in New Issue