saltyorg / Saltbox

Ansible-based solution for rapidly deploying a Docker containerized cloud media server.
https://docs.saltbox.dev
GNU General Public License v3.0
571 stars 65 forks source link

Clarification on how plex_auth_token is implemented in autoscan vs cloudplow roles #92

Closed vpatel9202 closed 1 year ago

vpatel9202 commented 1 year ago

Looking at the autoscan role and cloudplow role, it seems that there is a difference in how the Plex Token is obtained and I'm wondering if this is intentional. The autoscan role obtains the token from Preferences.xml in the Plex directory while the cloudplow role depends on the plex_auth_token role, which then uses the API to resolve the token. Is there a reason for this difference or am I misunderstanding how the roles work?

saltydk commented 1 year ago

Autoscan scan role had to have multiple instance support so did a workaround for that at the time. Are you having issues with how it selects the token?

saltydk commented 1 year ago

Closing this but feel free to re-open if you respond.