Export your Plex Library as an interactive HTML page for others to browse.
Switch branches/tags
Nothing to show
Clone or download

README.md

PLEX Export

Luke Lanchester luke@lukelanchester.com http://hybridlogic.co.uk/code/standalone/plex-export/

Please note: Plex Export is no longer under active development. Use at your own risk.

Summary

Plex Export allows you to produce an HTML page with information on the media contained within your Plex library. This page can then be shared publicly without requiring access to the original Plex server.

Features

  • Provides an overview of all media in each of your library sections
  • Images are lazy loaded as you scroll down
  • Live filtering within each section
  • View additional item information on click

## Instructions

  1. You must have PHP installed on your system for this to work (PLEX Export does not have to be run on the system containing Plex Media Server however)
  2. In your preferred shell/terminal enter the following command: php cli.php
  3. If Plex Media Server is running on a different machine, specify it's URL with the -plex-url parameter e.g. php cli.php -plex-url=http://other-machine.local:32400
  4. Upon completion your plex-data directory will now contain a .js file and any related thumbnails. Access the index.html file in your web browser and enjoy :)

## Notes

  • The website is designed for modern browsers (Safari, Chrome, Firefox)
  • You may need to chmod cli.php to allow for executables
  • Delete cli.php if you upload PLEX Export to any public location
  • If your Plex Server is running in Home mode, we need to authenticate via a token
  • To get a valid token for your system, look here: https://support.plex.tv/hc/en-us/articles/204059436-Finding-your-account-token-X-Plex-Token
  • Then when running cli.php, add a parameter like: -token=

## Features

  • Filter by genre, actors etc
  • Sort by name, year, rating etc
  • Pull in favourites from Plex
  • More detailed TV Show popup (seasons, episodes etc)