[Feature]: Store Trakt.tv authentication details outside of config.yml
See original GitHub issueIs your feature request related to a problem? Please elaborate.
I have an Ansible playbook to deploy a Docker container for Plex Meta Manager which includes all my configuration YAML files (i.e. config.yml
, and other metadata and collection YAML files). When I want to make a change to my configuration, I change the source files, and re-deploy with Ansible. This will rewrite whatever it’s on my server.
You can see how this is problematic for Trakt.tv authentication, which is written to the config.yml
by PMM. Every time I re-deploy my Ansible playbooks, the authentication:
section for Trakt.tv will be gone, losing the authentication and refresh tokens, thus losing access to my Trakt.tv data.
Describe the solution you’d like
Split the Trakt.tv static configuration from dynamic configuration into different files:
config.yml
trakt:
client_id:
client_secret:
pin:
auth.yml
trakt:
authorization:
access_token:
token_type:
expires_in:
refresh_token:
scope:
created_at:
This way, I could keep overwriting config.yml
without worrying that the Trakt.tv authentication details are going to be overwritten and lost.
Additional Information
No response
Issue Analytics
- State:
- Created a year ago
- Comments:19 (11 by maintainers)
But, like you said, I’m just trying to offer workarounds for something that is unlikely to be implemented.
The use cases suggested when this has been discussed previously have basically been this very same use case, so it’s unlikely that plans will change. I’ll bow out, though.
I would recommend authenticating locally and saving that trakt info and push it just like you do for tmdb. Like chaz described above.
In my experience working with the trakt api is that their info on the documentation and what actually happens sometimes differ. I’ve definitely used access tokens longer then every 3 months
Ultimately im working on other features that would make this change meaningless so theres that too.