Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 238
Add API Authentication and additional scan scheduling options#711
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
base:main
Are you sure you want to change the base?
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| name: Stash Scheduler | ||
| description: Schedule automatic library scans with an optional identify pass after each scan. | ||
| version: "0.6.0" | ||
| url: https://discourse.stashapp.cc/t/stash-scheduler/7059 | ||
Contributor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Must be retained. | ||
| version: "0.10.0" | ||
| url: https://github.com/stashapp/stash | ||
| exec: | ||
| - python3 | ||
| @@ -42,6 +42,16 @@ tasks: | ||
| mode: check_status | ||
| settings: | ||
| apiKey: | ||
Contributor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why not just check for authentication and get the API key from | ||
| displayName: API Key | ||
| description: > | ||
| Stash API key for authenticating background scans. Required when | ||
| Settings > Security > "Require API key for local connections" is enabled, | ||
| or when accessing Stash over a network. Generate a key under | ||
| Settings > Security > API Keys, then paste it here. Leave blank if | ||
| Stash does not require authentication. | ||
| type: STRING | ||
| frequency: | ||
| displayName: Scan Frequency | ||
| description: > | ||
| @@ -53,9 +63,10 @@ settings: | ||
| time_of_day: | ||
| displayName: Time of Day (HH:MM) | ||
| description: > | ||
| The time to run the scan in 24-hour HH:MM format. Used for Daily and | ||
| Weekly schedules; ignored for Hourly. Examples: 02:00, 14:30, 20:45. | ||
| Defaults to 02:00 if not set. | ||
| One or more times to run the scan in 24-hour HH:MM format. Used for | ||
| Daily and Weekly schedules; ignored for Hourly. Separate multiple times | ||
| with commas or spaces. Examples: 02:00 — single daily run. 00:00, 06:00, | ||
| 09:00, 16:00, 18:00 — five runs per day. Defaults to 02:00 if not set. | ||
| type: STRING | ||
| day_of_week: | ||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Must be retained.