Sonarr version (exact version): 2.0.0.4146
OS: Windows 10
So I used filebot to do all my post processing stuff so I can post process both movies and tv shows instead of just tv shows and plus not have to deal with running various programs to extract shows and well various other reasons as well… anyways what I need help with is the refresh/rescan series command…
$url = "http://localhost:8989/api/command"
$json = "{ ""name"": ""RescanSeries"" }"
Write-Host "Publishing update $version ($branch) to: $url"
Invoke-RestMethod -Uri $url -Method Post -Body $json -Headers @{"X-Api-Key"="(api key)"}
This is currently what I’m running in powershell and it works, but the thing is that it refreshes/rescans every single show I have on sonarr, I don’t want it to do that I just want it to refresh/rescan the series for the show that is going through the post process stuff at the time.
the optional parameter says that I can do the above by putting
seriesId (int)
into the command, but the thing is I can’t seem to figure out where to put it. :s anywhere I put it at throws up an error doing a test run, without it though I can run the test succefully and it’ll refresh/rescan all of my shows on sonarr.
this stuff used to come second nature to me easily but I haven’t messed with powershell and such in a very very long time. So I was wondering if someone could point me into the spot of where the seriesId (int)
should go for this to work and only refresh/rescan the series for the downloaded episode.