mirror of
https://github.com/apricote/Listory.git
synced 2026-01-13 13:11:02 +00:00
feat(api): custom spotify crawler interval
This commit is contained in:
parent
97f5ef70ac
commit
66fd6ce1b4
6 changed files with 46 additions and 4 deletions
|
|
@ -29,7 +29,7 @@ All configuration must be set as environment variables. Default values are added
|
|||
|
||||
- `SPOTIFY_CLIENT_ID`: _Required_, Spotify App Client ID
|
||||
- `SPOTIFY_CLIENT_SECRET`: _Required_, Spotify App Client Secret
|
||||
- `SPOTIFY_FETCH_INTERVAL_MIN`: **5**: Interval for fetching recently listened tracks from Spotify.
|
||||
- `SPOTIFY_FETCH_INTERVAL_SEC`: **60**: Interval for fetching recently listened tracks from Spotify.
|
||||
- `SPOTIFY_WEB_API_URL`: **https://api.spotify.com/**: Spotify WEB API Endpoint.
|
||||
- `SPOTIFY_AUTH_API_URL`: **https://accounts.spotify.com/**: Spotify Authentication API Endpoint.
|
||||
- `SPOTIFY_USER_FILTER`: **""**: If set, only allow Spotify users with these ids to access the app. If empty, allow all users to access the app. Seperate ids with `,` eg.: `231421323123,other_id`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue