# Plex Web Export

**URL:** <https://forums.plex.tv/t/plex-web-export/5807>\
**Category:** Dev/API Corner\
**Tags:** other-dev\
**Created:** [October 6, 2010, 11:36am UTC](https://forums.plex.tv/t/plex-web-export/5807 "2010-10-06T11:36:18Z")\
**Posts on this page:** 20\
**Page:** 34

<div class="post-metadata">

**Author:** ![chipserver](https://avatars.discourse-cdn.com/v4/letter/c/8baadc/32.png) [@chipserver](https://forums.plex.tv/u/chipserver)\
**Post date:** [October 18, 2015, 9:07pm UTC](https://forums.plex.tv/t/plex-web-export/5807/661 "2015-10-18T21:07:47Z")

</div>

FYI - Found the problem. It appears that the oputput simply won’t work locally, and must be loaded from a web server. This is the specific error that pops up in chrome debug:

> XMLHttpRequest cannot load file:///C:/plexport/plex-data/data.js. Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https, chrome-extension-resource.

Uploaded the output to my web server and it works fine.

---

<div class="post-metadata">

**Author:** ![Jay\_Erskine](https://avatars.discourse-cdn.com/v4/letter/j/f6c823/32.png) [@Jay\_Erskine](https://forums.plex.tv/u/Jay_Erskine)\
**Post date:** [February 3, 2016, 9:26pm UTC](https://forums.plex.tv/t/plex-web-export/5807/662 "2016-02-03T21:26:23Z")

</div>

Is this still supported? When I try to run on my 2012 Windows box, I get the following:

G:\export\Plex-Export-master\>php cli.php  
14:48:01 Welcome to the Plex Exporter v1  
14:48:01 Searching for sections in the Plex library at [http://localhost:32400/](http://localhost:32400/)  
14:48:02 Error: The Plex library could not be found at [http://localhost:32400/](http://localhost:32400/)  
14:48:02 Error: Could not load section data, aborting

---

<div class="post-metadata">

**Author:** ![Jay\_Erskine](https://avatars.discourse-cdn.com/v4/letter/j/f6c823/32.png) [@Jay\_Erskine](https://forums.plex.tv/u/Jay_Erskine)\
**Post date:** [April 25, 2016, 1:43am UTC](https://forums.plex.tv/t/plex-web-export/5807/663 "2016-04-25T01:43:04Z")

</div>

Bump. Is there an alternative?

---

<div class="post-metadata">

**Author:** ![mlocher75](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/mlocher75/32/13716_2.png) [@mlocher75](https://forums.plex.tv/u/mlocher75)\
**Post date:** [April 26, 2016, 1:19pm UTC](https://forums.plex.tv/t/plex-web-export/5807/664 "2016-04-26T13:19:57Z")

</div>

Obviously not. It is quite frustrating.  
Hence I have started to code my own solution in PHP based on the PLEX http API. It is in very alpha stage and far away from a public beta release.  
First screenshots here:

---

<div class="post-metadata">

**Author:** ![pikeupe](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/pikeupe/32/84088_2.png) [@pikeupe](https://forums.plex.tv/u/pikeupe)\
**Post date:** [May 4, 2016, 7:54am UTC](https://forums.plex.tv/t/plex-web-export/5807/665 "2016-05-04T07:54:15Z")

</div>

> @mlocher75 said:  
> Obviously not. It is quite frustrating.  
> Hence I have started to code my own solution in PHP based on the PLEX http API. It is in very alpha stage and far away from a public beta release.  
> First screenshots here:

Hello

still in testing?

---

<div class="post-metadata">

**Author:** ![mlocher75](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/mlocher75/32/13716_2.png) [@mlocher75](https://forums.plex.tv/u/mlocher75)\
**Post date:** [May 4, 2016, 10:23am UTC](https://forums.plex.tv/t/plex-web-export/5807/666 "2016-05-04T10:23:46Z")

</div>

Well, it works quite well for movie and tv-show libraries but the code is a pretty mess at the moment. It is currently more like a proof of concept than a proper written piece of code.  
Hence I am still cleaning up the code and make the output completely template based. I also still need to include some sanity checks to prevent the script from being abused to manipulate the PLEX server with tampered http requests. I also want to make everything as flexible as possible to include also picture and music libraries in the final release.

I hope to be able to release a beta version still this month.

Some pre-release information for the first beta:

_Name:_  
PHP library presenter for PLEX

_Description:_  
Provides a PHP frontend to simply present PLEX libraries on the web without the possibility to play or download the library items.  
Currently only supports movie and tv-show libraries.

_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

- 
  - list view (dataTables jquery plug-in)

- ajax pop-up for the detail view of a library item
- configurable with json based config files, e.g.:
- 
  - exclude libraries from being shown

- 
  - amount of information to be shown for each view

- 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

_Requirements_:

- a webserver with PHP
- a running PLEX server

_To do for final release:_

- support picture and music libraries
- admin section to change the configuration
- support additional languages

_Possible features for future releases:_

- download the library list in different file formats
- tell me 🙂

---

<div class="post-metadata">

**Author:** ![pikeupe](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/pikeupe/32/84088_2.png) [@pikeupe](https://forums.plex.tv/u/pikeupe)\
**Post date:** [May 4, 2016, 10:46am UTC](https://forums.plex.tv/t/plex-web-export/5807/667 "2016-05-04T10:46:28Z")

</div>

Hello

thank you for the information and strongly next exit

thank you

---

<div class="post-metadata">

**Author:** ![Jay\_Erskine](https://avatars.discourse-cdn.com/v4/letter/j/f6c823/32.png) [@Jay\_Erskine](https://forums.plex.tv/u/Jay_Erskine)\
**Post date:** [May 9, 2016, 2:20am UTC](https://forums.plex.tv/t/plex-web-export/5807/668 "2016-05-09T02:20:09Z")

</div>

I finally got it working, but really like the look of yours, very nice work.

---

<div class="post-metadata">

**Author:** ![pikeupe](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/pikeupe/32/84088_2.png) [@pikeupe](https://forums.plex.tv/u/pikeupe)\
**Post date:** [May 11, 2016, 7:37pm UTC](https://forums.plex.tv/t/plex-web-export/5807/669 "2016-05-11T19:37:29Z")

</div>

hellos  
when can we first tested this beta?

thank you

---

<div class="post-metadata">

**Author:** ![Luzifel](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/luzifel/32/5073_2.png) [@Luzifel](https://forums.plex.tv/u/Luzifel)\
**Post date:** [June 21, 2016, 4:03pm UTC](https://forums.plex.tv/t/plex-web-export/5807/670 "2016-06-21T16:03:29Z")

</div>

Plex Export **IS** totally running. You’ve missed using your token. Just take a look in the Readme File.

---

<div class="post-metadata">

**Author:** ![ScottNY845](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/scottny845/32/89154_2.png) [@ScottNY845](https://forums.plex.tv/u/ScottNY845)\
**Post date:** [August 8, 2016, 9:00pm UTC](https://forums.plex.tv/t/plex-web-export/5807/671 "2016-08-08T21:00:32Z")

</div>

Can you please provide the link so I can download this…

Thanks:  
Scott

---

<div class="post-metadata">

**Author:** ![ScottNY845](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/scottny845/32/89154_2.png) [@ScottNY845](https://forums.plex.tv/u/ScottNY845)\
**Post date:** [August 8, 2016, 9:18pm UTC](https://forums.plex.tv/t/plex-web-export/5807/672 "2016-08-08T21:18:23Z")

</div>

Ok, I got it to work, how would I go about now exporting this so I can then send my catalog to others to see what I have?

---

<div class="post-metadata">

**Author:** ![ScottNY845](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/scottny845/32/89154_2.png) [@ScottNY845](https://forums.plex.tv/u/ScottNY845)\
**Post date:** [August 9, 2016, 4:18am UTC](https://forums.plex.tv/t/plex-web-export/5807/673 "2016-08-09T04:18:32Z")

</div>

Hello All:

I am having troubles getting this to generate a report for me. If someone could help walk me through this, I would appreciate the help…

thanks

---

<div class="post-metadata">

**Author:** ![MattScales](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/mattscales/32/14028_2.png) [@MattScales](https://forums.plex.tv/u/MattScales)\
**Post date:** [August 11, 2016, 8:15am UTC](https://forums.plex.tv/t/plex-web-export/5807/674 "2016-08-11T08:15:51Z")

</div>

I know this might be an old thread, I have this working to generate an export, but when I drag and drop the index.html page it just says “loading data from Plex” forever and never actually loads anything.

No errors running the script, but I’ve tried Chrome and Safari, and neither actually get past just saying “loading data from Plex” on that index.html page.

Anyone got any advice as to why that doesn’t seem to actually pull in any content?

---

<div class="post-metadata">

**Author:** ![shutchi2](https://avatars.discourse-cdn.com/v4/letter/s/ee59a6/32.png) [@shutchi2](https://forums.plex.tv/u/shutchi2)\
**Post date:** [September 6, 2016, 4:20pm UTC](https://forums.plex.tv/t/plex-web-export/5807/675 "2016-09-06T16:20:38Z")

</div>

Has anyone tried this one yet? [http://www.igadgets.at/plex2html/index.htm](http://www.igadgets.at/plex2html/index.htm)

---

<div class="post-metadata">

**Author:** ![Catar1n0](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/catar1n0/32/82699_2.png) [@Catar1n0](https://forums.plex.tv/u/Catar1n0)\
**Post date:** [September 9, 2016, 2:16pm UTC](https://forums.plex.tv/t/plex-web-export/5807/676 "2016-09-09T14:16:36Z")

</div>

Mine working now

php cli.php -plex-url=http://127.0.0.1:32400 -token=mytoken

---

<div class="post-metadata">

**Author:** ![mkaand](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/mkaand/32/342840_2.png) [@mkaand](https://forums.plex.tv/u/mkaand)\
**Post date:** [October 15, 2016, 6:31pm UTC](https://forums.plex.tv/t/plex-web-export/5807/677 "2016-10-15T18:31:07Z")

</div>

**PLEX WEB EXPORT v.1 TUTORIAL**

Hi Folks, I want to create these tutorial for this dead project. I hope one day it can be alive again. First, I use PWE (Plex Web Export) version 1. I spent 3-4 hours for using v2 but I couldn’t achieve then I read this topic, v2 is not working with latest PLEX Server. For this reason you can use v1.

You can see my PWE v1.0 demo site: [kaan.dogan.org/plex](http://kaan.dogan.org/plex "http://kaan.dogan.org/plex")

My Setup:

- Windows 10 with Anniversary Update
- IIS v10
- PHP7
- Plex Media Server Version 1.1.4.2757
- NetDrive2 v2.6.12 (optional)
- Plex Web Export v1.0
- Any web hosting

Installation:

First I’ll show you a trick. Instead of using your own host you can use any Free Hosting Services. You have to map your FTP as a drive on your PC (Plex Media Server). I use NetDrive2 for this job. Because it gives me more features but you don’t need to use NetDrive. You can map your free hosting service’s FTP. It is built-in Windows Feature. In my case:

![](https://sea1.discourse-cdn.com/plex/uploads/default/original/3X/4/1/4123ee6301cd00d10814702eca0a8d776e083154.png)

In my case, I added my web server as **Drive V** :

I opened notepad and I paste these text to it and save as PWE.bat

> cd C:\Program Files\PHP\v7.0  
> php V:\httpdocs\kaan\plex\cli.php -plex-url=“[http://localhost:32400](http://localhost:32400)” -data-dir=“plex-data” -sections=“Movies,TV Series,Documentaries,Documentary Series,Turkish Dubbed”

I run this PWE.bat file as **Administrator**. That’s it. It pulls everything from my Plex Media Server and generate webpage on my website directly.

In this line:  
php V:\YOUR\_PWE\_LOCATION\cli.php -plex-url=“[http://localhost:32400](http://localhost:32400)” -data-dir=“plex-data” -sections=“LIBRARY\_NAMES\_SEPARATED\_WITH\_COMMA”

Do not waste your time for v2. v1 is OK. Enjoy.

Visit my Plex Web Export micro site: [kaan.dogan.org/plex](http://kaan.dogan.org/plex "http://kaan.dogan.org/plex")

---

<div class="post-metadata">

**Author:** ![pikeupe](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/pikeupe/32/84088_2.png) [@pikeupe](https://forums.plex.tv/u/pikeupe)\
**Post date:** [October 16, 2016, 7:34am UTC](https://forums.plex.tv/t/plex-web-export/5807/678 "2016-10-16T07:34:07Z")

</div>

Hello

personally I use it

> **[\[Release\] PHP Library Presenter for PLEX \[PLPP\]](https://forums.plex.tv/discussion/218740/beta-release-php-library-presenter-for-plex-plpp-v0-9-beta/p1)**
>
> PHP Library Presenter for PLEX \[PLPP\] Version v1.0 - 01.01.2018 - first release on GitHub Download Docker Image A docker image has kindly been provided by christronyxyocum: https://hub.docker.com/r/tronyx/docker-plpp/ Description Provides a PHP...

---

<div class="post-metadata">

**Author:** ![mkaand](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/mkaand/32/342840_2.png) [@mkaand](https://forums.plex.tv/u/mkaand)\
**Post date:** [October 16, 2016, 9:33am UTC](https://forums.plex.tv/t/plex-web-export/5807/679 "2016-10-16T09:33:25Z")

</div>

> @pikeupe said:  
> Hello
> 
> personally I use it
> 
> [https://forums.plex.tv/discussion/218740/beta-release-php-library-presenter-for-plex-plpp-v0-9-beta/p1](https://forums.plex.tv/discussion/218740/beta-release-php-library-presenter-for-plex-plpp-v0-9-beta/p1)

Hi, I tried PLPP too. But I like Plex Web Export layout design. It is more clear.

---

<div class="post-metadata">

**Author:** ![fenster89411](https://avatars.discourse-cdn.com/v4/letter/f/f14d63/32.png) [@fenster89411](https://forums.plex.tv/u/fenster89411)\
**Post date:** [December 5, 2016, 1:43pm UTC](https://forums.plex.tv/t/plex-web-export/5807/680 "2016-12-05T13:43:17Z")

</div>

I have to second mkaand’s tutorial - I struggled then followed him and have it running now and its terrific.  
Just has to add my token and amend his bat file to suit my setup.

Guys I only have one issue you java people might help with - by default I want “by recently added” as desc (thus the newest is at the top) can I do this or can you advise?

Thanks again mkaand!

This thread aint dead 🙂

[Previous page](https://forums.plex.tv/t/plex-web-export/5807.md?page=33)

[Next page](https://forums.plex.tv/t/plex-web-export/5807.md?page=35)
