summaryrefslogtreecommitdiffstats
path: root/clerk
diff options
context:
space:
mode:
Diffstat (limited to 'clerk')
-rwxr-xr-xclerk8
1 files changed, 6 insertions, 2 deletions
diff --git a/clerk b/clerk
index 24c4a13..dd4c2ad 100755
--- a/clerk
+++ b/clerk
@@ -643,8 +643,12 @@ TRACKDISPLAY=$(echo -e "< Return\n---\n> Load Playlist\n> Load RSS\n> Save Playl
exit
elif [[ $val -eq 13 ]]; then
- mpc play $POS;
- mpc crop
+ if [[ $TRACKDISPLAY == *">"* || $TRACKDISPLAY == *"<"* || $TRACKDISPLAY == "---" ]]; then
+ mpc crop
+ else
+ mpc play $POS;
+ mpc crop
+ fi
elif [[ $val -eq 16 ]]; then
mpc mv $POS $(echo $(( $POS + 1 )))