-
Notifications
You must be signed in to change notification settings - Fork 257
Plex Guide
CLICKING the STAR in the UPPER RIGHT promotes our PROJECT on GITHUB! - WARNING, PLEASE VISIT https://pgblitz.com/wikis/ - This is the old wiki!
If you can ACCESS the PLEX SERVER directly such as through a direct interface or on a virutal machine; skip the tunneling and claiming instructions
Claiming Your Plex Server
-
Method 1: Using the Program - Everything works in the script -- Skip Down to Plex Setup Optimization & Setup - Below
-
Method 2: Through Portainer - Fast & Works Well
-
Method 3: Tunneling In (Information Below)
- Windows Machine & Putty
- MAC Users can use the built in Terminal or another tool called SecurePipes
Follow either the Windows or Linux Tunnel Info
- Load putty
- Type in your remote-ipaddress and port 22 and select SSH
- On the left side of the menu expand CONNECTION > SSH > Tunnels
- Source Port: 6969
- Destination: remote-ipaddress:32400
- [Click] Add
- [Click] Open
- Login and keep the terminal putty open
- Source: https://www.howtogeek.com/168145/how-to-use-ssh-tunneling
- Open command line terminal
- Use 'ssh -L local_port:local_address:remote_port [email protected]' to access remote server
- ssh -L 6969:xxx.xxx.xxx.xxx:32400 bob@ipv4address or [email protected]
Open up a browser (recommend Chrome) and type:
http://localhost:6969/web
If do not type exactly what above, you will get a whole bunch of XML garbage and nothing will happen!
- You will now be able to setup PLEX
- Double check by opening a new window or tab and type http://ipv4address:32400/web
- [Click] Add Library
- [Click] TV Shows
- [Type] Add Folders to Your Library: /plexdrive4/tv (either /unionfs/tv or /encrypt/tv for encrypted version)
- Note: You will never be able to select it if you have a large library; type it and hit ok
- [Click] Ok
- [Click] Add Library
- [Click] Films
- [Type] Add Folders to Your Library: /plexdrive4/movies (either /unionfs/movies or /encrypt/movies for encrypted version)
- Note: You will never be able to select it if you have a large library; type it and hit ok
- [Click] Ok
- Configure what you need, there is one important area.
- [Click] Server > Show Advanced > Library
- [Turn On] Update my library automatically
- [Keep-Off] Run a partical scan...
- [Keep-Off] Include music libraries...
- [Keep-On/Off] Update my library periodically (your choice..off if you have update automatically)
- [Select] Library update interval: Every 1 hour (for huge libraries, every 2 is better)
- [Keep-On] Empty trash automatically after every scan
- [Click] Server > Show Advanced > Scheduled Tasks
- [Turn/Keep On] Backup server every 3 days
- [Turn/Keep On] Optimize database every week
- [Turn/Keep On] Remove old bundles every week
- [Turn/Keep On] Remove old cache files every week
- [Turn/Keep On] Refresh metadata periodically
- all the rest keep unchecked.
- Now speaking of Bundles, lets get the Web Tools
- SSH in to your server
- type
wget -P /tmp https://github.com/ukdtom/WebTools.bundle/releases/download/3.0.0/WebTools.bundle.zip
-
sudo find / -mount -type d -name Plug-ins
..Finds the location of your Plugins folder sudo unzip /tmp/WebTools.bundle.zip -d "$(sudo find / -mount -type d -name Plug-ins)"
sudo chown -Rv 1000:1000 "$(sudo find / -mount -type d -name Plug-ins)"
Go to your server IP address with:33400 at the end and install some extra stuff..Open Movie Database and Trakt.tv are my 2 I usually get.
Home - https://plexguide.com