summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRasmus Steinke <rasi@xssn.at>2016-01-28 20:05:11 +0100
committerRasmus Steinke <rasi@xssn.at>2016-01-28 20:05:11 +0100
commit693b0635b2f9fca43b62d2ca98745cb17e506cf2 (patch)
tree2396ff2fe91e698c924bc9e6d6a2d3b7aeab91fd
parente822b2a3bc84af3c700f1780fccbe54c962401f8 (diff)
downloadperl-app-clerk-693b0635b2f9fca43b62d2ca98745cb17e506cf2.tar.gz
perl-app-clerk-693b0635b2f9fca43b62d2ca98745cb17e506cf2.tar.xz
fix
-rwxr-xr-xclerk6
1 files changed, 6 insertions, 0 deletions
diff --git a/clerk b/clerk
index 90540fe..defccb9 100755
--- a/clerk
+++ b/clerk
@@ -1418,6 +1418,8 @@ ${line2}</span>"
else
mpc search date "$date" album "$album" albumartist "$artist" disc "$discmenu" | mpc insert
fi
+ else
+ mpc search date "$date" album "$album" albumartist "$artist" | mpc insert
fi
done
album_entry="$firstline"
@@ -1449,6 +1451,8 @@ ${line2}</span>"
mpc clear
mpc findadd date "$date" album "$album" albumartist "$artist" disc "$discmenu"
fi
+ else
+ mpc findadd date "$date" album "$album" albumartist "$artist"
fi
done
mpc play
@@ -1489,6 +1493,8 @@ ${line2}</span>"
mpc clear
mpc findadd date "$date" album "$album" albumartist "$artist" disc "$discmenu"
fi
+ else
+ mpc findadd date "$date" album "$album" albumartist "$artist"
fi
done
mpc play