> ## 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.

# Storage settings for Arjex Music 1.0.0

> Set Arjex Music 1.0.0 cache directory, capacity, age cleanup, startup clearing, and FFmpeg location with schema defaults and live timing.

You are reading the docs for Arjex Music 1.0.0. The latest version is 1.1.0. [Read the 1.1.0 docs](https://docs.arjex.team/music.md).

Storage settings control the local cache used for downloaded tracks during Lavalink fallback playback. Changes apply live.

| Key | Type and constraints | Schema default | Applies |
| - | - | - | - |
| `storage.directory` | Non-empty string; project-relative path | `storage` | Live. Cached files move to the new directory and the old directory is removed. |
| `storage.maxSizeMb` | Number greater than 0 | `300` | Live. The oldest unused files are evicted first; a track that still does not fit is refused. |
| `storage.maxAgeDays` | Number greater than 0 | `14` | Live. The README says old tracks are cleaned up every hour when automatic deletion is on. |
| `storage.autoDelete` | boolean | `true` | Live. When false, files remain until manually removed. |
| `storage.clearOnStartup` | boolean | `false` | Set true to clear the cache once at startup; needs a restart to take effect at startup. |
| `storage.ffmpegLocation` | string | Empty, which uses system PATH | Live for new downloads. Required for local playback conversion when not on PATH. |

The README gives a `maxAgeDays` value of 7 and does not clearly define the `autoDelete` default. This reference uses the schema defaults of 14 days and `true`. Files actively playing are never deleted, regardless of cleanup settings.

> [card] [Local storage behavior](https://docs.arjex.team/music/v1/concepts/storage.md)
>
> Understand cleanup and cache handling.

> [card] [Troubleshooting](https://docs.arjex.team/music/v1/ops/troubleshooting.md)
>
> Fix local storage issues.


## Related topics

- [Local storage in Arjex Music 1.0.0](https://docs.arjex.team/music/v1/concepts/storage.md)
- [Live configuration in Arjex Music 1.0.0](https://docs.arjex.team/music/v1/concepts/live-config.md)
- [Bot settings for Arjex Music 1.0.0](https://docs.arjex.team/music/v1/reference/configuration/bots.md)
- [Global settings for Arjex Music 1.0.0](https://docs.arjex.team/music/v1/reference/configuration/global.md)
- [Spotify and player settings in Arjex Music 1.0.0](https://docs.arjex.team/music/v1/reference/configuration/spotify-and-player.md)


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