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

Just a bunch of scripts for Starr apps
92 stars 10 forks source link

Running in docker: Cannot convert the "System.Object[]" #64

Open trexxeon opened 5 months ago

trexxeon commented 5 months ago

Add-TagToMedia: /scripts/Upgradinatorr/upgradinatorr.ps1:1683 Line | 1683 | … 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".

Running this script in docker, debian linux. I get this error message. It still seems to kick of a search of tv shows and movies, but there seems to be an error with setting the tags

ChristianMalazarte commented 4 months ago

Try creating the tag first, or make sure the tag is all small letters in your config.

tronyx commented 4 months ago

Just saw this on Linux. It created the tag no problem, but did not tag the Movies it found results for when it searched. Subsequent run was fine and the next set of Movies got the tag as they should have.