Improved-Plex-Mobile

Improved Plex Mobile

Provides changes to Plex web to create a better mobile devices experience.

Features


If anything doesn’t work or look quite right, report it via Github Issues.

If you need installation help, join our Discord!

Discord

Requirements

Screenshots

| Classic | Improved Plex Mobile | |:—:|:—:| | Classic | New | | Classic | New | | Classic | New |

Installation

1) Install Plex Media Server on your server. 2) Install Nginx on your server. 3) Obtain a web domain (ex. mydomain.com) from a web registrar. Can be obtained for free from Freenom. 4) Edit your web registrar’s DNS records to point to your server’s public IP address.

The three lines you’ll need to add to your Nginx server block

proxy_set_header Accept-Encoding "";
sub_filter '</head>' '<meta name="viewport" content="width=device-width, initial-scale=1"></meta> <link rel="stylesheet" type="text/css" href="https://archmonger.github.io/Improved-Plex-Mobile/plex_mobile.css"> </head>';
sub_filter_once on;


The previous example with more context

For a detailed configuration file, view the Wiki.

server {
	# Use SSL traffic.
	listen 443 ssl http2;
	include ssl.conf;

	#      <<<<<< Edit this line to contain your domain name >>>>>>
	server_name myserver.com;

	location / {
		include websockets.conf;
		include reverse_proxy.conf;

		# Add Improved Plex Mobile to all web requests
		proxy_set_header Accept-Encoding "";
		sub_filter '</head>' '<meta name="viewport" content="width=device-width, initial-scale=1"></meta> <link rel="stylesheet" type="text/css" href="https://archmonger.github.io/Improved-Plex-Mobile/plex_mobile.css"> </head>';
		sub_filter_once on;

		# Reverse proxy your Plex server's internal IP address
		#          <<<<<< Edit this line to have your Plex server's LAN address >>>>>>
		proxy_pass https://192.168.1.200:32400/;
}