Stop Extensive Media Analysis Task
There are a number of tasks that can be scheduled to run on a Plex server. This API command will stop the refresh local metadata task.
URL
DELETE http://{ip_address}:32400/butler/DeepMediaAnalysis?X-Plex-Token={plex_token}
Parameters
Name | Description |
---|---|
ip_address | The IP address of the Plex Media server. |
plex_token | The Plex token. |
Return Status
HTTP Code | Description |
---|---|
200 | Success - The task has stopped successfully. |
401 | Unauthorized - The Plex token provided was not valid. |
404 | Not Found - The task is not currently running. |
Response
No response is returned by the command. The status code will indicate whether the refresh local metadata task was stopped successfully.
Examples
curl -X DELETE http://{ip_address}:32400/butler/DeepMediaAnalysis?X-Plex-Token={plex_token}
import requests plex_url = http://{ip_address}:32400/butler/DeepMediaAnalysis?X-Plex-Token={plex_token} response = requests.delete(plex_url) print(response.text)
$response = Invoke-RestMethod 'http://{ip_address}:32400/butler/DeepMediaAnalysis?X-Plex-Token={plex_token}' -Method 'DELETE' Write-Output $response