diff --git a/lib/tags/update b/lib/tags/update index 168597c..25fef11 100644 --- a/lib/tags/update +++ b/lib/tags/update @@ -105,7 +105,7 @@ echo ' oldbitrate=${rest%%::AtOM:SQL:Sep::*} ((++count)) (( cron )) || echo -en "\rTags: $((count*100/filecount))%" - if (( count % 1000 == 0 )) + if (( count % 100 == 0 )) then echo 'COMMIT;BEGIN TRANSACTION;' >&3 (( debug )) \ diff --git a/toys/createindex b/toys/createindex index 33413dd..5714bea 100755 --- a/toys/createindex +++ b/toys/createindex @@ -38,7 +38,7 @@ LC_ALL=C shopt -s extglob -source ./share/id3genres +source "$SHAREDIR"/id3genres for function in "$LIBDIR"/*/* do @@ -292,7 +292,7 @@ cat <<-EOBrag EOBrag printDate() { - printf "%("${timeformat:-%x %X}")T "$1" + printf "%("${timeformat:-%x %X}")T" "$1" } for index in ${!show[@]}