@matrixagent you can sort by view count for now, it may return as a new filter 
Any known issues with Lion? It seems to have stopped working for me. I upgraded from SL to Lion yesterday, where it still worked.
Now Iām stuck with a 100% CPU eating php-process, it hangs after starting to scan the first section:
16:59:38 Welcome to Plex Export v2.0.1<br />
16:59:38 Task 1 of 2: Scanning Plex Media Server Library<br />
16:59:38 Gathering item information (this may take a while)<br />
16:59:38 Found Plex Library on "mymachine"<br />
16:59:38 Scanning 4 sections<br />
16:59:38 Scanning section: Name1
I dove into the code and it seems that the first method called after the last logged line is **init_section_object** in *plexapi.php* - I don't see anything that should/could cause a infinite loop there, however. My PHP reports *PHP 5.3.6 with Suhosin-Patch (cli) (built: Jun 16 2011 22:26:57)*.
@matrixagent I havenāt tested it on Lion yet but donāt see anything that should cause it to hang. If you open Console do you see any output? (Sorry, not sure where the system php outputs errors to.)
Nope, had already checked there. But good news: after a reboot it works. Although it makes me sad, that OS X now has become Windows. 
I have successfully installed v2 now
Could someone direct me how I would go about changing to the bacon template, or loading the bacon template⦠as simply as possibly please 
Sadly I have to report back with more bad news⦠it seems that on (my?) Lion it *only* works after a reboot. I'm not 100% sure what the pattern is, but what I can confirm by testing so far:
- It works directly after a reboot. Multiple times, not just the first run.
- No difference whether Plex itself is running or has been started.
- It stops working after the first modification via the Plex Media Scanner - adding new content, changing a poster or something like that.
- Afterwards it behaves as I previously described, restarting Plex Media Scanner does not fix it, so far I have not found a way to get it to work again other than rebooting.
- No errors from PHP whatsoever in the logs.
@matrixagent Uh oh. Might have to pick your brain when I get some free time (currently spending this bank holiday weekend working :/)
Is it there an option in v2 of Plex Web Export to load the page by library sections, like it does in v1? Trying to load up all the sections in one go just throttles the browser and computer to death, given that some of my home movie sections has a lot of files in it.
Or is the solution to use he option ā-sectionsā and create separate pages for each sections?
Anyhow, thanks for this nifty utility!
Hi Everybody!
I would like to know how to retrieve the video path using the API. I really canāt find this information anywhere ? Anybody with an idea ?
@hb2011 In the API get to a single item page (/library/metadata/123 IIRC). Within the XML tree will be one or more Parts, these represent the files that make up that item.
Somewhat of a novice here. I downloaded your plea export file, but how do I install it or get it to run? Is there an application anywhere or what am I missing?
Mhm, for a few weeks now the update of the export takes quite a while, php uses an entire cpu core (9X%), any ideas on how to tackle this problem? Any logs to look into?
Thank you.
Never mind, somehow after exporting to a different directory and then again to the former fixed it.
Hey,
Iām using v2 of the export - used to use version 1 and I seem to remember the info on a media item telling me its resolution - if it was 1080 or not etc.
Does v2 do this? if not could it? If it does⦠where odes it show that information? I canāt find it!
Thanks in advance.
- Dreadix
Hi,
Only just started using Plex and found plex exporrt which is awesome!
But I cant get v2 to show nicely on my iPhone (v1 works on iPhone) - Is this broken? Or not yet implemented?
Nat
Hi all, sorry for being away for so long!
@fhb and @matrixagent: Iāve noticed the enormous amount of time it takes now. It appears to be something that has changed on the system, Iāve run it on an older machine which I know worked before and the only thing thatās changed is Plex so Iāll have to grab an old version at some point. Must find a fix for this as a matter of urgency.
@Nat: Yeah, the heavy use of JavaScript isnāt conducive to the iPhone. I will make a mobile stylesheet, just need time again 
Cheers guys.
Just downloaded v2, but canāt run cli.php successfully. It just hangs for 30min+
Any suggestions?
Alexander-Bruces-Macbook-Pro:~ Alec$ /Users/Alec/Downloads/Applications/Dachande663-Plex-Export-6386871/Dachande663-Plex-Export-6386871/cli.php
13:12:31 Welcome to Plex Export v2.0.1
13:12:31 Task 1 of 2: Scanning Plex Media Server Library
13:12:31 Gathering item information (this may take a while)
I have just updated Plex, so maybe this is the problemā¦
@BruceA Something has changed in a version of Plex, not sure how far back. Iāve tested on an older Leopard machine where the only variable was Plex so Iām hunting to find out whatās changed within that. In the meantime, it will work but my last run took upwards of 2 hours(!) to complete and ate up Plex while it was doing it. Iām going to add a message to the first post to warn other users about this until I find a solution. Sorry for the disappointment 
Not at all, I think Plex Export is fantastic. Iām surprised Plex havenāt asked to integrate it into the official builds.
Iāll just rollback the Plex version. Good luck finding the problem.
If itās useful to poke at Iāve got a big library (more than 20,000 video files) exported at:
http://movies.uberzach.com/
Itās a v1 export right now, but if I donāt run into whatever bug has been hanging v2 exports it should be v2 in the next couple of hours.
I had trouble with v2.0.1 ā after ~5 minutes of normal execution both the PMS and the PHP process got stuck spinning on something. PMS stopped responding to new requests, but that clearly wasnāt the only problem because PHP was chewing CPU time as well, not just waiting on a socket. I let that condition last for over and hour with no apparent change from either process.
But all was well when I set the cURL concurrency to 1. Honestly Iām not sure the concurrency is worth the hassle unless thereās large latency, and even in that case probably more like 5 simultaneous requests than 96. For reference, I exported 1054 top-level items (20,300 items including individual TV episodes) in 264.975 seconds. Thatās a non-cached run against a local PMS on a MacMini Core2Duo.
In any case, Iāve got a v2 export up now at:
http://movies.uberzach.com/
And with concurrency disabled the version from github is working fine for me.