# Php client for Plex Media Server

**URL:** <https://forums.plex.tv/t/php-client-for-plex-media-server/8049>\
**Category:** Dev/API Corner\
**Tags:** other-dev\
**Created:** [February 27, 2011, 6:45pm UTC](https://forums.plex.tv/t/php-client-for-plex-media-server/8049 "2011-02-27T18:45:29Z")\
**Posts on this page:** 20\
**Page:** 4

<div class="post-metadata">

**Author:** ![nelek](https://avatars.discourse-cdn.com/v4/letter/n/8baadc/32.png) [@nelek](https://forums.plex.tv/u/nelek)\
**Post date:** [July 23, 2011, 8:31am UTC](https://forums.plex.tv/t/php-client-for-plex-media-server/8049/61 "2011-07-23T08:31:18Z")

</div>

> [@](#):
>
> I cannot seem to get to work, any tips?  
>   
> I tried it both on my mac osx lion with an clean install of MAMP pro  
>   
> & I tried it on my win7 machine with fresh install of XAMPP  
>   
> with both options I get a white screen like this: [screen](http://i.imgur.com/4F2NC.png)  
>   
> I edited config & user\_pref accordingly

  
  
I had the same issue. It turned out to be an isue with the $config['base\_url'] directive in config.php. Perhaps check if its right?  
  
Has anyone tested this script successfully with Plex 0.9.3.3 yet?

---

<div class="post-metadata">

**Author:** ![ussalaska](https://avatars.discourse-cdn.com/v4/letter/u/46a35a/32.png) [@ussalaska](https://forums.plex.tv/u/ussalaska)\
**Post date:** [July 23, 2011, 1:21pm UTC](https://forums.plex.tv/t/php-client-for-plex-media-server/8049/62 "2011-07-23T13:21:29Z")

</div>

I got it working on 9.3.3 with lion. Not quite how though but all my problems were with the server but once I got php working everything worked great. Only tested with safari transcoding

---

<div class="post-metadata">

**Author:** ![fhb](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/fhb/32/778_2.png) [@fhb](https://forums.plex.tv/u/fhb)\
**Post date:** [July 23, 2011, 9:30pm UTC](https://forums.plex.tv/t/php-client-for-plex-media-server/8049/63 "2011-07-23T21:30:17Z")

</div>

Hi, everything seems to work but the Download of my files. The streaming link seems to be:

  
  
while the download link looks like this:  
  
http://localhost/plexclient/index.php/download/Volumes/Video/Serien/Breaking%20Bad/Season%203/Breaking%20Bad.S03E01.avi  
  
and throws an 404 error, any ideas?

---

<div class="post-metadata">

**Author:** ![Spectral](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/spectral/32/2109_2.png) [@Spectral](https://forums.plex.tv/u/Spectral)\
**Post date:** [July 25, 2011, 3:34pm UTC](https://forums.plex.tv/t/php-client-for-plex-media-server/8049/64 "2011-07-25T15:34:18Z")

</div>

Wow! This looks awesome. I’m totally gonna try this when I get home =)  
  
  
  
Ok, so I tried it and it works great. But it doesn’t seem to work remotely.  
  
I saw that someone else had problems with this, is it resolved, and if, how?  
  
  
  
Looks really promising! I see thought that it hasn’t been updated for a while, how is the current development going?  
  
  
  
Best regards.

---

<div class="post-metadata">

**Author:** ![ravenlord](https://avatars.discourse-cdn.com/v4/letter/r/8e7dd6/32.png) [@ravenlord](https://forums.plex.tv/u/ravenlord)\
**Post date:** [July 31, 2011, 5:17am UTC](https://forums.plex.tv/t/php-client-for-plex-media-server/8049/65 "2011-07-31T05:17:08Z")

</div>

Nice work,  
  
but i have problem getting it started, i get the layout etc, with my sections, but when i click on a section it just refreshes the webpage and i still only see the sections.   
  
Any ideas?  
  
  
  
EDIT: OK, got it working now, but cannot get any playback at all, Music (mp3) works fine tho.  
  
Anyone that have got it to work with Windows 7 Safari/Chrome/IE9/FF5/Opera?

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [August 8, 2011, 7:40am UTC](https://forums.plex.tv/t/php-client-for-plex-media-server/8049/66 "2011-08-08T07:40:58Z")

</div>

is it at all possible to show maybe a 0-Z across the bottom and let me make that an option to always show sorted?  
  
  
  
I have a large collection, and some of the pages are nearly impossible to scroll through.  
  
  
  
Thanks! Love it btw.  
  
  
  
-Ex

---

<div class="post-metadata">

**Author:** ![henkjanvries](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/henkjanvries/32/161014_2.png) [@henkjanvries](https://forums.plex.tv/u/henkjanvries)\
**Post date:** [August 11, 2011, 7:32pm UTC](https://forums.plex.tv/t/php-client-for-plex-media-server/8049/67 "2011-08-11T19:32:37Z")

</div>

i just can’t get it to work.  
  
  
  
I’ve got mamp running, but i can’t seem to get the php files to run, I’ve setup the files with correct info.  
  
  
  
but when i got to the link i just get " Directory access is forbidden "   
  
  
  
and i just can’t get it running pls help  
  
  
  
running lion with plex.

---

<div class="post-metadata">

**Author:** ![keol](https://avatars.discourse-cdn.com/v4/letter/k/59ef9b/32.png) [@keol](https://forums.plex.tv/u/keol)\
**Post date:** [August 16, 2011, 10:36am UTC](https://forums.plex.tv/t/php-client-for-plex-media-server/8049/68 "2011-08-16T10:36:23Z")

</div>

Is the **Php client for Plex Media Server** dead!?

---

<div class="post-metadata">

**Author:** ![aizeck](https://avatars.discourse-cdn.com/v4/letter/a/c4cdca/32.png) [@aizeck](https://forums.plex.tv/u/aizeck)\
**Post date:** [August 23, 2011, 6:28am UTC](https://forums.plex.tv/t/php-client-for-plex-media-server/8049/69 "2011-08-23T06:28:39Z")

</div>

Is there a fix for:  
  
No ‘Secure Server Access’ for files served over internet?  
  
  
  
Or a workaround?

---

<div class="post-metadata">

**Author:** ![sonotone](https://avatars.discourse-cdn.com/v4/letter/s/8e8cbc/32.png) [@sonotone](https://forums.plex.tv/u/sonotone)\
**Post date:** [August 29, 2011, 8:44pm UTC](https://forums.plex.tv/t/php-client-for-plex-media-server/8049/70 "2011-08-29T20:44:29Z")

</div>

> [@](#):
>
> Is the \*\*Php client for Plex Media Server\*\* dead!?

  
Sorry guys, i really haven't time to work on the client right now, i hope things will calm down after November, and i'll time to finish features (integrate some new API features... etc).

---

<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:** [September 9, 2011, 7:26pm UTC](https://forums.plex.tv/t/php-client-for-plex-media-server/8049/71 "2011-09-09T19:26:20Z")

</div>

This is some great work. While I’m not a big fan of PHP, I’m impressed by the screenshots. I tried briefly to get it working on Mac OS X Lion but it didn’t seem particularly simple. Ever think of porting it to Rails (half joking)?  
  
  
  
Some of this stuff will hopefully make its way into the official Plex Media Manager.

---

<div class="post-metadata">

**Author:** ![Paul\_Garrison](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/paul_garrison/32/228978_2.png) [@Paul\_Garrison](https://forums.plex.tv/u/Paul_Garrison)\
**Post date:** [September 15, 2011, 10:32pm UTC](https://forums.plex.tv/t/php-client-for-plex-media-server/8049/72 "2011-09-15T22:32:58Z")

</div>

Does this work with the linux pms releases or just mac?

---

<div class="post-metadata">

**Author:** ![mario.nebl](https://avatars.discourse-cdn.com/v4/letter/m/3da27b/32.png) [@mario.nebl](https://forums.plex.tv/u/mario.nebl)\
**Post date:** [September 28, 2011, 3:21pm UTC](https://forums.plex.tv/t/php-client-for-plex-media-server/8049/73 "2011-09-28T15:21:27Z")

</div>

Hey there,   
  
  
  
just wanted to drop you a note on how awesome your work is.  
  
Running it on ReadyNAS and packed the URL via Fluid → cross-OS Plex paradise.   
  
  
  
I am surprised you do not streamline the installation process and sell it for some bucks. 🙂  
  
  
  
Would be most happy to drop you some money via PayPal, do you have an account for donations?  
  
  
  
Cheers,   
  
Mario

---

<div class="post-metadata">

**Author:** ![pogsonm](https://avatars.discourse-cdn.com/v4/letter/p/b5a626/32.png) [@pogsonm](https://forums.plex.tv/u/pogsonm)\
**Post date:** [November 14, 2011, 9:41pm UTC](https://forums.plex.tv/t/php-client-for-plex-media-server/8049/74 "2011-11-14T21:41:46Z")

</div>

I’ve been trying to install this for the past couple days, to no avail. I don’t really have any programming experience, which might be the problem. I’ve tried to follow all of the instructions, both here and on Github. I’m running OS X 10.6.8 on a MacMini, and have activated PHP by uncommenting out the line in httpd, and its my understanding that OSX has cURL already built in, and I’ve enabled WebSharing. I’ve also edited the appropriate files in Plex-over, but whenever I use a browser to navigate to [http://myIP:32400/PlexOver/index.php](http://myIP:32400/PlexOver/index.php) all I get is a completely blank/white screen.  
  
  
  
Any help would be much appreciated!  
  
  
  
UPDATE: I am able to see the menus now and all artwork loads, and I can stream music but I am unable to steam movies. All of my movies are encoded as .mkv and when I select watch, the pinwheel spins endlessly. Also, the plex-media server does not show any transcoding or activity.  
  
  
  
UPDATE2: I was finally able to get it to work (mostly). For those who may be in a similar predicament, you have to edit the user\_pref.php and change $config[‘video\_transcode’} = false; to say $config[‘video\_transcode’} = true; Now I can stream all of my movies, regardless of format to my laptop and even my HP Touchpad. Now all that’s left is to figure out how to get the movies in full-screen and allow access from outside my home-network…

---

<div class="post-metadata">

**Author:** ![iPerplexed](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/iperplexed/32/844_2.png) [@iPerplexed](https://forums.plex.tv/u/iPerplexed)\
**Post date:** [November 28, 2011, 12:41am UTC](https://forums.plex.tv/t/php-client-for-plex-media-server/8049/75 "2011-11-28T00:41:16Z")

</div>

> [@](#):
>
> Sorry guys, i really haven't time to work on the client right now, i hope things will calm down after November, and i'll time to finish features (integrate some new API features... etc).

  
  
  
Hi Sonotone, any further progress made here?  
  
I've gotten plex\_over installed and working via my intranet, but I've failed to learn how to correctly pass my x-plex-pass & user info. Do I need to encode these values to SHA1? Do I use plain text? Can you provide syntax examples?  
  
Last question: Can this php client even authenticate into the new plex media server 0.9.5 or am I just spinning my wheels here?  
  
Thanks!

---

<div class="post-metadata">

**Author:** ![eclipsenet2k](https://avatars.discourse-cdn.com/v4/letter/e/bcef8e/32.png) [@eclipsenet2k](https://forums.plex.tv/u/eclipsenet2k)\
**Post date:** [December 9, 2011, 6:18am UTC](https://forums.plex.tv/t/php-client-for-plex-media-server/8049/76 "2011-12-09T06:18:35Z")

</div>

I have done a little work on this on my own machine and gotten it to work with myPlex auth. Its not great & doesn’t do discovery via myPlex yet but that is a matter of time but you can connect to a known ip/host with myPlex auth.  
  
  
  
I may branch his code and get that out to everyone if there is still interest.

---

<div class="post-metadata">

**Author:** ![Ogamo](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ogamo/32/241_2.png) [@Ogamo](https://forums.plex.tv/u/Ogamo)\
**Post date:** [December 15, 2011, 4:00pm UTC](https://forums.plex.tv/t/php-client-for-plex-media-server/8049/77 "2011-12-15T16:00:39Z")

</div>

> [@](#):
>
> I have done a little work on this on my own machine and gotten it to work with myPlex auth. Its not great & doesn't do discovery via myPlex yet but that is a matter of time but you can connect to a known ip/host with myPlex auth.  
>   
> I may branch his code and get that out to everyone if there is still interest.

  
  
Please share!  
  
I can connect to my server but no images are displayed  
  
Tnx

---

<div class="post-metadata">

**Author:** ![iPerplexed](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/iperplexed/32/844_2.png) [@iPerplexed](https://forums.plex.tv/u/iPerplexed)\
**Post date:** [December 15, 2011, 6:00pm UTC](https://forums.plex.tv/t/php-client-for-plex-media-server/8049/78 "2011-12-15T18:00:06Z")

</div>

> [@](#):
>
> I have done a little work on this on my own machine and gotten it to work with myPlex auth. Its not great & doesn't do discovery via myPlex yet but that is a matter of time but you can connect to a known ip/host with myPlex auth.  
>   
> I may branch his code and get that out to everyone if there is still interest.

  
  
  
This would be awesome! Please do share would love to take a look and contribute to the code.   
  
Cheers!

---

<div class="post-metadata">

**Author:** ![Ogamo](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ogamo/32/241_2.png) [@Ogamo](https://forums.plex.tv/u/Ogamo)\
**Post date:** [December 19, 2011, 8:14am UTC](https://forums.plex.tv/t/php-client-for-plex-media-server/8049/79 "2011-12-19T08:14:56Z")

</div>

Any news?

---

<div class="post-metadata">

**Author:** ![eclipsenet2k](https://avatars.discourse-cdn.com/v4/letter/e/bcef8e/32.png) [@eclipsenet2k](https://forums.plex.tv/u/eclipsenet2k)\
**Post date:** [December 24, 2011, 5:06am UTC](https://forums.plex.tv/t/php-client-for-plex-media-server/8049/80 "2011-12-24T05:06:43Z")

</div>

I’m out of town for the holidays but ill see what it takes to fork his work and make my changes public.

[Previous page](https://forums.plex.tv/t/php-client-for-plex-media-server/8049.md?page=3)

[Next page](https://forums.plex.tv/t/php-client-for-plex-media-server/8049.md?page=5)
