It is so ridiculous, from the perspective of a paying customer, how hard you guys make it to control MY OWN DEVICES.
I want to use the /player/playback/* APIs but they do not work. Here is what /clients returns
curl “serverIP:32400/clients/”
<?xml version="1.0" encoding="UTF-8"?>Ports are all open. I can ping my client from my server. Everything is on the same subnet. Why can’t I simply just send a pause command to my own player?
I am running the server in Unraid with all required ports open.
http://serverIP:32400/player/playback/play?X-Plex-Target-Client-Identifier=(machineID from above)&commandID=0&type=video
404 Not Found
This also fails if I use the UUID of my player, but I can’t find the machine ID.
Point is, why are the /clients and /player/playback endpoints so elusive? Why doesn’t it work for anyone?
I tried to call /clients from the server, my mac, etc.
I do have advertise as player enabled on my shield.
EDIT
Ultimately the problem seems to be absolutely zero API documentation. I don’t understand why plex is so user hostile. I mean I still can’t get an API key to control my own server I have to go through your locked down authentication
It seems the solution is to send this to the client IP, with the identifier found in clientIP:32500/resources
None of this is obvious and entirely conflicts with any public documentation which say to send different query params and headers, as well as sending the call to the server, which is just wrong.