Plex Web Export

Hi Catello, the export should be able to handle 10K+ items. Paging would not help too much as the webpage has to load in all of the data in one go at the beginning. Can you confirm what browser you are using? Older browsers, especially Internet Explorer, will be much slower to run the code.

i tried on:

Intel i5 windows 8.1 firefox 27, IE 11

intel i5 windows XP SP3 - firefox and IE8

macbook pro retina i7 - osx 10.9 firefox

alwayes the same problem of browser hang

i sent you as PM the link of my plex-export

i tried on:

Intel i5 windows 8.1 firefox 27, IE 11

intel i5 windows XP SP3 - firefox and IE8

macbook pro retina i7 - osx 10.9 firefox

alwayes the same problem of browser hang

i sent you as PM the link of my plex-export

What's the OS of the webserver?

If Linux, then it's most likely an issue with the account running the WebServer hasn't got rights to the files from PlexExport

/T

What's the OS of the webserver?

If Linux, then it's most likely an issue with the account running the WebServer hasn't got rights to the files from PlexExport

/T

isn't a rights problem because when i load exported index.html sometime hangs on loading and sometime hangs when i click on sorting. in safari for iphone for example hang always on page loading

isn't a rights problem because when i load exported index.html sometime hangs on loading and sometime hangs when i click on sorting. in safari for iphone for example hang always on page loading

If you want help, you really need to expose your-self here.

So,,,,OS and Webserver incl. versions please, and logs from those as well!

/T

Any idea how to access it through a reverse proxy (nginx)?

Thanks.

Edit: I'll post some additional details later.

the problem is also in local without web server.

here my plex export output

https://dl.dropboxusercontent.com/u/6847714/Plex.rar

the problem is also in local without web server.

here my plex export output

Confused here....

Where did you get your version of Plex Export?

It's a newer one than the one I got, and A LOT SLOWER than the one I got, but with more options for filtering though

The one I got is https://github.com/Dachande663/Plex-Export

And doesn't use a directory named items, and runs perfectly

/T

That's the isotope template from the v2 branch (https://github.com/Dachande663/Plex-Export/tree/v2).

It's experimental and so was never launched and made the default. I'd recommend using the older and safer master version.

thank now with the old version work great :)

one last thing, to do the export, I must disable on the server the security (with reg key disableRemoteSecurity = 1). it's possible to run the export, without disable the remote security?

thank

Ok guys, sorry for the newbiness, but making this thing work in Windows 8 x64 appears to be a freaking nightmare.

I download the plex-export master file and unzipped it in the Download folder, i ran index.html (on chrome) but it's stuck on loading.

I then opened the readme and discovered that apparently i had to install before this thing called php. The only installer i found was PHP 5.3 (5.3.28) installer on the site http://windows.php.net/download/. I downloaed it and installed it but when i launched index.html it was stuck on loading again.

I then re-read the readme and discovered maybe i had to launch a command (from where? command prompt i assume?) called "php cli.php" but when i launched it an error appeared saying OCI.dll is missing.

Why is this thing so freaking complicated? Isn't there an installer of plex web report for windows that automatically install whatever it needs to run?

Help, please, i'm stuck. :(

Why is this thing so freaking complicated?

Because this is not a regular std. MSI thingy, but a multi platform thing, that covers both Mac, Linux and Windows, and is targeted at WebAdministrators.

If you got a webserver, then read this that states that it's a bug in PHP for the the windows platform, and also shows how to solve it.

If you on the other hand only need a tekst file exported, then look in my signature for Plex2Csv

/T

Hi,

I was a little bit busy and could not provide additional information about my request.

So here it is:

I'd like to use nginx as reversy proxy in order to access Plex-Export (export.mydomain.com). Plex-Export is running on a Synology NAS and Nginx on a Macmini running OSX server.

As I'm doing for PlexWatchWeb for instance, I added the following lines to Nginx conf file (192.168.1.123 is the IP of the NAS):

