summaryrefslogtreecommitdiffstats
path: root/clerk
diff options
context:
space:
mode:
authorRasmus Steinke <rasi@xssn.at>2017-02-07 19:25:20 +0100
committerRasmus Steinke <rasi@xssn.at>2017-02-07 19:25:20 +0100
commit90e60c086d6584b5371d1f0ac56726b5ede011ea (patch)
treecea69d8b635f2cbc7668199f8932c85754592ebc /clerk
parent69442bef9b4a53e30c1c76624ed22c80e87f9a7f (diff)
downloadperl-app-clerk-90e60c086d6584b5371d1f0ac56726b5ede011ea.tar.gz
perl-app-clerk-90e60c086d6584b5371d1f0ac56726b5ede011ea.tar.xz
add auto backup for track ratings
Diffstat (limited to 'clerk')
-rwxr-xr-xclerk3
1 files changed, 3 insertions, 0 deletions
diff --git a/clerk b/clerk
index c1d7768..65f5651 100755
--- a/clerk
+++ b/clerk
@@ -1209,6 +1209,9 @@ rateTrack () {
clerk_helper ratetrack "${rateartist}" "${ratealbum}" "${ratetrack}" "${ratetitle}" "${rating}"
notify-send "clerk" "rated ${rateartist} - ${ratetitle} with $(echo ${rating})"
fi
+ if [[ $auto_track_rating_backup == "true" ]]; then
+ clerk_helper importtrackratings
+ fi
fi
}