I noticed someone mentioned use the ssl port but http protocol -> well on the \clients info, that’s what is associated with the PMP client. If I try to use port 32400 it actively refuses the connection (even though I’m using my Plex Token) and if I change the protocol and address to https, the command hangs and I don’t get a response status neither I can cancel the command (I have to close and restart cmd line).
To give a bit of context, I’m running my Plex server on a Ubuntu Virtual Machine on my PC, my PMP client on my Windows and testing my Python scripts from the same Windows machine (which works fine for refreshing libraries or getting the xml information). Everything is running on the same LAN.
Thanks a lot for the answer. As I mentioned in my post, I did try using port 32400 with http and 32443 with https with the results mentioned above. I have also tried exactly the same URL without the slash (for both ports and protocols as well).
I’m no programmer or developer, I simply want to learn more and have a beginner’s passion for coding, but I want to do my amateur/hobby automations and projects. My understanding is that the Playback Control you mentioned above is open source, so I feel no shame in “stealing” that part of the code. What I’m trying to do won’t have any commercial purposes.
I don’t want anything served in a silver platter, the only thing I am asking is for some pointers, as I have never dealt with API’s before and it’s all new to me. The link below is what I believe I should guide myself on, but I find it quite complicated as it seems that it gives advanced information for people with their base code already developed and they need to just adapt to the new commands.
While I appreciate you answering and that your time is precious and you must be quite busy, I can’t say it was very helpful. Please feel free to move this post to the correct location if this is the wrong one and be assured that I will keep on trying to make my amateur script work. I had always heard that Plex community was most supportive and I will keep hoping some charitable soul will be able to provide me with some pointers on how to proceed.
@jervisp said:
My understanding is that the Playback Control you mentioned above is open source, so I feel no shame in “stealing” that part of the code.
You shouldn’t, since the reason it was put up there, was to guide people
Your post is indeed in the right place, but as said, I’m not that kinda dev, since I never messed with the player/streaming part, and as such, sadly can’t assist further here, since I’m more of a tool dev.
Hopefully somebody else will chime in then…
And in the mean time, I would suggest you searched Github for the keywords “Plex Player”