Plex Web Export




I my script crontab is useless..

I'm using Transmission to download TV shows, and the new update of Transmission gives me the option to run a script on "end download" and this is where my workflow starts.

SO plz.. keep cli support :(

= I update Plex WebExport everytime I get a new TV show...

SO using crontab would be, uhm pointless.... :D?

I use launchd to automate the process once a day (but I could make it go as often as I like). This, coupled with a symlink to my dropbox directory makes the entire process seemless. If you opt for option 2, I would still like a way for it to be easily automated.



Thanks for your hard work! :slight_smile:

Hello,



First thank you for this great app/script !



I was wondering if that would be easy to add an option to compare 2 web exports : example we are a bunch of friends and we want to compare our library to see what is missing.



going further, that shouldn’t be very hard to develop some sort of social network site based on what you already built right ? something who could tell X has added this movie to his library while Y just watched the entire season of 5 of Dexter and I am listening to this music ?



I’m dreaming, I’m dreaming…



thanks already anyway…



pv

@pv_Bain I did originally look at making a centralised website similar to get glue but for plex users. The problem is I cant find any unique ID across systems apart from the film name, so comparing films may be a bit hit and miss. Definitely something i want to look at, one day.



As for comparing libraries the same thing applies, beyond matching on name there’s not much I can do. Interesting idea though.

ok I get your problem,



and what about a “plex watcher” that scan the activity on what you’re doing (logs?) and report it to a centralized websites (like last.fm) this site could also turn to be the best scrapper ever, for a lot of languages (dreaming, dreaming…)



I didn’t had any idea about getglue, thanks for the tip.



pv

Hi, i am using Mamp on 10.5.8 and its says GD is enabled



but this what i get



20:44:08 Welcome to the Plex Exporter v1

20:44:08 Error: GD is not enabled

20:44:08 Error: Failed one or more dependancy checks; aborting



can anybody help?

@Sevil you are most likely still using the Mac native PHP and not MAMPs version. Try changing the path to PHP e.g. /applications/MAMPs/php-binary-somewhere cli.php etc.

@Dachande663 /applications/MAMP/bin/php5/bin/php cli.php works fine. Thanks

@Dachande663 : Do you know when support for man added posters are getting fixed… ?



Care to share your script for the community?


Sure, the plan is to do this.
1. Remove TV shows which are older than (Guess 3 days is ok, some shows air 2 episodes the same day.?)
2. Rename files and remove junk, like "HDTV.XviD-LOL" so "CSI.S11E09.720p.HDTV.X264-DIMENSION.avi" would end up as "CSI.Crime.Scene.Investigation.S11E09.avi" which is the first result when doing a search on thetvdb
3. Run tvrenamer ( https://github.com/dbr/tvnamer )
4. Update TV section in Plex Media Manager (The section has to be named TV or TV Shows)
5. Update http://forums.plexapp.com/index.php/topic/19053-plex-web-export


1,2,3,4 are working now but when I get the script done I will post it...



/mkh

@mkh can’t give a definite answer. It should be fairly simple, I just haven’t been able to get that far down my list of tasks :frowning: I’ll bump it up a few places as it seems to be a common query.

@Dachande663 : Thanks.

Okay. Spent a few minutes (while watching Iron Man on the sofa :slight_smile: ), updating the image handling for Plex Export. The good and the bad:



The good: the exporter now supports manual artwork! Also, it uses the image transcoder built into the Plex Media Server so it’s much faster on a machine.



The bad: the Plex API returns images as Jpegs. Rather than deal with mixing between types and checking for both etc etc, I’ve made the decision to switch completely to Jpeg. Unfortunately this means you’ll have to go through the entire slow “first export” process all over again.



I’m going to spend a few more hours tonight tweaking things. My big goals are to improve performance (going to try minifying the JS, improving the DOM access) and adding i18n support (translators wanted!).



Cheers.

Okay. Big updates:



On the main branch I’ve made some performance tweaks:

[list]

[]Item list is now generated in one and then inserted, much faster.

[
]Removed the lazy loading of images which was massively slowing down scrolling.

Updated the JavaScript library used and made some other general spring cleanings.

[/list]



So, anyone updating will have a much better experience.



I have also spent most of the night adding Internationalization support for all those non-English speakers amongst us. There is a branch on Github (i18n available here https://github.com/Dachande663/Plex-Export/tree/i18n) that contains the code. Simply create a new lang file in assets/lang, load it from the index.html and translate away. I’d really appreciate it if any would-be translators can give it a go and let me know if I’ve made some horrendous mistakes, hence why this isn’t under the main branch yet. I’ve still to add a language selector and other niceties but for now I’d really appreciate any feedback.



Cheers all!

Thank you very much, great :smiley:

@Dachande663 can you please post a working Example for a Languagefile?

@Sevil if you copy the en_us file that would be the easiest starting point. Translate the value of each key (no fallback to English yet) and override the inflector and number formatted as necessary. Then just update the index.HTML file to point to the new language file. Still got to build in a proper loader but the language files themselves should work. Let me know if you need more help and I’ll make an example.

i changed this in the index.html:


<br />
	<link rel="stylesheet" media="all and (-webkit-min-device-pixel-ratio: 2" href="assets/css/iphone-retina.css" /><br />
<br />
	<script src="assets/lang/de_DE.js"></script><br />
	<script src="assets/js/jquery.1.4.4.min.js">



and then put the attached File in /assets/lang/

it doesn't work

de_DE.js.zip (1.32 KB)


You missed a quotation mark, line 11 :)
Pushed your file to the git repo in case anyone wants to check it out, thanks.