summaryrefslogtreecommitdiffstats
path: root/clerk
diff options
context:
space:
mode:
authorRasmus Steinke <rasi@xssn.at>2015-09-10 00:43:17 +0200
committerRasmus Steinke <rasi@xssn.at>2015-09-10 00:43:17 +0200
commit54c03b8a7410d8e6dd402f8e367d43af729f5696 (patch)
treeb3f161574ed8f01f5e3820fb6a5c9d648cb27621 /clerk
parentc1d3e956089968465fedba9d0b03bee810b964f9 (diff)
downloadperl-app-clerk-54c03b8a7410d8e6dd402f8e367d43af729f5696.tar.gz
perl-app-clerk-54c03b8a7410d8e6dd402f8e367d43af729f5696.tar.xz
remember position on add
Diffstat (limited to 'clerk')
-rwxr-xr-xclerk4
1 files changed, 4 insertions, 0 deletions
diff --git a/clerk b/clerk
index c86c180..f2db8a7 100755
--- a/clerk
+++ b/clerk
@@ -1257,14 +1257,18 @@ ${line2}</span>"
elif [[ $val -eq 10 ]]; then
mpc searchadd date "$date" album "$album" albumartist "$artist";
+ album_entry="${ALBUM_ORIG}"
elif [[ $val -eq 15 ]]; then
+ album_entry="${ALBUM_ORIG}"
addTrackTags
elif [[ $val -eq 16 ]]; then
+ album_entry="${ALBUM_ORIG}"
dplayQueue
elif [[ $val -eq 13 ]]; then
+ album_entry="${ALBUM_ORIG}"
mpc findadd date "$date" album "$album" albumartist "$artist"
mpc searchplay "${album}"