Plex Web External Player

Works well ( first time) on my server PC - thank you!

But the script will not run on other pc’s also using chrome for some reason.
Tried reinstalling T.M. Agent and script but still doesn’t run.

Any ideas why and how to resolve this would be great?

Ok, after some digging around and such. i think I have sorted this ( at least temporarily till the O.P. can/if does his magic!)

The Chrome browser page on a local p.c. to the server p.c. ( same network here btw) has this url:
https://app.plex.tv/desktop#

This does not allow the script to run ( for what ever reason - i’m no coder)
Also trying to map the server drives as local did’nt help with the script running. But was useful after the following hack!

I opened the console in Chrome developer options and found a url that appeared to work.

It looks like the below ( i have obfuscated the token for my security!). You will need to find the similar one in your system.

https://(network address of server eg: 198.2.0.21).(Token eg: faab3ee02edb12eefg82e32c6435bfb8).plex.direct:32400/web/index.html#

eg: https://198.2.0.21.faab3ee02edb12eefg82e32c6435bfb8.plex.direct:32400/web/index.html#

After doing this, all my network pc’s (with the Tampermonkey extension with the O.P’s script plus external player agent installed), - run and play media perfectly using MPC-HC!

I hope this helps someone else out there…

Chocoa510

Thanks for this. Any possibility of adding this functionality to the official Plex Kodi add-on?

Hi,
To be honest, I have no idea how you would implement this in Kodi - I don’t have any relevant programming experience. So unsure what needs to happen.

As explained in my post, I managed to get this working in Chrome browser in windows 10. I just used curiosity and luck to find my workaround.

Sorry I can’t assist much further. Maybe the Kodi forum guys can do more with this.

Good luck anyway!

Does anyone know if it’s working with UNO UI? I’m scared to update my server in case it would break things