diff options
author | Rasmus Steinke <rasi@xssn.at> | 2015-03-13 04:20:09 +0100 |
---|---|---|
committer | Rasmus Steinke <rasi@xssn.at> | 2015-03-13 04:20:09 +0100 |
commit | fcf038b3829cfebf5bb673b8a4add4f1fb43e724 (patch) | |
tree | 1b599ef8a9b11a7dd84043d8535711c39af1e07f /clerk | |
parent | 85213131f368c433a232994fa387b29d8ae026a2 (diff) | |
download | perl-app-clerk-fcf038b3829cfebf5bb673b8a4add4f1fb43e724.tar.gz perl-app-clerk-fcf038b3829cfebf5bb673b8a4add4f1fb43e724.tar.xz |
Do not use CD divider
Diffstat (limited to 'clerk')
-rwxr-xr-x | clerk | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -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 |