v2.4 - Import settings during config verification
Allow config changes to take affect between script runs, to avoid requiring restart
This commit is contained in:
parent
0e38188047
commit
8ca0cc83b8
1 changed files with 3 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
#!/usr/bin/with-contenv bash
|
#!/usr/bin/with-contenv bash
|
||||||
scriptVersion="2.3"
|
scriptVersion="2.4"
|
||||||
scriptName="AutoArtistAdder"
|
scriptName="AutoArtistAdder"
|
||||||
|
|
||||||
### Import Settings
|
### Import Settings
|
||||||
|
@ -8,6 +8,8 @@ source /config/extended.conf
|
||||||
source /config/extended/functions
|
source /config/extended/functions
|
||||||
|
|
||||||
verifyConfig () {
|
verifyConfig () {
|
||||||
|
### Import Settings
|
||||||
|
source /config/extended.conf
|
||||||
|
|
||||||
if echo "$addDeezerTopArtists $addDeezerTopAlbumArtists $addDeezerTopTrackArtists $addRelatedArtists" | grep -i "true" | read; then
|
if echo "$addDeezerTopArtists $addDeezerTopAlbumArtists $addDeezerTopTrackArtists $addRelatedArtists" | grep -i "true" | read; then
|
||||||
sleep 0.01
|
sleep 0.01
|
||||||
|
|
Loading…
Reference in a new issue