plex for aTV usernames

Hey all,

 

I've managed to get the Plex connect working on aTV and all services automated etc..

My only hurdle now is gettting myaTV to remember my plex username and password ( I require authentication on internal networks due to sharing my content to others in the house)

 

any clues on how to do this?

 

thanks.

The plexconnect user settings (including myplex user names and passwords) are only saved when you do a proper shutdown of plexconnect.

I don't really follow,,

To clarify, If i do a proper shutdown of plex connect on my PC - my apple TV will remember my plex username and password?

Does the aTV app look to the plex connect config on the PC for the user credentials? 

Or do you mean if I do a proper shut down of plex connect app on my apple TV? (didn't know I could shut down apps on an apple TV - I've always just let it turn itself off :\ )

 Sorry if these questions seem a little funny... I expected once I'd entered the plex user details on the plexconnect app on the apple TV I could unplug the aTV and on restart of the aTV it would all still be there.

Just noticed these lines in the ATVSettings.py file.

  'myplex_user'       :('', ), \
    'myplex_auth'       :('', ), \
    }
 
should I enter my username and password here?

on your tv inside plexconnect, go to settings and log in to myplex when ur logged in open ur termminal/command promp and shut down correctly, using ctrl+c do not just close the window.. wait for the promp to say its been shut down.. then u should be all good :)

Thanks for the reply...

I'll give that a shot again. although my plex connect is running as a service so there is no terminal... 

I did shut the terminal down properly before starting connect as a service but hadn't connected my aTV at that point until after the service had started.

I'll shut the service down and start the connect as a terminal then try your suggestion then try restarting the service and see what happens.

Will post back with results hopefully tonight..

Thanks again.

Don't change the ATVSettings.py file - it only brings the defaults. The current settings will get started in ATVSettings.cfg, once PlexConnect does the proper shutdown.

I guess the question is: Why doesn't your PlexConnect service shut down nicely?

Hi,

Did you get this resolved? I am a bit of a noob with this, but wanted to check as having the same problem and seems like saberkins question wasn't answered.

If you incorrectly restart the Plex Media Server on the PC (or Apple Mac in my case) does this reset the credentials on the ATV? Does this mean each time my computer crashes or I shut it down without exiting Plex Media Server I will have to reenter the password?

Is there a way to force the atv to use the same username and password on boot? I installed Plex on a jailbroken ATV using the instructions here <https://lanky8804.wordpress.com/2014/07/11/install-plexconnect-on-jailbroken-atv2/>

I have looked at my atv using a ssh connection but cannot find the plexconnect user settings stored anywhere - do you know where these would be?

Nick

depends on where u installed plexconnect folder  :mellow:

usually its in Applications i think

And note that Settings updated via the Menu's within Plexconnect on the ATV are now auto saved on exiting the Settings Menu, meaning you dont have to worry about a clean shutdown to have your settings saved.

If you cleanly shutdown PlexConnect your myplex/plex-home credentials are saved in ATVSettings.cfg on any PlexConnect host. This was answered already by @baa. It makes no difference if you reboot your PlexConnect host or PMS. On a jailbroken aTV2 using the above method by @baa that I modified for ssh only the ATVSettings.cfg file is here:

/Applications/PlexConnect

The myplex/plex-home credentials are encrypted so its not in plain text what your plex.tv password is and is unique to each aTV UDID. Since you are using the launchctl method you can cleanly shutdown plexconnect by typing this in a ssh session after you login to myplex/plex-home:

cd /Library/LaunchDeamons; launchctl unload com.plex.plexconnect.bash.plist

Thanks for everyone’s response, I jut have a few follow up questions


Which version of plex connect saves the settings on close of the settings menu? Is this version installable on a jailbroken atv? Can this version direct link to a plex media server over the Internet (ie using a username and password) without having a version running on the local network?

As long as your on the latest it does all of that

Brilliant, I’ll try an update tonight and see if it works. Is there an easy way to upgrade the jailbroken one (ie the one that doesn’t use the trailers app) , or do I essentially need to do a reinstall?

Don’t have it myself, (I’m an ATV3 user) but can’t you do a git command? Or just download the zip and load them to the aTV via ssh?

You can update on aTV 2 jailbroken using the modified method by typing this anywhere in a ssh session:


update.bash


Post 355 https://forums.plex.tv/topic/88905-plexconnect-on-atv2jailbroken-launchctl/page-18


Also you can update using baa’s original method by going to the folder where you installed PlexConnect and typing this in after you stop PlexConnect:


git pull


After you update just simply start it back up via launchctl. The modified method does all this for you.

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