summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xclerk3
1 files changed, 1 insertions, 2 deletions
diff --git a/clerk b/clerk
index 768f7f0..7bee919 100755
--- a/clerk
+++ b/clerk
@@ -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 }')