Skip to content
PhysK edited this page Jan 22, 2020 · 1 revision

PLEX Logo

PHP Library Presenter for PLEX [PLPP]

Version

v1.0 - 01.01.2018 - first release on GitHub

Download

Setting up the application

Point your web browser to DOCKER-HOST-IP:PLPPPORT/settings.php,

IE:

http:https://192.168.x.x:8383/settings.hpp

or

https://plpp.{domain}/settings.php

and you will first be prompted to set the password for the settings section. Once you're done that you can login and configure the settings.

Settings

plpp_settings

Info

  • Shell access whilst the container is running: docker exec -it plpp /bin/bash
  • To monitor the logs of the container in realtime: docker logs -f plpp
  • Container version number: docker inspect -f '{{ index .Config.Labels "build_version" }}' plpp
  • Image version number: docker inspect -f '{{ index .Config.Labels "build_version" }}' tronyx/docker-plpp

Docker Image

A docker image has kindly been provided by christronyxyocum:

https://hub.docker.com/r/tronyx/docker-plpp/

Description

Provides a PHP front end to simply present PLEX libraries on the web without the possibility to play or download the library items. Currently movie/home video, TV show, music and photo/picture libraries are supported.

Background

I always was looking for a program to present my PLEX libraries to my friends and relatives. The PLEX web gui is great, but not suitable for this purpose because I do not want them all to have access to the web gui. Hence I started to code my own solution, which should have a similar look as the PLEX web gui. However, I haven't coded in PHP for years. Actually I did not program anything for years. So this project is also a teaching project for me especially to learn OOP. Therefore the code might be pretty ugly but I wrote this program for myself and myself solely. I release this program into public domain without any warranty. It worked for me, but it must not for you. If you find bugs you can gladly post them here but don't expect me to correct them immediately (as a father of three little girls, I have a very busy life).

Features

  • directly accesses a PLEX server via http API
  • slider view for the front page showing recently added library items (bxslider jquery plug-in)
  • 2 different views for the libraries:
    • thumbnail view
    • data table list view (dataTables jquery plug-in)
  • ajax pop-up for the detail view of a movie/tv show/music library item
  • lightbox gallery pop-up for the photos/pictures of photo/picture libraries
  • password protected admin section to change the configuration, e.g.:
    • set up the connection to the PLEX server
    • exclude libraries from being shown
  • template and CSS based and hence themeable
  • default template/theme based on bootstrap 3
  • posters and thumbnails are served via the PHP script to prevent the PLEX token to be disclosed in the generated html code
  • the images are cached locally in order to speed up image delivery

Requirements

  • a webserver with PHP (tested with apache v2.2 and PHP v5.6)
  • PHP GD extension for image manipulation
  • a running PLEX server
  • a recent browser with active javascript and cookies accepted

Possible features for future releases

  • include stream/part information in details view
  • make the amount of information to be shown per media type configurable
  • download the library list in different file formats
  • support additional languages

Install instructions

Clone the repository to your webserver root or unpack zip file and upload contents to a webserver. Change permissions for the following folders:

  • plpp/cache --> chmod 777
  • plpp/config --> chmod 777

Point your web browser to "plpp/settings.php". You are first prompted to set the password for the settings section. Thereafter you can login to configure the settings.

Screenshots

Screenshot 1 Screenshot 2 Screenshot 3 Screenshot 4 Screenshot 5 Screenshot 6

Revision history

v1.0

  • First release on GitHub

Useful Starter Links

  1. Introduction
  2. G-Suite Signup
  3. Recommended NewsHosts
  4. Change Log

Prior Planning 101

  1. Recommended Pre-Reading
  2. Server - Storage Planning
  3. Usenet or BitTorrent
  4. PTS Editions
  5. PTS Folder Structure
  6. PTS-Repos
  7. Common Issues

Deploy & Config

PTS-Team
  1. SSH Server Access
  2. Install PTS
  3. WatchTower
  4. Remote Path Mappings

Data Transport
  1. PTS Clone
    1. Google OAuth Keys
    2. PTS Move
    3. PTS Blitz
    4. 2nd HD Option

Key Components

  1. Traefik
  2. Port Guard
  3. PTS Shield
  4. PTS Press
  5. Google Cloud - GCE
    1. Automated setup
  6. Hetzner Cloud
  7. PTS Fork
  8. Extra PTS Commands

Blitz App Info

  1. Accessing PTS Apps
  2. App Port Scheme

Tools & Services

Core Apps [Expand]
  1. Emby
  2. Jackett
  3. Jellyfin
  4. LazyLibrarian
  5. Lidarr
  6. Netdata
  7. NZBGet
  8. Ombi
  9. Plex
  10. Portainer
  11. qBittorrent
  12. Radarr
  13. Radarr4k
  14. RadarrHDR
  15. RuTorrent
  16. SABnzbd
  17. Sonarr
  18. Sonarr4k
  19. SonarrHDR
  20. Tautulli
  21. JDownloader2
Community Apps [Expand]
  1. AirSonic
  2. Bazarr
  3. Bitwarden
  4. BookSonic
  5. cAdvisor
  6. Cloud Commander
  7. Deluge
  8. DelugeVPN
  9. Dozzle
  10. Duplicati
  11. Filebrowser
  12. FlexGet
  13. Gazee
  14. Headphones
  15. Heimdall
  16. HomeAssistant
  17. jd2-openvpn
  18. Kitana
  19. Logarr
  20. MakeMKV
  21. MariaDB
  22. McMyadmin
  23. MEDUSA
  24. Mellow
  25. Miniflux
  26. Monitorr
  27. Muximux
  28. Mylar
  29. NextCloud
  30. NowShowing
  31. NZBHydra2
  32. Organizr
  33. plpp
  34. pyLoad
  35. qBittorrent
  36. QBittorrent VPN
  37. radarrsyncarr
  38. Resilio
  39. rflood-openvpn
  40. rutorrent-openvpn
  41. Shoko Anime Server
  42. SpeedTest
  43. SyncLounge
  44. Teamspeak3
  45. The Lounge
  46. Transmission
  47. Trakt.or
  48. Ubooquity
  49. Varken
  50. vnc-xfce
  51. vnstat
  52. ZeroTier

Misc Info & Articles

  1. Change Server Time
  2. Fail2Ban
  3. Custom Containers
  4. Deploying Varken, Influx, Telegraf, Grafana
  5. cloneclean commands
  6. Understanding htop
Scripts
  1. Scripting Area
    1. Auto Upload for Sonarr and Lidarr
    2. Auto Delete Log
    3. Plex Plugin DB Backup
    4. Plex fast BACKUP
    5. Delete All Unmonitored from Radarr
Clone this wiki locally