Just-A-Bunch-Of-Starr-Scripts icon indicating copy to clipboard operation
Just-A-Bunch-Of-Starr-Scripts copied to clipboard

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

Open trexxeon opened this issue 1 year ago • 2 comments

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

trexxeon avatar Feb 11 '24 21:02 trexxeon

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

ChristianMalazarte avatar Feb 26 '24 08:02 ChristianMalazarte

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.

tronyx avatar Mar 02 '24 14:03 tronyx