# Plex Web Export

**URL:** <https://forums.plex.tv/t/plex-web-export/5807>\
**Category:** Dev/API Corner\
**Tags:** other-dev\
**Created:** [October 6, 2010, 11:36am UTC](https://forums.plex.tv/t/plex-web-export/5807 "2010-10-06T11:36:18Z")\
**Posts on this page:** 20\
**Page:** 4

<div class="post-metadata">

**Author:** ![AOZ801](https://avatars.discourse-cdn.com/v4/letter/a/d9b06d/32.png) [@AOZ801](https://forums.plex.tv/u/AOZ801)\
**Post date:** [October 19, 2010, 3:48pm UTC](https://forums.plex.tv/t/plex-web-export/5807/61 "2010-10-19T15:48:48Z")

</div>

> [@](#):
>
> Two things, can you confirm there is a directory called plex-data located at /Applications/plexexport/plex-data (and not in your home folder say)?  
> If so, have you downloaded the latest version of the exporter?

  
  
Confirmed the file is located at /Applications/plexexport/plex-data this is how it came when downloaded. Also, just to make sure I had the latest download I re-downloaded the latest version but I'm still getting the same results.....any ideas?  
  
Thanks

---

<div class="post-metadata">

**Author:** ![Dachande663](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/dachande663/32/403_2.png) [@Dachande663](https://forums.plex.tv/u/Dachande663)\
**Post date:** [October 19, 2010, 3:51pm UTC](https://forums.plex.tv/t/plex-web-export/5807/62 "2010-10-19T15:51:34Z")

</div>

> [@](#):
>
> Confirmed the file is located at /Applications/plexexport/plex-data this is how it came when downloaded. Also, just to make sure I had the latest download I re-downloaded the latest version but I'm still getting the same results.....any ideas?  
>   
> Thanks

  
  
The latest version should say the directory it is trying to write to, if possible can you copy your Terminal output (including the php command) so I can try and see what's going wrong. Thanks.

---

<div class="post-metadata">

**Author:** ![AOZ801](https://avatars.discourse-cdn.com/v4/letter/a/d9b06d/32.png) [@AOZ801](https://forums.plex.tv/u/AOZ801)\
**Post date:** [October 19, 2010, 4:19pm UTC](https://forums.plex.tv/t/plex-web-export/5807/63 "2010-10-19T16:19:44Z")

</div>

> [@](#):
>
> The latest version should say the directory it is trying to write to, if possible can you copy your Terminal output (including the php command) so I can try and see what's going wrong. Thanks.

  
  
Last login: Mon Oct 18 22:13:01 on ttys000  
Adam-Harwards-Mac-mini:~ adamharward$ php /Applications/plexexport/cli.php  
10:19:07 Welcome to the Plex Exporter v1  
10:19:07 Error: Data directory is not writeable at /Users/adamharward//Applications/plexexport/plex-data  
10:19:07 Error: Failed one or more dependancy checks; aborting  
Adam-Harwards-Mac-mini:~ adamharward$

---

<div class="post-metadata">

**Author:** ![Dachande663](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/dachande663/32/403_2.png) [@Dachande663](https://forums.plex.tv/u/Dachande663)\
**Post date:** [October 19, 2010, 4:47pm UTC](https://forums.plex.tv/t/plex-web-export/5807/64 "2010-10-19T16:47:07Z")

</div>

> [@](#):
>
> Last login: Mon Oct 18 22:13:01 on ttys000  
> Adam-Harwards-Mac-mini:~ adamharward$ php /Applications/plexexport/cli.php  
> 10:19:07 Welcome to the Plex Exporter v1  
> 10:19:07 Error: Data directory is not writeable at /Users/adamharward//Applications/plexexport/plex-data  
> 10:19:07 Error: Failed one or more dependancy checks; aborting  
> Adam-Harwards-Mac-mini:~ adamharward$

  
  
Fixed :) PHP doesn't set it's filename path absolutely when run from the command line, in other words it thought it was somewhere else. I've released a new version so if you download that it will let you export. Sorry about all the trouble you've had.

---

<div class="post-metadata">

**Author:** ![AOZ801](https://avatars.discourse-cdn.com/v4/letter/a/d9b06d/32.png) [@AOZ801](https://forums.plex.tv/u/AOZ801)\
**Post date:** [October 19, 2010, 7:04pm UTC](https://forums.plex.tv/t/plex-web-export/5807/65 "2010-10-19T19:04:03Z")

</div>

> [@](#):
>
> Fixed :) PHP doesn't set it's filename path absolutely when run from the command line, in other words it thought it was somewhere else. I've released a new version so if you download that it will let you export. Sorry about all the trouble you've had.

  
Worked perfectly! You're awesome thanks for all your help.

---

<div class="post-metadata">

**Author:** ![dgh311](https://avatars.discourse-cdn.com/v4/letter/d/f08c70/32.png) [@dgh311](https://forums.plex.tv/u/dgh311)\
**Post date:** [October 19, 2010, 10:34pm UTC](https://forums.plex.tv/t/plex-web-export/5807/66 "2010-10-19T22:34:03Z")

</div>

So I just installed it and got it working.  
  
  
  
Looks great. Impressed by how quickly it shows the images as I scroll through 500 movies.  
  
  
  
I saw an earlier post about it showing all the file sizes as 2GB. I have that same issue. I don’t think I have any files that are less than 2GB so not sure what would happen in that case.

---

<div class="post-metadata">

**Author:** ![eventualbuddha](https://avatars.discourse-cdn.com/v4/letter/e/258eb7/32.png) [@eventualbuddha](https://forums.plex.tv/u/eventualbuddha)\
**Post date:** [October 19, 2010, 10:42pm UTC](https://forums.plex.tv/t/plex-web-export/5807/67 "2010-10-19T22:42:28Z")

</div>

Looks great! Any chance you’d put this up on Github?

---

<div class="post-metadata">

**Author:** ![achterberg](https://avatars.discourse-cdn.com/v4/letter/a/7cd45c/32.png) [@achterberg](https://forums.plex.tv/u/achterberg)\
**Post date:** [October 20, 2010, 12:18am UTC](https://forums.plex.tv/t/plex-web-export/5807/68 "2010-10-20T00:18:33Z")

</div>

> [@](#):
>
> @AdamH: Make sure you execute the file as PHP i.e. in Terminal type "php cli.php" (without the quotes) rather than just cli.php. Otherwise Terminal will attempt to execute the file as if it were a bash script.  
>   
>   
>   
> @daa: do you have GD enabled in PHP? To test, make a file on the server your using e.g. test.php, in it enter: \<?php phpinfo(); ?\>, and run it. If you scroll down there is a section entitled GD which will state whether it's enabled or not.

  
  
Not an issue for you, I apparently don't have GD installed on the laptop, and attempts at doing so far have not been successful. But cli.php does work on the server machine where GD is installed.

---

<div class="post-metadata">

**Author:** ![Dachande663](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/dachande663/32/403_2.png) [@Dachande663](https://forums.plex.tv/u/Dachande663)\
**Post date:** [October 20, 2010, 6:25am UTC](https://forums.plex.tv/t/plex-web-export/5807/69 "2010-10-20T06:25:05Z")

</div>

> [@](#):
>
> Looks great! Any chance you'd put this up on Github?

  
  
It's currently just under SVN, I'll get around to moving it over so people can fork it (after tidying the code up a bit :)).  
  
Fork me @ http://github.com/Dachande663/Plex-Export

---

<div class="post-metadata">

**Author:** ![AOZ801](https://avatars.discourse-cdn.com/v4/letter/a/d9b06d/32.png) [@AOZ801](https://forums.plex.tv/u/AOZ801)\
**Post date:** [October 20, 2010, 6:25pm UTC](https://forums.plex.tv/t/plex-web-export/5807/70 "2010-10-20T18:25:10Z")

</div>

@Dachande663 thanks for all your work on this. It looks great. If I wanted to let someone browse my library using this how would I go about doing that?

---

<div class="post-metadata">

**Author:** ![Dachande663](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/dachande663/32/403_2.png) [@Dachande663](https://forums.plex.tv/u/Dachande663)\
**Post date:** [October 20, 2010, 6:29pm UTC](https://forums.plex.tv/t/plex-web-export/5807/71 "2010-10-20T18:29:01Z")

</div>

> [@](#):
>
> @Dachande663 thanks for all your work on this. It looks great. If I wanted to let someone browse my library using this how would I go about doing that?

  
  
You'd need to upload to a public website. If you don't have hosting already, you'd need to find a provider.

---

<div class="post-metadata">

**Author:** ![sandman4sure](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/sandman4sure/32/40_2.png) [@sandman4sure](https://forums.plex.tv/u/sandman4sure)\
**Post date:** [October 20, 2010, 6:32pm UTC](https://forums.plex.tv/t/plex-web-export/5807/72 "2010-10-20T18:32:00Z")

</div>

Use dropbox (free!) and put it in your public folder.  
  
It works great!

---

<div class="post-metadata">

**Author:** ![AOZ801](https://avatars.discourse-cdn.com/v4/letter/a/d9b06d/32.png) [@AOZ801](https://forums.plex.tv/u/AOZ801)\
**Post date:** [October 20, 2010, 6:49pm UTC](https://forums.plex.tv/t/plex-web-export/5807/73 "2010-10-20T18:49:15Z")

</div>

> [@](#):
>
> Use dropbox (free!) and put it in your public folder.  
> It works great!

  
Perfect I hadn't thought of that! So what file do I upload?

---

<div class="post-metadata">

**Author:** ![Dachande663](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/dachande663/32/403_2.png) [@Dachande663](https://forums.plex.tv/u/Dachande663)\
**Post date:** [October 20, 2010, 7:05pm UTC](https://forums.plex.tv/t/plex-web-export/5807/74 "2010-10-20T19:05:00Z")

</div>

> [@](#):
>
> Perfect I hadn't thought of that! So what file do I upload?

  
  
You need to upload the entire plexexport directory except for the cli.php file.

---

<div class="post-metadata">

**Author:** ![Dachande663](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/dachande663/32/403_2.png) [@Dachande663](https://forums.plex.tv/u/Dachande663)\
**Post date:** [October 20, 2010, 7:05pm UTC](https://forums.plex.tv/t/plex-web-export/5807/75 "2010-10-20T19:05:46Z")

</div>

> [@](#):
>
> Use dropbox (free!) and put it in your public folder.  
> It works great!

  
  
Awesome advice, never thought of using Dropbox.  
  
Also, it'd be really cool if people posted links to their Exports for others to see (and me to check they're working :)).

---

<div class="post-metadata">

**Author:** ![sandman4sure](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/sandman4sure/32/40_2.png) [@sandman4sure](https://forums.plex.tv/u/sandman4sure)\
**Post date:** [October 20, 2010, 7:10pm UTC](https://forums.plex.tv/t/plex-web-export/5807/76 "2010-10-20T19:10:56Z")

</div>

> [@](#):
>
> Awesome advice, never thought of using Dropbox.  
>   
> Also, it'd be really cool if people posted links to their Exports for others to see (and me to check they're working :)).

  
  
[My Movies](https://dl.dropbox.com/u/4042158/plex/index.html#8)  
  
  
Still working on some covers :)

---

<div class="post-metadata">

**Author:** ![zAo](https://avatars.discourse-cdn.com/v4/letter/z/ce7236/32.png) [@zAo](https://forums.plex.tv/u/zAo)\
**Post date:** [October 20, 2010, 7:52pm UTC](https://forums.plex.tv/t/plex-web-export/5807/77 "2010-10-20T19:52:39Z")

</div>

Wow, this is great! Thanks a lot.  
  
  
  
I don’t like the (non)security features of php5, so I disabled it afterwards.   
  
  
  
Thanks a lot all.

---

<div class="post-metadata">

**Author:** ![eventualbuddha](https://avatars.discourse-cdn.com/v4/letter/e/258eb7/32.png) [@eventualbuddha](https://forums.plex.tv/u/eventualbuddha)\
**Post date:** [October 20, 2010, 9:23pm UTC](https://forums.plex.tv/t/plex-web-export/5807/78 "2010-10-20T21:23:11Z")

</div>

Here’s mine: [http://dl.dropbox.com/u/40652/movies/index.html](http://dl.dropbox.com/u/40652/movies/index.html)

---

<div class="post-metadata">

**Author:** ![PlexLars](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/plexlars/32/1004_2.png) [@PlexLars](https://forums.plex.tv/u/PlexLars)\
**Post date:** [October 21, 2010, 5:37am UTC](https://forums.plex.tv/t/plex-web-export/5807/79 "2010-10-21T05:37:54Z")

</div>

iDisk/Sites will also do the work for you if you got MobileMe.

---

<div class="post-metadata">

**Author:** ![jaaps](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/jaaps/32/1373_2.png) [@jaaps](https://forums.plex.tv/u/jaaps)\
**Post date:** [October 21, 2010, 3:38pm UTC](https://forums.plex.tv/t/plex-web-export/5807/80 "2010-10-21T15:38:59Z")

</div>

This is really well done! Love the way everything looks!   
  
  
  
Also great usage of CSS! It’s easy to customize it to my liking. Although most things are perfect the way they are right now…

[Previous page](https://forums.plex.tv/t/plex-web-export/5807.md?page=3)

[Next page](https://forums.plex.tv/t/plex-web-export/5807.md?page=5)
