1.1 tweaks
This commit is contained in:
parent
216834a210
commit
b317648b47
1 changed files with 5 additions and 15 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue