summaryrefslogtreecommitdiffstats
path: root/clerk
diff options
context:
space:
mode:
authorRasmus Steinke <rasi@xssn.at>2015-03-13 04:20:09 +0100
committerRasmus Steinke <rasi@xssn.at>2015-03-13 04:20:09 +0100
commitfcf038b3829cfebf5bb673b8a4add4f1fb43e724 (patch)
tree1b599ef8a9b11a7dd84043d8535711c39af1e07f /clerk
parent85213131f368c433a232994fa387b29d8ae026a2 (diff)
downloadperl-app-clerk-fcf038b3829cfebf5bb673b8a4add4f1fb43e724.tar.gz
perl-app-clerk-fcf038b3829cfebf5bb673b8a4add4f1fb43e724.tar.xz
Do not use CD divider
Diffstat (limited to 'clerk')
-rwxr-xr-xclerk6
1 files changed, 0 insertions, 6 deletions
diff --git a/clerk b/clerk
index 783f0a3..cb2425e 100755
--- a/clerk
+++ b/clerk
@@ -301,9 +301,6 @@ mpc playlist -f "%artist%${separator}%track%${separator}%title%${separator}%date
cd "$music_path"
cd "$(dirname "$(echo "$file")")"
- if [[ "$(pwd)" == */"$cd_divider"* ]]; then
- cd ..
- fi
touch album.rating
echo "${rating}${separator}${artist}${separator}${track}${separator}${title}${separator}${date}${separator}${album}" >> album.rating
done
@@ -855,9 +852,6 @@ rateAlbum () {
if [[ "$music_dir_access" == "yes" ]]; then
cd "$music_path"
cd "$(dirname "$(mpc current -f %file%)")"
- if [[ "$(pwd)" == */"$cd_divider"* ]]; then
- cd ..
- fi
rm -f album.rating
echo "${rating}${separator}$(mpc current -f "%artist%${separator}%track%${separator}%title%${separator}%date%${separator}%album%")" >> album.rating
fi