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.
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:
bin/flexget checkConfig:
Log:
Additional information:
Solution:
username,passwordandtokenschemas are defaulted to an empty string; remove that and it works.Cheers.