switch to dedicated echo_ functions

This commit is contained in:
2026-04-28 09:36:27 -05:00
parent 1ea04833aa
commit 5b25505990
5 changed files with 57 additions and 34 deletions
+3 -3
View File
@@ -6,7 +6,7 @@
get_deezer_isrc_response() {
local isrc="$1"
if [[ -z "${isrc}" ]]; then
error "missing isrc"
echo_fail "missing isrc"
return 1
fi
@@ -20,7 +20,7 @@ get_deezer_isrc_response() {
get_deezer_url() {
local isrc="$1"
if [[ -z "${isrc}" ]]; then
error "missing isrc"
echo_fail "missing isrc"
return 1
fi
@@ -31,7 +31,7 @@ get_deezer_url() {
jqResult="$(jq -r .link <<<"${deezerResponse}")"
if ! jq_result_valid "${jqResult}"; then
error "could not get link from deezer for ${isrc}"
echo_fail "could not find link from deezer for ${isrc}"
return 1
fi