1.1 tweaks

This commit is contained in:
RandomNinjaAtk 2023-07-14 20:02:46 +00:00 committed by GitHub
parent 216834a210
commit b317648b47
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,5 @@
#!/usr/bin/env bash
scriptVersion="1.0"
scriptVersion="1.1"
scriptName="AutoArtistAdder"
log () {
@ -46,17 +46,6 @@ if [ -z "$lidarrUrl" ] || [ -z "$lidarrApiKey" ]; then
lidarrUrl="http://localhost:${lidarrPort}${lidarrUrlBase}"
fi
# Debugging settings
#addRelatedArtists="true"
#addDeezerTopArtists="true"
#addDeezerTopAlbumArtists="true"
#addDeezerTopTrackArtists="true"
#topLimit="2"
#addRelatedArtists="true"
#numberOfRelatedArtistsToAddPerArtist="2"
#lidarrSearchForMissing=false
sleepTimer=0.5
@ -315,8 +304,8 @@ AddTidalArtistToLidarr () {
# Loop Script
for (( ; ; )); do
let i++
logfileSetup
let i++
logfileSetup
verifyConfig
if [ -z $lidarrSearchForMissing ]; then
@ -340,6 +329,7 @@ for (( ; ; )); do
AddTidalRelatedArtists
fi
log "Script sleeping for 12 hours..."
sleep 12h
sleep 12h
done
exit