diff --git a/src/tidler b/src/tidler index 6ee80f0..e015973 100755 --- a/src/tidler +++ b/src/tidler @@ -4,6 +4,7 @@ version="0.3.0" + if [ -n "$PROXY_URL" ]; then proxy_url="$PROXY_URL" else @@ -102,7 +103,7 @@ downloadTrack() { if [ "$success" = false ]; then echo "Attempt $attempt_num failed. Retrying..." ((attempt_num++)) - sleep 1 # TODO: random sleep time + sleep "1.$(tr -cd 0-9