diff --git a/server/services/DownloadMatcher.js b/server/services/DownloadMatcher.js index 28eb0d2..43b5d34 100644 --- a/server/services/DownloadMatcher.js +++ b/server/services/DownloadMatcher.js @@ -122,7 +122,6 @@ function buildArrDownload(record, context, options = {}) { dlObj.arrQueueId = record.id; dlObj.arrType = isSeries ? 'sonarr' : 'radarr'; dlObj.arrInstanceUrl = record._instanceUrl || null; - dlObj.arrInstanceKey = record._instanceKey || null; dlObj.arrContentId = record.episodeId || record.movieId || null; dlObj.arrContentIds = record.episodeIds || null; dlObj.arrSeriesId = record.seriesId || null; @@ -134,6 +133,7 @@ function buildArrDownload(record, context, options = {}) { if (isAdmin) { dlObj.downloadPath = options.downloadPath || null; dlObj.targetPath = media.path || null; + dlObj.arrInstanceKey = record._instanceKey || null; dlObj.arrLink = isSeries ? DownloadAssembler.getSonarrLink(media) : DownloadAssembler.getRadarrLink(media);