> ## Documentation Index
> Fetch the complete documentation index at: https://docs.arjex.team/llms.txt
> Use this file to discover all available pages before exploring further.

# Autoplay settings

> Set autoplay eligibility, preference order, cache duration, and top-up limits.

Autoplay settings apply live. Autoplay only reads eligible public playlists.

| Key | Default | Allowed values or range |
| - | - | - |
| `autoplay.enabled` | `false` | Boolean |
| `autoplay.maxConsecutiveTracks` | 20 | Whole number, 1–100 |
| `autoplay.cacheSeconds` | 300 | Whole number, 0–3600; 0 disables cache |
| `autoplay.preferSamePlaylist` | `true` | Boolean |
| `autoplay.preferSameArtist` | `true` | Boolean |
| `autoplay.timeoutSeconds` | 10 | Whole number, 3–30 |
| `autoplay.sources` | `["server", "user"]` | Non-empty array of `server` and/or `user`, without duplicates |

A bot entry may override only `autoplay.enabled`. Autoplay also needs at least one playlist mode enabled and an eligible public playlist. Track and queue loop take precedence.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.