-
Notifications
You must be signed in to change notification settings - Fork 482
BUG: Plex plugin schema validation fails #1713
Copy link
Copy link
Closed
Description
Expected behaviour:
Plex plugin config validation should be valid if a username/password is provided OR if a token is provided. ( merged with #1607 )
Actual behaviour:
The test always fails.
Steps to reproduce:
- Step 1: Set up the plex plugin with a username/password or a token.
- Step 2:
bin/flexget check
Config:
configure_series:
from:
plex:
section: 4
token: xxxxx
Log:
2017-02-28 15:48 VERBOSE check Pre-checked 33 configuration lines
2017-02-28 15:48 CRITICAL manager [/templates/tv/configure_series/from/plex] Cannot specify `username` and `password` with `token`
2017-02-28 15:48 CRITICAL manager Failed to load config file: Did not pass schema validation.
Could not start manager: Did not pass schema validation.
Additional information:
- Flexget Version: 2.10.10.dev
- Python Version: 3.6.0
- Installation method: pip
- OS and version: OSX 10.12.3
Solution:
username, password and token schemas are defaulted to an empty string; remove that and it works.
Cheers.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels