# 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:** 13\
**Page:** 8

<div class="post-metadata">

**Author:** ![Markyb0y2](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/markyb0y2/32/489_2.png) [@Markyb0y2](https://forums.plex.tv/u/Markyb0y2)\
**Post date:** [September 19, 2012, 4:32pm UTC](https://forums.plex.tv/t/php-client-for-plex-media-server/8049/141 "2012-09-19T16:32:16Z")

</div>

Only thing missing for me is to have a download album button   
  
  
  
individual tracks is fine but one button that would download all tracks in a zip would be awesome,   
  
  
  
can it be done?  
  
  
  
and this latest version is FANTASTIC!

---

<div class="post-metadata">

**Author:** ![karan.punjab](https://avatars.discourse-cdn.com/v4/letter/k/df705f/32.png) [@karan.punjab](https://forums.plex.tv/u/karan.punjab)\
**Post date:** [September 23, 2012, 10:36pm UTC](https://forums.plex.tv/t/php-client-for-plex-media-server/8049/142 "2012-09-23T22:36:58Z")

</div>

I got this following issue,No idea what is wrong. Please help  
  
  
  
Notice!  
  
ErrorException [Notice]: Undefined property: stdClass::$error  
  
  
  
APPPATH/classes/controller/login.php @ line 75  
  
  
  
70 Response::redirect($cook ?: Uri::base());  
  
71 }  
  
72 else  
  
73 {  
  
74 $error = $auth-\>get\_errors();  
  
75 $error = str\_replace(’.’, ‘’, $error-\>error);  
  
76   
  
77 Session::set\_flash(‘error’, Html::alert(\_\_(‘error’).’:’, \_\_($error), ‘danger’));  
  
78 Session::set\_flash(‘username’, Input::post(‘username’));  
  
79 }  
  
80 }  
  
Backtrace  
  
  
  
COREPATH/classes/error.php @ line 110  
  
105 \*/  
  
106 public static function exception\_handler(\Exception $e)  
  
107 {  
  
108 if (method\_exists($e, ‘handle’))  
  
109 {  
  
110 return $e-\>handle();  
  
111 }  
  
112  
  
113 $severity = ( ! isset(static::$levels[$e-\>getCode()])) ? $e-\>getCode() : static::$levels[$e-\>getCode()];  
  
114 logger(\Fuel::L\_ERROR, $severity.’ - ‘.$e-\>getMessage().’ in ‘.$e-\>getFile().’ on line '.$e-\>getLine());  
  
115  
  
COREPATH/bootstrap.php @ line 42  
  
37});  
  
38  
  
39set\_exception\_handler(function (\Exception $e)  
  
40{  
  
41 load\_error\_classes();  
  
42 return \Error::exception\_handler($e);  
  
43});  
  
44  
  
45set\_error\_handler(function ($severity, $message, $filepath, $line)  
  
46{  
  
47 load\_error\_classes();  
  
FuelPHP is released under the MIT license.

---

<div class="post-metadata">

**Author:** ![timpotter](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/timpotter/32/100636_2.png) [@timpotter](https://forums.plex.tv/u/timpotter)\
**Post date:** [September 24, 2012, 2:11am UTC](https://forums.plex.tv/t/php-client-for-plex-media-server/8049/143 "2012-09-24T02:11:28Z")

</div>

> [@](#):
>
> I got this following issue,No idea what is wrong. Please help

  
  
I get the same error, I've just installed the application from source, and confirmed all requirements are met.   
  
I've got pretty much the default configuration, however i set my 'identifier' token to my PMS machineIdentifier. I've tried logging in with myPlex user/pass as well as guest / guest.   
  
  
By the way, if I change the auth.php driver to local, I can get in fine with the guest / guest account.   
  
  
Any suggestions?

---

<div class="post-metadata">

**Author:** ![GeorgeK02](https://avatars.discourse-cdn.com/v4/letter/g/90db22/32.png) [@GeorgeK02](https://forums.plex.tv/u/GeorgeK02)\
**Post date:** [November 6, 2012, 7:59pm UTC](https://forums.plex.tv/t/php-client-for-plex-media-server/8049/144 "2012-11-06T19:59:48Z")

</div>

> [@](#):
>
> I got this following issue,No idea what is wrong. Please help  
>   
> Notice!  
> ErrorException [Notice]: Undefined property: stdClass::$error  
>   
> APPPATH/classes/controller/login.php @ line 75  
>   
> 75 $error = str\_replace('.', '', $error-\>error);

  
  
I have the same problem. I've tried using it with isset() but more problems arise. No idea what's causing this error because I have no idea how this thing works. Hope someone has the solution! ;p  
  
Cheers,  
George

---

<div class="post-metadata">

**Author:** ![anakngtuknene](https://avatars.discourse-cdn.com/v4/letter/a/9dc877/32.png) [@anakngtuknene](https://forums.plex.tv/u/anakngtuknene)\
**Post date:** [January 21, 2013, 7:36pm UTC](https://forums.plex.tv/t/php-client-for-plex-media-server/8049/145 "2013-01-21T19:36:34Z")

</div>

> [@](#):
>
> I have the same problem. I've tried using it with isset() but more problems arise. No idea what's causing this error because I have no idea how this thing works. Hope someone has the solution! ;p  
>   
> Cheers,  
> George

  
  
![post-112122-0-32102300-1358796955.jpg|690x472](upload://9dKbCm1p3oYiSwRDHMhe3Vt1a6A.jpg)  
  
i have this same problem, any solution?

---

<div class="post-metadata">

**Author:** ![anon\_6\_6\_6](https://avatars.discourse-cdn.com/v4/letter/a/7ea924/32.png) [@anon\_6\_6\_6](https://forums.plex.tv/u/anon_6_6_6)\
**Post date:** [March 8, 2013, 6:03pm UTC](https://forums.plex.tv/t/php-client-for-plex-media-server/8049/146 "2013-03-08T18:03:57Z")

</div>

I really like PlexOver

because:

Less system requirements on client and server side.

Better implementation of download (saves original filename and its called through php function)

is it still in active development?

---

<div class="post-metadata">

**Author:** ![skipperstrange](https://avatars.discourse-cdn.com/v4/letter/s/ee7513/32.png) [@skipperstrange](https://forums.plex.tv/u/skipperstrange)\
**Post date:** [May 14, 2013, 4:55pm UTC](https://forums.plex.tv/t/php-client-for-plex-media-server/8049/147 "2013-05-14T16:55:31Z")

</div>

Great work! However i can only Rely on feedbacks. Is there a way to deploy on an ubuntu system? i've tried everything in the book but m still gettin nowhere Please help.

---

<div class="post-metadata">

**Author:** ![skipperstrange](https://avatars.discourse-cdn.com/v4/letter/s/ee7513/32.png) [@skipperstrange](https://forums.plex.tv/u/skipperstrange)\
**Post date:** [May 15, 2013, 6:44pm UTC](https://forums.plex.tv/t/php-client-for-plex-media-server/8049/148 "2013-05-15T18:44:47Z")

</div>

> Check your local config options, I had to play with mine to get it to work and it's VERY specific and a little picky. I'll check mine when I get home and try and help you.

I also had the same problem and i jus got it fixed. What i did wrong was that i didnt provid the correct base url to my application. I hope this helps. Its a great app by the way... superb

---

<div class="post-metadata">

**Author:** ![eliabeandrade](https://avatars.discourse-cdn.com/v4/letter/e/71e660/32.png) [@eliabeandrade](https://forums.plex.tv/u/eliabeandrade)\
**Post date:** [June 25, 2013, 7:57pm UTC](https://forums.plex.tv/t/php-client-for-plex-media-server/8049/149 "2013-06-25T19:57:41Z")

</div>

(Translation via Google translator)

&nbsp;

in OS X would be this:

&nbsp;

(example on OS X)

&nbsp;

&nbsp; &nbsp; &nbsp;'databases' =\> APPPATH.`ln / Users / you / Library / Application \ Support / Plex \ Media \ Server / Plug-in \ Support / Databases / com.plexapp.plugins.library.db / path-to-app/databases /`

&nbsp;

But how would Windows 7, already tried varies ways but I can not, if anyone knows give me a light please.

&nbsp;

'databases' =\> APPPATH.?????????????????????????????????????????????????????????????????

---

<div class="post-metadata">

**Author:** ![Emsanator](https://avatars.discourse-cdn.com/v4/letter/e/e9c0ed/32.png) [@Emsanator](https://forums.plex.tv/u/Emsanator)\
**Post date:** [January 8, 2015, 10:41am UTC](https://forums.plex.tv/t/php-client-for-plex-media-server/8049/150 "2015-01-08T10:41:35Z")

</div>

I can't login..

is it still in active development?

---

<div class="post-metadata">

**Author:** ![nickdanger3d](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/nickdanger3d/32/101122_2.png) [@nickdanger3d](https://forums.plex.tv/u/nickdanger3d)\
**Post date:** [January 8, 2015, 3:32pm UTC](https://forums.plex.tv/t/php-client-for-plex-media-server/8049/151 "2015-01-08T15:32:39Z")

</div>

No updates posted in 2 years, so I don't think so. Since plex added plex/web there's not much incentive to work on this.

---

<div class="post-metadata">

**Author:** ![peva](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/peva/32/83145_2.png) [@peva](https://forums.plex.tv/u/peva)\
**Post date:** [January 9, 2015, 3:27pm UTC](https://forums.plex.tv/t/php-client-for-plex-media-server/8049/152 "2015-01-09T15:27:23Z")

</div>

I could see this being useful/interesting if you wanted to open your server up to the public...

---

<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:** [December 20, 2019, 9:01pm UTC](https://forums.plex.tv/t/php-client-for-plex-media-server/8049/153 "2019-12-20T21:01:10Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

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