I use Postman to learn some API requests and posts for Plex media Server and Plex Media Player (2.1.1) located on QNAP
I can do requests regarding my Plex Server. Every response is as expected
I also get Status 200 Accept when subscribing player to remote.
However, as soon as I try to send commands to player I get Status code 406 not acceptable. Has anyone sent a command to Plex Media Player with success? There is very little documentation about success stories regarding this. How is that?
You can send commands directly to a client or proxy them through the server. You do need to provide additional information when talking to a client, such as the machine id of the server and a few other things. When those are missing you get the 400 level error codes. If you take a look at python-plexapi you should be able to see what we do there and mimicking it. You want to look at the client.py file specifically.
I’d provide more details but I’m on my phone, so can’t loom them up easy.
My PMP broadcast 2 players with different IP: External 127.0.0.1 and Internal 192.XXX.XXX.XXX
Both have the samt Client-ID and CLient-Name and same port 32433.
Also, Server is recognised with Internal IP upon request, but when I play a Movie and hit “Info” URL of file located on server is on external IP 127.0.0.1 and port 32400
This is very confusing to me, there must be something fundamental I miss in this.