From eceb4e2f09e4dd4ab9df240c2494bc085f9152d5 Mon Sep 17 00:00:00 2001 From: fabh2o Date: Wed, 3 Feb 2021 16:47:19 +0100 Subject: [PATCH] flag --- AAXtoMP3 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/AAXtoMP3 b/AAXtoMP3 index 7a4368f..55151a7 100755 --- a/AAXtoMP3 +++ b/AAXtoMP3 @@ -18,6 +18,7 @@ DEBUG=0 # Default off, If set extremely verbose output. noclobber=0 # Default off, clobber only if flag is enabled continue=0 # Default off, If set Transcoding is skipped and chapter splitting starts at chapter continueAt. continueAt=1 # Optional chapter to continue splitting the chapters. +audibleCli=0 # Default off, Use additional data gathered from mkb79/audible-cli # ----- # Code tip Do not have any script above this point that calls a function or a binary. If you do @@ -56,6 +57,8 @@ while true; do -V | --validate ) VALIDATE=1; shift ;; # continue splitting chapters at chapter continueAt --continue ) continueAt="$2"; continue=1; shift 2 ;; + # Use additional data got with mkb79/audible-cli + --use-audible-cli-data ) audibleCli=1; shift ;; # Command synopsis. -h | --help ) printf "$usage" $0 ; exit ;; # Standard flag signifying the end of command line processing.