RefreshSeries/RescanSeries command

Windows cmd (or curl in windows don’t know really) doesn’t like single quotes so it should be

curl -s http://localhost:8989/api/series -H "X-Api-Key:  6e7bff2e25e24317924907b16e6b7eee" --compressed | jq -rs ".[]| .[] | select(.title==\"Fargo\") | .id "

Using a variable in windows is like

SET seriesName=Fargo

Calling it then in jq should be

curl -s http://localhost:8989/api/series -H "X-Api-Key:  6e7bff2e25e24317924907b16e6b7eee" --compressed | jq -rs --arg seriesTitle %seriesName% ".[]| .[]| select(.title==$seriesTitle) | .id"