diff options
-rwxr-xr-x | clerk | 3 | ||||
-rw-r--r-- | config.clerk | 5 |
2 files changed, 7 insertions, 1 deletions
@@ -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 } diff --git a/config.clerk b/config.clerk index 6f847f3..467878e 100644 --- a/config.clerk +++ b/config.clerk @@ -1,6 +1,6 @@ # rofi command. Make sure to have "$@" as last argument _rofi () { - rofi -regex -i -lines 30 -width 1500 -no-levenshtein-sort "$@" + rofi -i -regex -lines 30 -width 1500 -no-levenshtein-sort "$@" } # custom mpd host @@ -32,6 +32,9 @@ ssh_host= # leave empty for autodetection help_color="" +# automatically save json file with track ratings +auto_track_rating_backup=true + # custom keybindings # global albumlist="Alt+F1" |