djcev.com

//

Git Repos / dotfiles / commit ee38ee0

Commit: ee38ee04a281baa6c2dbfaecafbc9d570fd582f4
Parent: b111cb67e9084664d1d4f52be3398c14b179c806
Author: Cameron Vanderzanden, 2022-01-30 18:22
Committer: Cameron Vanderzanden, 2022-01-30 18:22

Commit Message

Minor formatting fixes to scs4tool, update version

Change List

?File Add Del
M bin/scs4tool.sh +7 -4

Diff bin/scs4tool.sh

diff --git a/bin/scs4tool.sh b/bin/scs4tool.sh
index 4d971f7..d95ba86 100755
--- a/bin/scs4tool.sh
+++ b/bin/scs4tool.sh
@@ -5,14 +5,15 @@
# the root dir of this repository for more information.
#
#- scs4tool.sh 2015/03/28 cev
+#- scs4tool.sh 2022/01/30 cev
## Usage: scs4tool.sh [-3hHlv] [-a dir] [-d dir] [-r dir]
##
## Manage a file tree for use on the Stanton SCS.4DJ music player. Performs
## a function similar to Stanton's Quickgrid software.
##
## This script requires a working installation of wine and "djanalyze.exe",
-## which can be found in the latest version of Stanton Quickgrid for Windows.
-## This script also requires ffmpeg, flac/libFlac, and sox.
+## which can be found in the latest version of Stanton Quickgrid for
+## Windows. This script also requires ffmpeg, flac/libFlac, and sox.
##
## Top level options:
## -3 Convert flac files to mp3 before copying.
@@ -155,8 +156,10 @@ add_file_applyflacreplaygain() {
metaflac --remove-all-tags \
--import-tags-from="$tmpdir/${tl}tags" "$prefix/$@"
# TODO: transfer cover
- [ -f "$tmpdir/${tl}wav" ] && rm -v "$tmpdir/${tl}wav" 2>/dev/null 1>>$logfile
- [ -f "$tmpdir/${tl}tags" ] && rm -v "$tmpdir/${tl}tags" 2>/dev/null 1>>$logfile
+ [ -f "$tmpdir/${tl}wav" ] && rm -v "$tmpdir/${tl}wav" \
+ 2>/dev/null 1>>$logfile
+ [ -f "$tmpdir/${tl}tags" ] && rm -v "$tmpdir/${tl}tags" \
+ 2>/dev/null 1>>$logfile
add_file_end "$prefix/$@"
}

Return to the top of this page or return to the overview of this repo.