some cleanup

This commit is contained in:
upuv 2018-05-19 15:51:40 +10:00
parent 41a2803e18
commit dee0d7e9a0

View File

@ -102,7 +102,10 @@ do
debug "Decoding ${path} with auth code ${auth_code}..." debug "Decoding ${path} with auth code ${auth_code}..."
# Check for Presense of Audiobook # Check for Presense of Audiobook
# [[ ! -r "${path}" ]] && echo "ERROR: Input file $path missing" ; exit 1 if [[ ! -r "${path}" ]] ; then
echo "ERROR: Input Audiobook file $path missing"
exit 1
fi
save_metadata "${path}" save_metadata "${path}"
genre=$(get_metadata_value genre) genre=$(get_metadata_value genre)