Skip to content

Plex Guide

Admin9705 edited this page Feb 22, 2019 · 85 revisions

CLICKING the STAR in the UPPER RIGHT promotes our PROJECT on GITHUB! - WARNING, PLEASE VISIT https://pgblitz.com/wikis/ - This is the old wiki!


Plex Configuration & Access

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)


Method 3 Tunneling Instructions

Required
  • Windows Machine & Putty
  • MAC Users can use the built in Terminal or another tool called SecurePipes

Tunneling

Follow either the Windows or Linux Tunnel Info

Windows Tunnel with Putty
  • 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
Linux / Mac Tunnel

To Setup Plex

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!


Plex Optimization & Setup

Configuring TV Shows

  • [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

Configuring Movies

  • [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 Server Settings

  • 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.

Kept As a Reference To Help Others (Plex WebTools)

This process is now automated
  • 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.

Installing PlexGuide

  1. PlexGuide Install Information

Preplanning & Information

  1. PG Folder Structure

Domain and Port Control

  1. CloudFlare Tunnel

Primary Applications

  1. Plex

Useful Links

  1. PG YouTube Channel
Clone this wiki locally