Plex Web Export

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

Sounds like you're not running it on a machine with a web server running - you can't just open the HTML page and have it work, it needs a web server to process the scripts and load the data

ah ok. i just remembered there was an export tool (around the time when plex server and client was a single program) that build a html file and folder structure that could be accessed without the need of a web server. I thought this was the one.

ah ok. i just remembered there was an export tool (around the time when plex server and client was a single program) that build a html file and folder structure that could be accessed without the need of a web server. I thought this was the one.

As an alternative, also check my signature for Plex2CSV

/T

In your preferred shell/terminal enter the following command:
        php cli.php 

I don't understand. Brief explanation please what shell/terminal do I enter this command?

In your preferred shell/terminal enter the following command:
        php cli.php 
I don't understand. Brief explanation please what shell/terminal do I enter this command?

You need to install a php program like wamp for instance and then after having your php emulator activated run the command given though you have to put the correct path and so on. I agree that this explanation was less than user friendly.

Anyone can tell me how to excute that cli.php file?

I have it placed on a php server. I am under windows 7 and I just don't understand what "In your preferred shell/terminal" means. I tried the cmd in windows and it doesn't know the "php" command. So where do you launch that "php cli.php -plex-url=http://other-machine.local:32400" command from?

Also I suppose you need one folder per server right. I mean I have a Plex Server for my movies, another for my TV shows so I need to set 2 lists right?

Now you need to know how to use a program php server though not complicated for the purpose of PlexExport, it is still not so simple if you never heard of one...

If on the other hand you have a NAS and have your PMS installed there is is much simpler as you only have to use:

http://YourNasIPAdress/Plex-Export-master/cli.php

to make it work from your browser. (if you added a folder named Plex-Export-master on your NAS with the program in it).

Is it possible to export my 2 plex servers into a single exported page?

I'd like to see the combination of both my local machines.... rather than using 2 different addresses with half my content on each..

thanks in advance......

Nope it isn't. At least not in the current state of the program.

is there a way to do this on a mac?

Ive recently lost all my movie files I'm hoping i can generate a list of what i had using pled and i can start trying to recover my collection. any help would be great.

is there a way to do this on a mac?


Instructions, taken from the PleExport Readme file:

1. Download and unzip PlexExport. Put the folder "plexexport" wherever you want it. I have mine in my user folder.

2. Open the terminal app and enter the following command:
php cli.php

Note that you have to specify the direct path to the cli.php file, which is inside the plexexport folder. The easiest way to do this is to type "php" (without the quotes) in the Terminal, hit the space bar once, and then drag the cli.php file into the Terminal window
(e.g., php /Users/charlie/plexexport/cli.php)

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

3. Upon completion your plex-data directory will now contain a .js file and any related thumbnails. Open the index.html file in your web browser and enjoy :)

Um ok that’s a little confusing. Where do I get this plex export?

Um ok that's a little confusing. Where do I get this plex export?


The first post in this forum thread.

Oh I was under the impression that link was for windows not Mac

Ive recently lost all my movie files I'm hoping i can generate a list of what i had using pled and i can start trying to recover my collection. any help would be great.

Check my signature for Plex2CSV.

That will generate a CSV file, which might be better for you.

/T

I am with CharlieM78. I have two Drobos hooked up to my plex system. One of the Drobos went down and the data is irretrievable (Data protection my butt!).

I am looking for a way to have plex tell me what Movies and TV shows (episodes) were saved on the dead drobo, but not the other one.

Is this possible?

Thanks

I am with CharlieM78. I have two Drobos hooked up to my plex system. One of the Drobos went down and the data is irretrievable (Data protection my butt!).

I am looking for a way to have plex tell me what Movies and TV shows (episodes) were saved on the dead drobo, but not the other one.

Is this possible?

Thanks

It all depends on your setting really. If you have all the series showing in one library while calling on your 2 drobos then you can only get the list of what is currently in your still alive drobos and compare to what Plex is showing before doing any refresh of you library of course.

If on the other hand each drobos has its own library then it should be easy to know exactly what you are missing. But you asking makes me think it isn't.

Alternatively you can list your current stuff in Plex with the program proposed by dane22 then do a refresh and do another listing to compare the 2.

Yes it's possible with my Plex2CSV tool, where you also can export the filepath of the individual medias into a CSV file.

After the CSV file has been created, simply select the file collume, and sort on that

/T

Thanks folks.

Dane22, I am trying your Plex2csv with both Plex and Plex Home Theatre.

I have installed the plex2csv.bundle file to my ~/Library/Application Support/Plex Media Server/Plug-Ins folder.

I configured the plugin to use the folder ~/Desktop/plexstuff as my 'path to export media to' from Plex Media Server.

With Plex, Plex2CSV does not appear under channels at all.

With Plex Home Theatre, Plex2csv appears, but when I select the channel, nothing happens.

Please help.

Thanks folks.

Dane22, I am trying your Plex2csv with both Plex and Plex Home Theatre.

I have installed the plex2csv.bundle file to my ~/Library/Application Support/Plex Media Server/Plug-Ins folder.

I configured the plugin to use the folder ~/Desktop/plexstuff as my 'path to export media to' from Plex Media Server.

With Plex, Plex2CSV does not appear under channels at all.

With Plex Home Theatre, Plex2csv appears, but when I select the channel, nothing happens.

Please help.

Don't wanna be accused for hijacking a thread here, even though the evidence is kinda obvious :rolleyes: 

Please go here and repost:

https://forums.plex.tv/topic/103115-rel-plex2csv/?p=607323

And when doing so, also tell me what OS you are running

/T

Sorry, under normal circumstances I don't mind doing this kind of thing (helping debug).

I have been trying to get my freakin' Drobo working going back and forth with their tech support for more than 3 weeks (during my vacation!). I am in no mood to start troubleshooting Plex2csv if it does not work off the bat.

I am running OSX 10.9.4.