v1.0.0054 - New script startup process

pull/6/head
RandomNinjaAtk 2 years ago committed by GitHub
parent 24cc95c421
commit 3f0187d5f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,5 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
scriptVersion="1.0.0053" scriptVersion="1.0.0054"
lidarrUrlBase="$(cat /config/config.xml | xq | jq -r .Config.UrlBase)" lidarrUrlBase="$(cat /config/config.xml | xq | jq -r .Config.UrlBase)"
if [ "$lidarrUrlBase" = "null" ]; then if [ "$lidarrUrlBase" = "null" ]; then
lidarrUrlBase="" lidarrUrlBase=""
@ -21,6 +21,25 @@ musicbrainzMirror=https://musicbrainz.org
#audioFormat=opus #audioFormat=opus
#audioBitrate=160 #audioBitrate=160
echo "-----------------------------------------------------------------"
echo " |~) _ ._ _| _ ._ _ |\ |o._ o _ |~|_|_|"
echo " |~\(_|| |(_|(_)| | || \||| |_|(_||~| | |<"
echo " Presenets: lidarr-extended ($scriptVersion)"
echo " May the beats be with you!"
echo "-----------------------------------------------------------------"
echo "Donate: https://github.com/sponsors/RandomNinjaAtk"
echo "Project: https://github.com/RandomNinjaAtk/docker-lidarr-extended"
echo "Support: https://discord.gg/JumQXDc"
echo "-----------------------------------------------------------------"
sleep 5
echo ""
echo "Lift off in..."; sleep 0.5
echo "5"; sleep 1
echo "4"; sleep 1
echo "3"; sleep 1
echo "2"; sleep 1
echo "1"; sleep 1
log () { log () {
m_time=`date "+%F %T"` m_time=`date "+%F %T"`
echo $m_time" "$1 echo $m_time" "$1
@ -34,12 +53,7 @@ Configuration () {
log "To kill script, use the following command:" log "To kill script, use the following command:"
log "kill -9 $processstartid" log "kill -9 $processstartid"
log "kill -9 $processdownloadid" log "kill -9 $processdownloadid"
log ""
log ""
sleep 2 sleep 2
log "############# $dockerTitle"
log "############# SCRIPT VERSION $scriptVersion"
log "############# DOCKER VERSION $dockerVersion"
if [ -z $topLimit ]; then if [ -z $topLimit ]; then
topLimit=10 topLimit=10

Loading…
Cancel
Save