Plex Access Token
desimaniac edited this page Jan 29, 2019
·
13 revisions
The following guide mentions two ways of obtaining a Plex Access Token for your Plex account.
You will need your Plex credentials filled in ~/cloudbox/accounts.yml
. If you already do, skip steps 2-4.
-
Go to the Cloudbox folder:
cd ~/cloudbox/
-
Open the file for editing:
-
For encrypted
accounts.yml
:ansible-vault edit accounts.yml
-
For plain text
accounts.yml
:nano accounts.yml
-
-
Fill in your Plex credentials:
plex: user: pass:
-
Save and exit: Ctrl + X Y Enter.
-
Run the following command:
sudo ansible-playbook cloudbox.yml --tags plex_auth_token
-
You will be shown your Plex Access Token in the log:
TASK [plex_auth_token : Display Plex Auth Token] *********************************************************************************** Tuesday 29 January 2019 21:08:33 +0100 (0:00:00.104) 0:00:13.905 ******* ok: [localhost] => { "msg": "Your Plex Auth Token is: XXXXXXXXXXXXXXXX" }
-
On the server's shell, run the following command[1]:
/opt/scripts/plex/plex_token.sh
-
You will be prompted to enter your Plex login and then presented with the Plex Access Token (under
Your X_PLEX_TOKEN:
)
1 Credit: https://github.com/wernight
- Overview
- Presumptions
- Server
- Domain Name
- Cloudflare
- Cloud Storage
- Plex / Emby - Account
- Usenet vs. BitTorrent
Cloudbox
- Overview
- Dependencies (Choose only one of these)
- Settings
- Preinstall (Choose only one of these)
- SSH
- Ansible Vault
- Rclone
- Cloudbox (Choose only one of these)
- Application Setup
- Next Steps
Feederbox (do this first)
- Overview
- Dependencies
- Settings
- Preinstall
- SSH
- Ansible Vault
- Rclone
- Feederbox (Choose only one of these)
- Application Setup
- Next Steps
Mediabox
- Overview
- Dependencies
- Settings
- Preinstall
- SSH
- Ansible Vault
- Rclone
- Mediabox (Choose only one of these)
- Application Setup
- Next Steps
- Cloudplow (Media Uploader)
- cb utility script (Develop branch only}
- Updating Cloudbox (Choose only one of these)
- Updating Cloudbox Apps
- Removing Cloudbox Apps
- Resetting Cloudbox Apps
- Migrating Cloudbox
- Settings Updater
- Ansible Vault Primer
- Plex Access Token
- Plex Autoscan Extras
- Pushover
- Google Drive API Client ID and Client Secret
- Useful Docker Commands
- Add Your Own Docker Container into Cloudbox
- Revoking SSL Certificates
- Feeder Mount
- Adding a Subdomain
- HTTP Auth Support
- Emby
- Nextcloud
- Resilio Sync
- Plex DupeFinder
- Heimdall
- NZBHydra v1
- Plex Requests
- Sickbeard MP4 Automator
- SABnzbd
- Traktarr
See Community Wiki.