I’m trying to run a curl command to toggle the monitored status of particular episodes. I’ve been able to get the required information from the environment variables but it seems you also need an ID that isn’t supplied.
For example, setting the monitored status for an episode of The Americans requires that “id”:2481 be present within the command. Is there way to get this number for each show using the data supplied by the script variables?
Thanks.