Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync Watch Status Auth Error #415

Open
Spritzup opened this issue Dec 29, 2023 · 2 comments
Open

Sync Watch Status Auth Error #415

Spritzup opened this issue Dec 29, 2023 · 2 comments

Comments

@Spritzup
Copy link

I've been setting up JBOPS again after moving away from Plex for a year or so. I'm trying to configure the Sync Watch Status script, but can't get it to work and keep getting the following error in the logs. I've tried running it directly from the CLI and from within Tautulli with the same error. Any help or guidance would be appreciated.

	Tautulli Notifiers :: Script error:
    Traceback (most recent call last):
        File "/config/JBOPS/utility/sync_watch_status.py", line 75, in <module>
            PLEX_TOKEN = CONFIG.data['auth'].get('server_token')
                                      ~~~~~~~~~~~^^^^^^^^
    KeyError: 'auth'
@blacktwin
Copy link
Owner

Are you using a config.ini for PlexAPI?

@Spritzup
Copy link
Author

Spritzup commented Jan 7, 2024

Yes, it turns out I needed to create a plexapi.config.ini file in the root of the config directory.... took me forever to stumble across the solution (I likely missed it in the documentation somewhere). Apologies for not responding back earlier.

That said though, if it's not listed in the docs that you made need to create plexapi.config.ini for some scripts, perhaps it could be added?

In either case, thank you for your hard work on this, I appreciate it :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants