diff options
author | Rasmus Steinke <rasi@xssn.at> | 2014-08-06 21:17:41 +0200 |
---|---|---|
committer | Rasmus Steinke <rasi@xssn.at> | 2014-08-06 21:17:41 +0200 |
commit | 9b9bfab1316f586c54f00d036217b6e34610c246 (patch) | |
tree | a6da465431b32bbfffdc8dc9e6f64cc44ed68fd0 /clerk | |
parent | df207fcc04d68339d4ae8b1563ed57b693d864b9 (diff) | |
download | perl-app-clerk-9b9bfab1316f586c54f00d036217b6e34610c246.tar.gz perl-app-clerk-9b9bfab1316f586c54f00d036217b6e34610c246.tar.xz |
possible fix for priority mode
Diffstat (limited to 'clerk')
-rwxr-xr-x | clerk | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -540,6 +540,7 @@ currentTracksInsert () { mpc find album "$ALBUM" title "$TITLE" track "$TRACKNUMBER" | mpc insert else mpc find album "$ALBUM" title "$TITLE" track "$TRACKNUMBER" | mpc add + sleep 1 echo "$(( $(mpc playlist|wc -l) - 1 ))" | ./mppc prio fi fi @@ -821,6 +822,7 @@ InsertTrackTags() { track=$(echo "$TRACK" | awk -F " $seperator " '{print $2}') title=$(echo "$TRACK" | awk -F " $seperator " '{print $3}') mpc findadd artist "$artist" album "$album" title "$title" + sleep 1 echo "$(( $(mpc playlist|wc -l) - 1 ))" | mppc prio fi fi |