From 612d2181d0f64475c8db332e6ff6feda862830cb Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Fri, 14 Jul 2023 16:49:24 +0000 Subject: [PATCH] 1.8 - Change Tagging to new downloads only This might fix a long standing issue with the lidarr rescan process... --- lidarr/AutoConfig.service.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lidarr/AutoConfig.service.bash b/lidarr/AutoConfig.service.bash index f928e1a..3f1bf5b 100644 --- a/lidarr/AutoConfig.service.bash +++ b/lidarr/AutoConfig.service.bash @@ -1,5 +1,5 @@ #!/usr/bin/env bash -scriptVersion="1.7" +scriptVersion="1.8" #### Import Settings source /config/extended.conf @@ -70,7 +70,7 @@ log "Configuring Lidarr Metadata ConsumerSettings" postSettingsToLidarr=$(curl -s "$arrUrl/api/v1/metadata/1?" -X PUT -H 'Content-Type: application/json' -H "X-Api-Key: ${arrApiKey}" --data-raw '{"enable":true,"name":"Kodi (XBMC) / Emby","fields":[{"name":"artistMetadata","value":true},{"name":"albumMetadata","value":true},{"name":"artistImages","value":true},{"name":"albumImages","value":true}],"implementationName":"Kodi (XBMC) / Emby","implementation":"XbmcMetadata","configContract":"XbmcMetadataSettings","infoLink":"https://wiki.servarr.com/lidarr/supported#xbmcmetadata","tags":[],"id":1}') log "Configuring Lidarr Metadata Provider Settings" -postSettingsToLidarr=$(curl -s "$arrUrl/api/v1/config/metadataProvider" -X PUT -H 'Content-Type: application/json' -H "X-Api-Key: ${arrApiKey}" --data-raw '{"metadataSource":"","writeAudioTags":"allFiles","scrubAudioTags":false,"id":1}') +postSettingsToLidarr=$(curl -s "$arrUrl/api/v1/config/metadataProvider" -X PUT -H 'Content-Type: application/json' -H "X-Api-Key: ${arrApiKey}" --data-raw '{"metadataSource":"","writeAudioTags":"newFiles","scrubAudioTags":false,"id":1}') log "Configuring Lidarr Custom Scripts" if curl -s "$arrUrl/api/v1/notification" -H "X-Api-Key: ${arrApiKey}" | jq -r .[].name | grep "PlexNotify.bash" | read; then