diff options
author | Rasmus Steinke <rasi@xssn.at> | 2016-01-30 16:51:39 +0100 |
---|---|---|
committer | Rasmus Steinke <rasi@xssn.at> | 2016-01-30 16:51:39 +0100 |
commit | 162189f55cdf8973db970ccad2c44653e9bffd4b (patch) | |
tree | 0f828549c12bc45c82b1ae4d80b8dbdbafb66ce3 /clerk | |
parent | 01adfb8da7b27a992e57d233efa899794d34634f (diff) | |
download | perl-app-clerk-162189f55cdf8973db970ccad2c44653e9bffd4b.tar.gz perl-app-clerk-162189f55cdf8973db970ccad2c44653e9bffd4b.tar.xz |
fix adding of album
Diffstat (limited to 'clerk')
-rwxr-xr-x | clerk | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1521,14 +1521,14 @@ ${line2}</span>" discmenu=$(echo -e "All\n$disc" | rofi -dmenu -p "Choose Disc > ") if [[ $discmenu == "" ]]; then exit elif [[ $discmenu == "All" ]]; then - mpc clear echo -e "All\n$disc" | tail -n +2 | while read discline; do mpc findadd date "$date" album "$album" albumartist "$artist" disc "$discline" done else - mpc clear mpc findadd date "$date" album "$album" albumartist "$artist" disc "$discmenu" fi + else + mpc findadd date "$date" album "$album" albumartist "$artist" fi done album_entry="$firstline" |