File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
2- scriptVersion=" 1.5 "
2+ scriptVersion=" 1.6 "
33scriptName=" Video"
44
55# ### Import Settings
@@ -170,7 +170,7 @@ VideoSmaProcess (){
170170 arrApiKey=" $radarrArrApiKey "
171171 fi
172172 log " $count of $fileCount :: Refreshing Radarr app Queue"
173- refreshQueue=$( curl -s " $arrUrl /api/v3/command" -X POST -H ' Content-Type: application/json' -H " X-Api-Key: $arrApiKey " --data-raw ' {"name":"RefreshMonitoredDownloads"}' )
173+ # refreshQueue=$(curl -s "$arrUrl/api/v3/command" -X POST -H 'Content-Type: application/json' -H "X-Api-Key: $arrApiKey" --data-raw '{"name":"RefreshMonitoredDownloads"}')
174174 # ArrWaitForTaskCompletion
175175 arrItemId=$( curl -s " $arrUrl /api/v3/queue?page=1&pageSize=50&sortDirection=ascending&sortKey=timeleft&includeUnknownMovieItems=true&apikey=$arrApiKey " | jq -r --arg id " $downloadId " ' .records[] | select(.downloadId==$id) | .movieId' )
176176 arrItemData=$( curl -s " $arrUrl /api/v3/movie/$arrItemId ?apikey=$arrApiKey " )
@@ -188,7 +188,7 @@ VideoSmaProcess (){
188188 arrApiKey=" $sonarrArrApiKey "
189189 fi
190190 log " $count of $fileCount :: Refreshing Sonarr app Queue"
191- refreshQueue=$( curl -s " $arrUrl /api/v3/command" -X POST -H ' Content-Type: application/json' -H " X-Api-Key: $arrApiKey " --data-raw ' {"name":"RefreshMonitoredDownloads"}' )
191+ # refreshQueue=$(curl -s "$arrUrl/api/v3/command" -X POST -H 'Content-Type: application/json' -H "X-Api-Key: $arrApiKey" --data-raw '{"name":"RefreshMonitoredDownloads"}')
192192 # ArrWaitForTaskCompletion
193193 arrQueueItemData=$( curl -s " $arrUrl /api/v3/queue?page=1&pageSize=50&sortDirection=ascending&sortKey=timeleft&includeUnknownSeriesItems=true&apikey=$arrApiKey " | jq -r --arg id " $downloadId " ' .records[] | select(.downloadId==$id)' )
194194 arrSeriesId=" $( echo $arrQueueItemData | jq -r .seriesId) "
You can’t perform that action at this time.
0 commit comments