Weird thing is, I now have run it again and no pics missing.
I have set it to automatically run every night. And then it seems to sometimes randomly missing covers.
Maybe the PMS is giving an error. Next time I notice it, I will see if I can find an error in the PMS logs
How odd! If it can't find the images again at least it won't remove the ones you have now. Sorry for the trouble, the next version should fix a lot of these.
Thx Dachande663
Setting the value for: ini_set(‘memory_limit’, ‘128M’); to 512 did the trick.
Think we just have too much movies and tv shows :rolleyes: for the standard value
Thanks for the great work you do with the plex export.
Rob.
@Luke
Is it possible to change the layout of the web-export, i would like to check if plex did the import correctly so i would like to see the export in a list like
Where do i start making the change, can you give me some pointers so i can start learning and change the page layout for myself
Kind regards
Rob
The export doesn't show data like this, and not even the next version will I don't think. The best thing to use for this actually would be the Web Manager built into Plex itself (http://localhost:32400/manage). That lets you see all of the media in Plex *and* let's you fix any incorrect matches there and then.
Kudos for the great work you have done so far…
This is really great. I’m using it with my Mac mini Media center. But I still got 3 questions.
- Can I export directly to my own (subdomain) website. For example. http://plex.mydomain.eu ?? If so how do I make this happen. Now I have to upload the exported (html) files manually.
- @ Dachande663 Can I make a distinction between HD movies and SD movies in the Plex Web Export? I saw that you have this on your web export…
- Is there a way to automate the process. For example every day at a certain time…?
The Exporter script doesn't support this, a lot of people add an alias to their Dropbox which automatically handles uploads. If your server supports it, you could try mounting a remote disc, or running rsync/scp after the job has completed (see point 3).
I did this in the Plex Media Manager itself, creating two separate sections.
You can run this via launchd with a very simple .plist file, I can upload an example of my own when I get home. Just give it the Terminal command and it will run it when you want (also syncing to your server if you choose).
Ok. Thanks for the fast responds.
On question 3. I have no idea how to modify or create a launchd file. I certainly would like to have your launchd file :). Could you also explain what I have to do to "install" or "run" such file
with which terminal command?
Thanks in advance!!
I have made a .sh script:
I remove the PlexExport dir in my public folder and start all over again every time, so changes in artwork will export again and not skipped.
Then I copy the PlexExport files to the Public dir, run the script and delete the cli.php.
Of course you can simplify things when you don’t have to remove the plexdata every time, but remember to delete the cli.php from your public folder
When you download Platypus you can make a program from the .sh file
To run it every night, put it in your crontab or iCal (in iCal you can make a repeating event and run a program)
<br />
<br />
<br />
cd ~/Dropbox/Public<br />
rm -R PlexExport<br />
cp -R ~/Dropbox/Programs/PlexExport .<br />
cd PlexExport<br />
php cli.php<br />
rm cli.php<br />
@sandman4sure Platypus looks really cool, hadn’t heard of it before!
Thanks! I had no idea about Platypus or that iCal could run scripts.
I’ve been having trouble getting PlexExport to run from a cron job and one of these should do the trick.
Hi,
Thank you so much for your work!!
I got the following error after running
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 2 bytes) in /Users/jtw5/Downloads/Plexexport/cli.php on line 834
Any ideas?
Hi Gamblore, if you open the cli.php file in TextEdit there is a line near the top saying memory limit, change 128M to 512M and you should be set.
I'm going to update the git repo to have this as the default now, you all must have huge libraries! :)
WOW fast response!!!
Thanks for your help!!
My library is absolutely massive.
How can I donate? I can’t seem to find the link.
Ah awesome, donations are much appreciated! There's a link on the page on my website: http://hybridlogic.co.uk/code/standalone/plex-export/
Ok, so this isn’t plex or web specific, but is there a (easy) way to schedule the “php /dir/cli.php” command to run, as my mac automatically downloads, processes, and adds shows to Plex?
Thanks for everything, this is great!
The Apple-recommended way is to add the task to launchd (OS X's replacement for cron et al). To do that:
Make a file called com.hybridlogic.plexexport.plist in ~/Library/LaunchAgents (~ means your home directory in OS X).
Open that file in Text Edit and copy/paste the contents of this gist into it: https://gist.github.com/799953
In the text you just copied in, update the /Users/yourusername/path/to/plex/export/cli.php line to point your export.
To change when it runs (currently set to 1am every morning, change the bottom values respectively.
In Terminal, type launchctl load ~/Library/LaunchAgents, com.hybridlogic.plexexport should now show up in launchctl list.
Other people on this forum have wrapped the export in a small app (see Platypus on the previous page) and even triggered it via iCal. Hopefully others can show you how they're doing it.
@sandman4sure: Thanks for sharing your thoughts with us. The scheduled job in iCal that I created using Platypus works a charm. I had a few other scripts that I also converted into apps.
Dachande663, i love your latest version of Plex Export. i have a request... i was wondering if it's possible to have our media sorted like in the Plex Media Manager, i.e. that movies are sorted according to their 'Sort Title', rather than their 'Title'?