angrycuban13 / Just-A-Bunch-Of-Starr-Scripts

Just a bunch of scripts for Starr apps
104 stars 12 forks source link

Upgradinatorr kicked off search for: #70

Open Joly0 opened 3 months ago

Joly0 commented 3 months ago

Hey, i just setup the upgradinatorr script on unraid, and i saw, that the script ended without spitting out what it started to search for:

root@Tower:/mnt/user/projects/Just-A-Bunch-Of-Starr-Scripts/Upgradinatorr# pwsh ./upgradinatorr.ps1 -apps radarr
Configuration for Radarr is valid
Starting Radarr search
Config - Radarr - URL: http://10.10.1.20:7878
Config - Radarr - Monitored: True
Config - Radarr - Status: released
Config - Radarr - Unattended: False
Config - Radarr - Limit: 10
Config - Radarr - Tag Name: checked
Config - Radarr - Tag ID: 2
Config - Radarr - Ignore Tag: ignore
Config - Radarr - Ignore Tag ID: 3
Config - Radarr - Quality Profile Name: None
Searching for 10 movies from Radarr
Searched started for 10 items in Radarr
Adding tag name "checked" to 10 movies in Radarr
Tag added to 10 items in Radarr
Upgradinatorr kicked off search for: 

root@Tower:/mnt/user/projects/Just-A-Bunch-Of-Starr-Scripts/Upgradinatorr#
cprn1337 commented 2 days ago

I have a similar issue, it creates the tag in radarr but doesn't assign any movies to it.

Configuration for Radarr is valid
Starting Radarr search
Config - Radarr - URL: http://192.168.1.186:7878
Config - Radarr - Monitored: True
Config - Radarr - Status: released
Config - Radarr - Unattended: False
Config - Radarr - Limit: 20
Config - Radarr - Tag Name: upgradinatorr
Config - Radarr - Tag ID:  1
Config - Radarr - Ignore Tag: upgradinatorr
Config - Radarr - Ignore Tag ID: 1
Config - Radarr - Quality Profile Name: SQP-2
Config - Radarr - Quality Profile ID: 10
Searching for 20 movies from Radarr
Searched started for 20 items in Radarr
Adding tag name "upgradinatorr" to 20 movies in Radarr
Add-TagToMedia: /mnt/user/appdata/scripts/upgradinatorr.ps1:1486
Line |
1486 |  … y -ApiVersion $apiVersion -Media $mediaToSearch -TagId $tagId -Url $u …
     |                                                           ~~~~~~
     | Cannot process argument transformation on parameter 'TagId'. Cannot
     | convert the "System.Object[]" value of type "System.Object[]" to type
     | "System.Int64".
Upgradinatorr kicked off search for: 

Script Finished Nov 17, 2024  21:19.35