Metaproxy for Plex

Hey all,

I’ve been working on a way to make Ian Walton’s userscript work for every client, and I’ve come up with something that I think you’ll like.

Introducing metaproxy: the metadata proxy for Plex.

Currently all it does is replicate the functionality of Ian’s script, but it can do much more, so let me know if you come up with anything useful it could do!

I wrote up a setup guide at the GitHub repo, so go there for instructions: https://github.com/ThatNerdyPikachu/metaproxy

That’s all from me, let me know if you have any suggestions, or run into trouble: I’m happy to help!

8 Likes

Wow I envisioned that something like this would be possible when making the user script, but that it would have been a ton of work to do. Congratulations for pulling it off!

1 Like

Thank you for the logic!

I’ve pushed a bugfix update that fixes a typo with the -secure option, and enables building for more OS/arch combinations, including Windows.

Because Plex is being Plex, this currently doesn’t seem to work with any client any other than the web client, ironically.

I’m currently investigating the issue, and hope to have a fix soon. (I’ve posted in the support forum for more insight on why exactly it isn’t working, it seems that the web client connects to the server in a different way than the other clients.)

six years of nagging Plex for this, and two users put it together themselves with some scripts. Bravo.

I’ll start a bounty towards getting this working in other clients (namely, the official Plex add-on for Kodi - if it works in the Plex apps for Android or Xbox that’s just extra sauce at that point!!!) at $69.

Unfortunately, metaproxy cannot work with Plex for Kodi because they implement the subtitle naming logic within Kodi itself. (It does not use the API results for subtitle names.) What does work however is patching Kodi directly.


image

You can install the patch using the instructions here: https://github.com/iwalton3/media-scripts/tree/master/inject-titles-for-plex/kodi

This is a great start! Unfortunately I was unsuccessful in decrypting my certificate using the steps provided. I’m also not running Plex in Docker and not keen on requiring secure connections, so this solution may not be for me. However, I’m definitely going to be following this project…

This is definitely an interesting project and I’m also going to follow.
I haven’t tried decrypting my cert because I saw @infinitejelly’s mention of requiring secure connections and like him I am also not keen on requiring secure connections (though I am running using Docker). I see it’s been 4 months since any updates according to timestamps on Github, but I’m hoping that you will be able to figure out how to have it work without requiring secure connections.

Would be better for Plex to just add this into the system itself (as well as letting us edit what appears, mostly for if the info isn’t there) but we all know how Plex works, so that could either happen next week out of nowhere or who knows how many years from now.

Interestingly, I have Emby and Jellyfin setup also (though I don’t use them because I personally prefer Plex for a lot of different aspects) but I added Full Metal Jacket with 2 separate files (1 in the director’s aspect ratio and the other in the theatrical aspect ratio) and I put that info in square brackets for each file and Emby and Jellyfin both gave the option to select the video (at least in the web browser, didn’t actually check the Android app) and gave that information so you knew which version was which. It was extremely nice and I also saw it working for the subtitles (they didn’t have it set for audio tracks though which was disappointing).

Thanks again for both your effort and @iwalton3’s on this.

-Shark2k

I don’t generally like to add a second post if I was the last poster, but wanted you to see this.
Looks like in the latest Web App update (currently only the hosted version) they have started implementing this: Plex Web

My guess is that will eventually get rolled out to all the clients (at least those that can handle it, which I’d like to think is all of the actively developed ones but who knows).

-Shark2k

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.