diff options
-rwxr-xr-x | clerk | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -839,9 +839,8 @@ songs () { seekMenu elif [[ $val -eq 21 ]]; then - temp=$(mpc playlist --format '%position%\t%file%' | grep -P "^${POS}\t" | grep "${ARTIST}" | grep "${TITLE}" | gawk -F '\t' '{ print $2 }') + temp=$(mpc playlist --format '%position%\t%file%' | grep -P "^${POS}\t" | gawk -F '\t' '{ print $2 }') info=$(mpc --format '%albumartist%\t%album%\t%date%\t%track%\t%title%' search filename "${temp}") - echo "${info}" ARTIST=$(echo "${info}" \ | gawk -F '\t' '{ print $1 }') |