diff --git a/root/scripts/ERA.sh b/root/scripts/ERA.bash similarity index 90% rename from root/scripts/ERA.sh rename to root/scripts/ERA.bash index 1e8ed00..c9f799f 100644 --- a/root/scripts/ERA.sh +++ b/root/scripts/ERA.bash @@ -1,5 +1,5 @@ #!/usr/bin/env bash -scriptVersion="1.1.2" +scriptVersion="1.1.3" agent="ERA ( https://github.com/Makario1337/ExtendedReleaseAdder )" ### DEBUG ### @@ -69,8 +69,8 @@ AddReleaseToLidarr() { sed 's/"qualityProfileId": 0/"qualityProfileId": 1/g' | sed 's/"metadataProfileId": 0/"metadataProfileId": 1/g' | sed "s%\"metadataProfileId\": 1%\"metadataProfileId\": 1,\"rootFolderPath\": \"\" %g" | - sed 's/"metadataProfileId": 1/"metadataProfileId": 1,\"addOptions": {"monitor": "all","searchForMissingAlbums": false}/g' | - sed 's/"grabbed": false/"grabbed": false,\"addOptions": {"searchForNewAlbum": false}/g'| + sed 's/"metadataProfileId": 1/"metadataProfileId": 1,\"addOptions": {"monitor": "all","searchForMissingAlbums": true}/g' | + sed 's/"grabbed": false/"grabbed": false,\"addOptions": {"searchForNewAlbum": true}/g'| jq '.' | cut -c 2- | head -c -2) @@ -128,7 +128,6 @@ for artist in ${ERAArtistsList[@]}; do trim=$(echo $line | cut -c 2- | head -c -2) ReleaseName=$(wget -U "$agent" --timeout=0 -q -O - "https://musicbrainz.org/ws/2/release-group/$trim" | grep -o "