server {
        listen       80;
        server_name export.mydomain.com;

        location / {
                satisfy any;
                proxy_pass         http://192.168.1.123/Plex-Export/;
                root   web;
            index  index.html index.htm;
        }
        #error_page  404              /404.html;
        error_page   500 502 503 504  /50x.html;
        location = /50x.html {
            root   html;
        }
    }

The result if I access http://export.mydomain.com is depicted in the attached figure.

If I go to http://192.168.1.123/Plex-Export/, then everything is fine.

Any idea how I can fix that?

Thanks.

I am now running Plex Export on an Ubuntu server. Where it was running fine on a Windows based server, I am now getting errors which I dont have the experience to debug. Can anyone help?

11:35:29 Exporting data for 2 sections containing 711 items
11:35:29 Error: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. on line 176
11:35:29 Generating and minifying JSON output, this may take some time...
PHP Fatal error:  Call to undefined function json_encode() in /var/www/cli.php on line 184

The first error is because you don't have a default timezone in your php.ini (normally in /etc/php5/cli/php.ini on Ubuntu).

The second error is because you need the JSON package for PHP. Why Ubuntu decided to remove this from the default I don't know.

sudo apt-get install php5-json

Will fix it for you.

Hi,

Just tried this and it is excellent. Unfortunately it can't open in any of my iOS devices. I tried on an Android device and it opens with chrome beautifully. I then installed chrome on iOS with no luck too. Works fine on my osx and win machine. Any ideas, I have 30K library items. I tried others who has less than 10K items opens fine. Any ideas?

Thanks.

"Plex Export allows you to export your Plex Media Server Library to an interactive HTML page that can then be uploaded and shared with others."

Sorry but I've read the first and last few pages and I'm still not understanding what Plex Export does? If it just exports info why were there requests to have a "read/unread" function added?

Can someone give me an example of the use of Plex Export please?

(I came across thie thread when searching for a way to backup my Plex config so that if I had to reinstall or move to a different server I wouldn't lose all the manually changed fields I've edited, like for getting all the Die Hard films in the correct order, not alphabetical).

TIA

Hi Bruce,

First of all, it looks like PHP is installed and working as the script is executing and can actually show you an error message (otherwise you'd get something along the lines of "could not find application php".

As for your problem; are you trying to export the Plex library for the machine you are on or another machine on your network? If it's the machine you're on, make sure that Plex Media Server is running (the little chevron icon in the menubar at the top). If your library is on another computer, then you need to start the script like so:

php /Users/Alec/Desktop/plexexport/cli.php -plex-url http://other-machine-name.local:32400

Let me know if this resolves your issue.

OK I am receiving this same error and my Plex Media Server is running,  In fact I have made sure I have the web page open and it is displaying my shows, etc.  It is on the same machine as the script.  I am running on windows 7 so I don't know if you support win7 or not.  However I get the exact same searching ... then error the plex library could not be found

CMD Prompt> 

welcome to plex exporter v1

12:52:35 Searching for sections in the Plex library at http://localhost:32400/

12:53:35 Error: The Plex library could not be found at http://localhost:32400/
12:53:35 Error: Could not load section data, aborting

Any help would be appreciated

Randy 

Just got this up and running - it's exactly what I was looking for, so thank you!

I'm trying to edit it to show more items horizontally (4 items per row takes up so little space on a 27" monitor!) but can't work out where it loads the number of items to show on each row.

What I've got so far just from playing around with the css: http://www.svenlowry.co.uk/Plex/index.html

Hi,

somehow i can't get in running. The PHP script works. But when i open the index.html all i got is "Loading Data from Plex" even if i wait several minutes.

this is the end of the terminal log:

17:53:51 Analysing media items in section...
17:53:51 Added 102 items from the Serien section
17:53:51 Exporting data for 2 sections containing 7998 items
17:53:51 Error: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. on line 176
17:53:51 Generating and minifying JSON output, this may take some time...
17:53:51 Wrote 6703278 bytes to /Users/user/Downloads/Plex-Export-master/plex-data/data.js
17:53:51 Plex Export completed in 242.54 seconds

I run it on Max OSX 10.9.2