End to end testing framework
This folder holds scripts used in performing end to end testing of the plugin. The script:
- Erases all currently discovered introduction timestamps
- Runs the Analyze episodes task
- Waits for the analysis to complete
- Checks that the current results are within one second of a previous result
Usage
- Save the response returned by
/Intros/All?api_key=KEY
to a file somewhere. - Set the environment variable
JELLYFIN_TOKEN
to the access token of an administrator. - Run
python3 main.py -f FILENAME