Skip to content
Alex edited this page Mar 30, 2020 · 2 revisions

Setup

  1. Install PHP from ZIP file
  2. Configure as per this guide
  3. Open a command prompt (start > cmd > enter)
  4. Check if PHP is installed in command prompt (type php -v > enter). You should see the PHP version info

Data extract as per Plex-Export documentation

  1. Browse to your Plex-Export folder in command prompt, for me that was C:\Plex_Export (type cd "C:\Plex_Export" > enter)
  2. Type: php cli.php > hit enter key

Note: 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

If your Plex Server is running in Home mode, we need to authenticate via a token. To get a valid token, see this guide. Then when running cli.php, add parameter: -token=

  1. Upon completion your plex-data directory will now contain a .js file and any related thumbnails.

Run local webserver to view data

  1. Browse to your Plex-Export folder in command prompt, for me that was C:\Plex_Export (type cd "C:\Plex_Export" > enter)
  2. Run a local PHP webserver from the command prompt (type php -S localhost:8000 > enter)
  3. Open a browser window (chrome, firefox etc) and browse to http://localhost:8000/
  4. You should see all your shows and movies etc on page

Note: the webserver command prompt needs to stay open as long as you want to view the files, if you close the command prompt window you will shutdown the local webserver