mirror of
https://github.com/KrumpetPirate/AAXtoMP3.git
synced 2025-06-30 16:37:31 +02:00
some cleanup
This commit is contained in:
4
AAXtoMP3
4
AAXtoMP3
@ -1,5 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
|
||||
# ========================================================================
|
||||
# Command Line Options
|
||||
usage=$'\nUsage: AAXtoMP3.sh [--flac] [--aac] [--opus ] [--single] [--authcode <AUTHCODE>]\n[--output_dir <PATH>] {FILES}\n'
|
||||
@ -100,6 +101,9 @@ for path
|
||||
do
|
||||
debug "Decoding ${path} with auth code ${auth_code}..."
|
||||
|
||||
# Check for Presense of Audiobook
|
||||
[ ! -r "${path}" ] && echo "ERROR: Input file $path missing" ; exit 1
|
||||
|
||||
save_metadata "${path}"
|
||||
genre=$(get_metadata_value genre)
|
||||
artist=$(get_metadata_value artist)
|
||||
|
Reference in New Issue
Block a user