Feature request: I would like to see the ability to filter by collection – there’s a collectionName attribute in the XML for items that are in at least one collection – as I use collections to capture some information not available in the standard metadata.
Hi profplump, thanks for taking the time to detail your results! Makes everything much easier. The initial cURL concurrency limit was put in place after testing what older versions of PMS/OS X could handle (and backing off a few for good measure). With the problems now brought about I may just ramp it back down, but in my initial tests a few weeks ago Plex still had issues. Given your success I’ll dive into it once again, miss seeing people’s cool libraries (and wow, what a library you have!). Thanks again.
P.S. Almost forgot Collections. They weren’t in the API when I first created v2, but given the updated codebase I can add them and let people filter by them. They’re on “The List” 
Cosmetic bug – on the TV series detail pages, the header that should print as “Season 0” actually prints as “Season” with no number.
For an example see:
http://movies.uberzach.com/items/16610.html
Ah cool, didn’t realise TV shows could start from zero.
Its the way that thetvdb.com deals with the specials of shows, by putting them all into season 0.
WOW! That’s great. Thank you Dachande663 
Awesome idea. I just installed it and it works great! Thanks a lot Dachande663. I’ll be donating to you after my next paycheck.
Feature Request: The ability to display a list of TV show episodes you are missing by comparing your export with TVDB. Pretty much the functionality of this script (TV Show Analyzer) built into your export script.
I find myself missing random episodes and it would be nice to go to one place (and use 1 script) to view everything I am missing. Just an idea…
can someone please help me to make this work on windows…or it never will? 
Hi Karan,
For Windows you could try something like Cygwin (not sure if that’s still around) or install XAMPP and run Plex Export against that. Sorry I can’t be of more help, haven’t touched Windows for years.
I tried running it agaings Wamp, using my ip+port but i get this error “#!/usr/bin/env php You must run Plex Export from the command line. Please see the readme document for more help.” which does make sense according to your readme, but if i see this error here how will it run aginst xampp?( anything different there?)
Thanks for the Cygwin tip, i dont know what it is but i will try to make that work. Thanks
Hi Karan,
Plex Export is designed to be run from the command line i.e. not http://localhost/plexexport/run.php. The problem then is it will be looking for php in the standard *nix location which of course doesn’t exist on Windows. I’ll have to add Windows support to my feature list as it will also require updating other areas of code, so until then I can’t say for certain if it will work. If you do want to try further:
Open a Command Prompt window
Type in the path to your WAMP PHP binary e.g. C:/Program Files/WAMP/PHP/php.exe (doubtful this is the actual path) …
… Followed by the location of Plex Export e.g. C:/Users/Downloads/PlexExport/cli.php
Your final command should look like: C:/Program Files/WAMP/PHP/php.exe C:/Users/Downloads/PlexExport/cli.php
Hit return and it should run but I have no idea what it might spit out in error.
Sorry I can’t be of more help once more
Best of luck.
So i did manage to get it working after some research on PHP paths and windows advanced settings. I ran it in Command prompt on windows and got following error:
Microsoft Windows [Version 6.1.7600]<br />
Copyright (c) 2009 Microsoft Corporation. All rights reserved.<br />
<br />
C:\Users\Administrator>php -v<br />
PHP 5.3.8 (cli) (built: Aug 23 2011 11:50:20)<br />
Copyright (c) 1997-2011 The PHP Group<br />
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies<br />
with Xdebug v2.1.2, Copyright (c) 2002-2011, by Derick Rethans<br />
<br />
C:\Users\Administrator>php C:\wamp\www\plex\cli.php<br />
20:07:47 Welcome to Plex Export v2.0.1<br />
20:07:47 Task 1 of 2: Scanning Plex Media Server Library<br />
20:07:47 Gathering item information (this may take a while)<br />
PHP Fatal error: Call to undefined function curl_init() in C:\wamp\www\plex\sys<br />
tem\classes\plextransport.php on line 45<br />
PHP Stack trace:<br />
PHP 1. {main}() C:\wamp\www\plex\cli.php:0<br />
PHP 2. PlexExport->init() C:\wamp\www\plex\cli.php:18<br />
PHP 3. PlexAPI->get_library() C:\wamp\www\plex\system\classes\plexexport.php:5<br />
0<br />
PHP 4. PlexAPI->init_library_object() C:\wamp\www\plex\system\classes\plexapi.<br />
php:35<br />
PHP 5. PlexTransport->get_xml() C:\wamp\www\plex\system\classes\plexapi.php:17<br />
2<br />
PHP 6. PlexTransport->get() C:\wamp\www\plex\system\classes\plextransport.php:<br />
14<br />
<br />
Fatal error: Call to undefined function curl_init() in C:\wamp\www\plex\system\c<br />
lasses\plextransport.php on line 45<br />
<br />
Call Stack:<br />
0.0004 326456 1. {main}() C:\wamp\www\plex\cli.php:0<br />
0.0148 1375680 2. PlexExport->init() C:\wamp\www\plex\cli.php:18<br />
0.0165 1378112 3. PlexAPI->get_library() C:\wamp\www\plex\system\classe<br />
s\plexexport.php:50<br />
0.0165 1378112 4. PlexAPI->init_library_object() C:\wamp\www\plex\syste<br />
m\classes\plexapi.php:35<br />
0.0165 1378176 5. PlexTransport->get_xml() C:\wamp\www\plex\system\clas<br />
ses\plexapi.php:172<br />
0.0166 1378176 6. PlexTransport->get() C:\wamp\www\plex\system\classes\<br />
plextransport.php:14
Let me know if you are able to see something wrong.
Regards
Hi Karan,
You need to enable curl in PHP. Googling “enable curl in WAMP” should show you how to do it, if it’s anything like on Linux you’ll have to modify a php.ini file.
First i want to thank you for the really great script. It works like a charm.
But now i want to integrate the output as a post on blogspot.com
So the source for the /assets and /plex-data folder is plex.***.at
Now i have posted the index.html as a post on blogspot and changed the script src to plex.***.at/…
I already have changed the link to the plex-data folder in /js/plex.js
But now i get only the Plex Site with loading.
Is it possible to run the output script on 2 different sites?
Thanks
Hi balrox, not sure how well Plex Export will handle being run as a blogspot post as it includes a lot of JavaScripts and CSS files that are not designed to be run as part of another page. Your best bet might be to do what people on here have already done:
Make an account with Dropbox (you can get 2GB here: http://db.tt/d9mS2F3A)
Copy your Plex Export into the public folder
Get the Public Link for your Export (right-click, copy public link)
Make a blog post that links to this Link
Your Plex Export won’t be on your blogspot.com page, but it will be visible to visitors.
Andddd.... it Works. Thanks buddy, Really appreciate your help. :)
Still loving this, but I had a request/question…is there a way to choose what libraries are exported? For example, I have a home movies section that I don’t wish to share to outside folks (friends don’t need to see my kids baby videos). Similar functionality to myPlex where I can choose which libraries I which to make public. Thanks again for this!
Hi cfriedberg, yes you can pass in a list of sections to export. E.g.
cli.php -sections=“Movies,TV Shows”
I did this (thanks for the tip!) and it worked for about a day, then the dropbox link started returning a 404 error. Does the public link "expire"?
I think Dropbox will block any links that use up a lot of bandwidth (i.e. have a lot of images). If you try getting a public link again that might help. Sorry.