Closed XciD closed 8 years ago
Nice ! <3
Very nice indeed. I'm thinking how to make it the most easy for users to use. I'm thinking to prompt users for username/password in case there is no existing preference.
Happy to help :). For me, I'm using it with Docker API to create container for my users.
@XciD do you have some examples ?
It's a complex architecture (Java + AngularJS), I'm using this lib : https://github.com/docker-java/docker-java
I ask my users their login/pass in frontend, then I create the container in backend.
But, there is another ways, like php script invoking a bash script ... etc...
I'm updating upon this to support X_PLEX_TOKEN
, normalize name (currently this uses PLEX_USERNAME
while other parts use PLEXPASS_LOGIN
), and more.
Automatically connect you Plex account to the container without SSH Port Forward or other tricks.
Username and password are used to cat Plex.tv api to get an app token. Then add it to Preferences.xml and your Plex Media is Automatically linked to your account
ENV Variables to use :
PLEX_USERNAME
PLEX_PASSWORD
example :
If you are using a different external port than 32400, you will have to user
PLEX_EXTERNALPORT