Plex Web Export

i changed that, still not working



I've managed to get it working locally, if you check out the updates at https://github.com/Dachande663/Plex-Export/blob/i18n/assets/lang/de_DE.js you can see the changes I've made.

not local or in Dropbox and i used your File.

My Plexexport



Ah, simple reason! The i18n branch has a modified JS library which handles the language support. If you use the plex.js and utils.js from the branch I linked to you will get the translations.

Also, having seen the customizations you've made to the Plex design, how many people are interested in various templates/design control?

ok it is working, my mistake



btw here is my style.css if anybody want



style.css.zip (2.51 KB)

sorry to be dense, but in what situation would i use this?



Say you want to show your friends what films you have or have a "movies" section on your website, you would run this script and put the output in your dropbox or on a server and other people can view it without needing access to your Plex Media Server.

i have seen a few bugs in the languagefile


  1. the genres are missing


  2. line 26 “items” is not translated



    also i made some changes so the design wouldn’t destroyed



    here is the new file:



    de_DE.js.zip (1.32 KB)


The actual genres (sci-fi, romance, action etc) are provided by Plex so are not translated by the Export.
To change the "items" line you have to override the inflect method in the i18n block. This is because some languages have different plural forms than the English two.

Ah. Cool. Looking forward to trying it out. Thanks for the effort!


Ok i use Plex in english.


its done :-)

here is the new:

de_DE.js.zip (1.32 KB)

are the seasons also provided by Plex?


Yes. And thanks, changes have been pushed to Github.

Hello,

I ve just discoved your plugin that looks amazing !!



What do I ve to do after downloading the plex export zip ?



I ve just unzipped it and lauch index.html but nothing is moving.

Do I need to unzip somewhere else?



Have you read the "readme" -file? :rolleyes:

You have to run the php script in Terminal, and enable PHP in OSX

sorry.

OS X could not open it as the extension was nothing.



Now I gonna follow it



Thanks

Hi,



I can not get the export to work. Everytime i run the export it finish with an error



*

11:47:05 Analysing media items in section…

11:47:05 Added 28 items from the Cabaret section



11:47:28 Analysing media items in section…

11:47:28 Added 1635 items from the Movies section



11:47:29 Analysing media items in section…

11:47:29 Added 62 items from the Music Video section



11:53:41 Analysing media items in section…

11:53:41 Added 181 items from the TV Shows section

11:53:41 Exporting data for 4 sections containing 11730 items

11:53:41 Generating and minifying JSON output, this may take some time…



Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 71 bytes) in /Users/MM_Living/Sites/movielist/cli.php on line 834

*



the number of bytes in tried to allocate differs in each run.



I tried reboot the mac mini and run the script on a clean system, and gave ‘everybody’ read/write rights on the folder containing the script.



I’m don’t know whats wrong, if you can shed some light on this it would be greatly appreciated.



Rob.

It seems like with the export it skips a lot of covers. When I open the html file some covers for movies are missing.



This is because the amount of memory PHP has given the script has been exhausted, nothing to do with your system (it's to stop pages taking ages to load and crashing web servers). As a quick fix, if you open the cli.php in a text editor you will see a line at the top like so:

ini_set('memory_limit', '128M');

Try changing the value to 256 and if that still gives you the error even 512 or more, for example:

ini_set('memory_limit', '256M');

Hopefully that will solve your troubles.


Hi sandman, when you view the html do you see the default image (white rectangle) or a "missing image" icon (depending on your browser)?

If it's the former, can you look in plex-data/ to see if the images are there (assuming you don't have thousands).

Cheers, Luke.


It is missing from the plex-data dir.