# MyPlex on PlexConnect

**URL:** <https://forums.plex.tv/t/myplex-on-plexconnect/37398>\
**Category:** Apps & Creations\
**Created:** [June 28, 2013, 8:59pm UTC](https://forums.plex.tv/t/myplex-on-plexconnect/37398 "2013-06-28T20:59:26Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![maersk](https://avatars.discourse-cdn.com/v4/letter/m/50afbb/32.png) [@maersk](https://forums.plex.tv/u/maersk)\
**Post date:** [October 1, 2013, 3:46pm UTC](https://forums.plex.tv/t/myplex-on-plexconnect/37398/21 "2013-10-01T15:46:05Z")

</div>

i to hope that both PlexConnect team and MegaHambone can set up a meeting/call as you all are very talented dev's and i'm very very jealous for your talent. So pls for good order sake listen to each other. Learn from each other and hopefully your discussion/conversation will lead to heaven.

Still want to thank you all for your efforts and hard/long work to make this possible for the Plex Community and as you said it would be a shame to see all of your hard work go away.

---

<div class="post-metadata">

**Author:** ![chayimb](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chayimb/32/5902_2.png) [@chayimb](https://forums.plex.tv/u/chayimb)\
**Post date:** [October 1, 2013, 4:46pm UTC](https://forums.plex.tv/t/myplex-on-plexconnect/37398/22 "2013-10-01T16:46:34Z")

</div>

Hi guys,

Great work, it's amazing what you can do! I have no idea how you have done it but it works really nice for me...

Thanks for all the hard work

---

<div class="post-metadata">

**Author:** ![Dan0780](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/dan0780/32/798_2.png) [@Dan0780](https://forums.plex.tv/u/Dan0780)\
**Post date:** [October 1, 2013, 11:36pm UTC](https://forums.plex.tv/t/myplex-on-plexconnect/37398/23 "2013-10-01T23:36:42Z")

</div>

MegaHambone, Great Work. &nbsp;It works pretty well. &nbsp;Thanks for the time you have put in. &nbsp;I would like to eventually see this merged as one but I understand the differences in code are huge. &nbsp;

One thing I noticed after just using it for a few minutes is that the quality profiles may not be working properly from remote servers. &nbsp;It will transcode everything from my cloud VPS server but direct streams from my local server. &nbsp;Is there a quality from remote vs quality from local setting I am missing somewhere?

Also, I noticed that the local section and myPlex sections all show up under the "local sections" and then just the myplex sections from remote servers show up under myPlex sections. &nbsp;So under local I have Movies section from my local server and Movies from my VPS server. &nbsp;Is this normal for your code?

Just reporting my findings. &nbsp;Thanks for your contributions to the myPlex problem.

---

<div class="post-metadata">

**Author:** ![MegaHambone](https://avatars.discourse-cdn.com/v4/letter/m/ba8739/32.png) [@MegaHambone](https://forums.plex.tv/u/MegaHambone)\
**Post date:** [October 2, 2013, 4:05am UTC](https://forums.plex.tv/t/myplex-on-plexconnect/37398/24 "2013-10-02T04:05:41Z")

</div>

myPlex remote servers are set to force transcode, 2.0 mbps 480p. This is hard coded for now - a quick edit to line 1095 is where you can set it for faster upstream servers.

(I set it to what typical upstream is here in Canada.. ugh)

myPlex servers that can be hit with a local IP are added to local settings. This is by design, though I have no personal preference.

---

<div class="post-metadata">

**Author:** ![Dan0780](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/dan0780/32/798_2.png) [@Dan0780](https://forums.plex.tv/u/Dan0780)\
**Post date:** [October 2, 2013, 1:11pm UTC](https://forums.plex.tv/t/myplex-on-plexconnect/37398/25 "2013-10-02T13:11:55Z")

</div>

What file is the setting in, Is it in your new file PlexMgr?

---

<div class="post-metadata">

**Author:** ![MegaHambone](https://avatars.discourse-cdn.com/v4/letter/m/ba8739/32.png) [@MegaHambone](https://forums.plex.tv/u/MegaHambone)\
**Post date:** [October 2, 2013, 6:05pm UTC](https://forums.plex.tv/t/myplex-on-plexconnect/37398/26 "2013-10-02T18:05:03Z")

</div>

in XMLConverter.py, specifically the function ATTRIB\_MEDIAURL

```
if token!="":  
   g_ATVSettings.setSetting(UDID, 'transcodequality', '480p 2.0Mbps')
```

Change that to any valid transcodequality (refer to ATVSettings.py for valid options)

The logic of this is that any server with a token (only true if the server is a myplex server) will force transcode. One day I'll change it so that there's a "Remote Transcode" setting, like a normal plex app.

---

<div class="post-metadata">

**Author:** ![nrgaway](https://avatars.discourse-cdn.com/v4/letter/n/f17d59/32.png) [@nrgaway](https://forums.plex.tv/u/nrgaway)\
**Post date:** [October 2, 2013, 8:00pm UTC](https://forums.plex.tv/t/myplex-on-plexconnect/37398/27 "2013-10-02T20:00:47Z")

</div>

I am very new to PlexConnect but have managed to get it working by running it manually (no apache or init.d scripts for start up) since I just want to get things working first.

I also cloned the myplex repo and am need of further help since I can not get it working.&nbsp;

I have 3 local plex servers and also 3 myplex user accounts. &nbsp;All 3 servers use one 'master' myplex user id, so the other ones will connect as a 'guest'. &nbsp;This is being done as a make shift parental control mechanism.

Once I entered a 'guest' myplex username it was successful in getting the key, but was not able to connect to the server. &nbsp;

To simplify things I turned off all but one of my local plex servers. &nbsp;The plex server I have turned on requires authentication on local network. &nbsp;GDM is enabled. &nbsp;

So to start fresh:

- I just deleted all the .cfg files and ran PlexConnect.py (myplex repo)

- 'Click' on Trailers logo to start plex

- I immediately see a 'No response from server message'. &nbsp;I figure that's fine since we have not yet logged into myplex

- Settings and login&nbsp;to my plex.

- get a message that it was successful. &nbsp;

- I go back to setting page

- then I try to see if anything in the library but get the same message 'No response from server'

Seems like it is not authorizing me:

```
5:49:08 PlexMgr: Nothing doing. Cache time less than 1h threshold
15:49:08 PlexMgr: Nothing doing. Cache time less than 1h threshold
15:49:08 XMLConverter: HTTP response error: 401 Unauthorized
15:49:08 XMLConverter: No Response from Plex Media Server
```

Here is a representation of the data in ATVSettings.cfg. &nbsp;None of the key or user id is real, I made it random for this post incase its private.

```
...
actorview = Movies
movies_navbar_genres = checked
 
[007]
 
[C18HN86XCCW5]
pms_uuid = 325407987980fff534bca74348734dfa676c9872
transcodequality = 720p 4.0Mbps
myplexuser = user1
myplex_uuid = fdhjjkFYUI786fsDfdfd
```

---

<div class="post-metadata">

**Author:** ![Plex\_Main](https://avatars.discourse-cdn.com/v4/letter/p/6f9a4e/32.png) [@Plex\_Main](https://forums.plex.tv/u/Plex_Main)\
**Post date:** [October 2, 2013, 8:07pm UTC](https://forums.plex.tv/t/myplex-on-plexconnect/37398/28 "2013-10-02T20:07:26Z")

</div>

This will give my atvs each own view state ? I’m considering plex pass but wanna make sure this works well.thanks

---

<div class="post-metadata">

**Author:** ![nrgaway](https://avatars.discourse-cdn.com/v4/letter/n/f17d59/32.png) [@nrgaway](https://forums.plex.tv/u/nrgaway)\
**Post date:** [October 2, 2013, 8:37pm UTC](https://forums.plex.tv/t/myplex-on-plexconnect/37398/29 "2013-10-02T20:37:23Z")

</div>

> This will give my atvs each own view state ? I'm considering plex pass but wanna make sure this works well.thanks

Same here. &nbsp;I have a plex pass used on the server and am using 2 other non plex pass account to manage parental controls and view states. &nbsp;So if I get this working I will let ya know.

---

<div class="post-metadata">

**Author:** ![Plex\_Main](https://avatars.discourse-cdn.com/v4/letter/p/6f9a4e/32.png) [@Plex\_Main](https://forums.plex.tv/u/Plex_Main)\
**Post date:** [October 2, 2013, 8:43pm UTC](https://forums.plex.tv/t/myplex-on-plexconnect/37398/30 "2013-10-02T20:43:52Z")

</div>

> Same here. &nbsp;I have a plex pass used on the server and am using 2 other non plex pass account to manage parental controls and view states. &nbsp;So if I get this working I will let ya know.

  
Great.looking forward to it.. Maybe upload a video?

---

<div class="post-metadata">

**Author:** ![MegaHambone](https://avatars.discourse-cdn.com/v4/letter/m/ba8739/32.png) [@MegaHambone](https://forums.plex.tv/u/MegaHambone)\
**Post date:** [October 3, 2013, 1:00am UTC](https://forums.plex.tv/t/myplex-on-plexconnect/37398/31 "2013-10-03T01:00:56Z")

</div>

I'm pretty sure I'm&nbsp;actually dropping the token for plex servers on the local network found with myPlex. I had NO idea that local auth-only was a usage case to account for, but I understand what you're doing.

The code to fix this is in plexmgr - make sure what when the server is added locally that the key is preserved. It will break some of my logic and will push the local server into the myplex section, so I will need to change some code to implement it "properly" -&nbsp;I am nowhere near&nbsp;my dev laptop, so I won't be&nbsp;able to fix this at the moment, but I can fix it when I get a chance.

---

<div class="post-metadata">

**Author:** ![MegaHambone](https://avatars.discourse-cdn.com/v4/letter/m/ba8739/32.png) [@MegaHambone](https://forums.plex.tv/u/MegaHambone)\
**Post date:** [October 3, 2013, 3:36am UTC](https://forums.plex.tv/t/myplex-on-plexconnect/37398/32 "2013-10-03T03:36:09Z")

</div>

I've made some changes to implement local myPlex servers with token authentication. I do not have this usage case here at home, so please test my newest repo and let me know.

Please note that for now, I haven't adjusted transcoding settings, because I want confirmation that it works before I go crazy implementing a ton of new stuff, so even if it does work, your local quality will be hardcoded to 2.0mbps 480p. If it works, let me know and I'll make the changes necessary to facilitate direct play for local myplex libraries.

---

<div class="post-metadata">

**Author:** ![MegaHambone](https://avatars.discourse-cdn.com/v4/letter/m/ba8739/32.png) [@MegaHambone](https://forums.plex.tv/u/MegaHambone)\
**Post date:** [October 3, 2013, 4:14am UTC](https://forums.plex.tv/t/myplex-on-plexconnect/37398/33 "2013-10-03T04:14:37Z")

</div>

I decided to go for broke and add all the stuff to make directplay work. I've tested it and it works on my setup, but I don't have local myplex - so there's no guarantees at this time.

Let me know if it works or if there's just more bugs. I'll take it on from there.

---

<div class="post-metadata">

**Author:** ![nrgaway](https://avatars.discourse-cdn.com/v4/letter/n/f17d59/32.png) [@nrgaway](https://forums.plex.tv/u/nrgaway)\
**Post date:** [October 3, 2013, 5:02am UTC](https://forums.plex.tv/t/myplex-on-plexconnect/37398/34 "2013-10-03T05:02:30Z")

</div>

I replied to you on your github PR page.

You are awesome for taking on this challenge; thanks so much!!!!

---

<div class="post-metadata">

**Author:** ![nrgaway](https://avatars.discourse-cdn.com/v4/letter/n/f17d59/32.png) [@nrgaway](https://forums.plex.tv/u/nrgaway)\
**Post date:** [October 4, 2013, 5:49am UTC](https://forums.plex.tv/t/myplex-on-plexconnect/37398/35 "2013-10-04T05:49:49Z")

</div>

Yeah!!!!! myplex is now working with multiple local servers.

&nbsp;

I have 3 servers locally that require authentication. I set up a myplex user to gain access to all 3 servers via myplex authentication. They are mapped from my public ip address like:

&nbsp;

- public.ip:32400 -\> 192.168.1.20:32400

- public.ip:32401 -\> 192.168.1.21:32400

- public.ip:32402 -\> 192.168.1.22:32400

&nbsp;

myplex correctly identifies local servers and ports (gdm must be enabled)

---

<div class="post-metadata">

**Author:** ![Plex\_Main](https://avatars.discourse-cdn.com/v4/letter/p/6f9a4e/32.png) [@Plex\_Main](https://forums.plex.tv/u/Plex_Main)\
**Post date:** [October 4, 2013, 2:48pm UTC](https://forums.plex.tv/t/myplex-on-plexconnect/37398/36 "2013-10-04T14:48:54Z")

</div>

hey megahambone. I downloaded today's repository and media library won't show

---

<div class="post-metadata">

**Author:** ![jabes87](https://avatars.discourse-cdn.com/v4/letter/j/c2a13f/32.png) [@jabes87](https://forums.plex.tv/u/jabes87)\
**Post date:** [October 4, 2013, 4:08pm UTC](https://forums.plex.tv/t/myplex-on-plexconnect/37398/37 "2013-10-04T16:08:05Z")

</div>

How do i view the the myplex library? Ive downloaded todays latest repos and have manged to sign into myplex from the settings screen?

Ayy help would be appreciated, thanks

---

<div class="post-metadata">

**Author:** ![meltman](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/meltman/32/2907_2.png) [@meltman](https://forums.plex.tv/u/meltman)\
**Post date:** [October 4, 2013, 7:17pm UTC](https://forums.plex.tv/t/myplex-on-plexconnect/37398/38 "2013-10-04T19:17:17Z")

</div>

It's not ready yet. The login is mostly implemented but actually doing anything beyond that is not yet implemented.&nbsp;

Keep patient!

---

<div class="post-metadata">

**Author:** ![Plex\_Main](https://avatars.discourse-cdn.com/v4/letter/p/6f9a4e/32.png) [@Plex\_Main](https://forums.plex.tv/u/Plex_Main)\
**Post date:** [October 4, 2013, 7:21pm UTC](https://forums.plex.tv/t/myplex-on-plexconnect/37398/39 "2013-10-04T19:21:39Z")

</div>

Just got plex pass but don’t know know how to set up independent view states. I have 2 atvs under the same network and each are signed in a different username and the shared . How do I get this to work?

---

<div class="post-metadata">

**Author:** ![nrgaway](https://avatars.discourse-cdn.com/v4/letter/n/f17d59/32.png) [@nrgaway](https://forums.plex.tv/u/nrgaway)\
**Post date:** [October 4, 2013, 7:41pm UTC](https://forums.plex.tv/t/myplex-on-plexconnect/37398/40 "2013-10-04T19:41:52Z")

</div>

> It's not ready yet. The login is mostly implemented but actually doing anything beyond that is not yet implemented.&nbsp;
> 
> Keep patient!

Last nights build works for me. &nbsp;Login and then under settings click on the discover button. &nbsp;If your sections are not showing up try rebooting the atv maybe.

I have it working with 3 local servers accessing via myplex.

Note channels are not yet working with myplex, and watched status was not yet updating for me on a ATV with ios6.

EDIT: Make sure GDM is enabled

> Just got plex pass but don't know know how to set up independent view states. I have 2 atvs under the same network and each are signed in a different username and the shared . How do I get this to work?

What I did was in the plex media server settings, I click advanced and under the myplex menu option I enable ('check') the 'Require authentication on local networks' option. &nbsp;This means that any client trying to connect to the server will require authentication via myplex and then will have own view status for sure.

If you have some other local clients on the network that can not auth, you can allow them by going into the network menu option in advanced mode on the plex media server and create an entry like this in the 'List of networks that are allowed without auth' text box:

```
127.0.0.1/255.255.255.255, 192.168.1.40/255.255.255.255
```

This will allow a local client with IP address of 192.168.1.40 to connect to plex media server without myplex authorization.

[Previous page](https://forums.plex.tv/t/myplex-on-plexconnect/37398.md?page=1)

[Next page](https://forums.plex.tv/t/myplex-on-plexconnect/37398.md?page=3)
