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

# Playlist link safety

> See how playlist links and text attachments are validated before storage and playback.

Stored links must use public HTTP or HTTPS. Links with credentials, single-word hosts, or private, loopback, or reserved IP destinations are rejected. Up to three redirects are followed and checked again; link checks use `playlists.linkTimeoutMs`.

A recognized media or catalog URL is resolved as a media page. Other URLs are treated as direct audio and must respond with an audio content type. The final URL is stored and checked again before playback.

## Text attachment imports

* Only `cdn.discordapp.com` and `media.discordapp.net` are accepted.
* The file must be a `.txt`, up to 256 KB, with `text/plain` content type and valid UTF-8.
* Redirects are not followed.
* Each track is a name line followed by an HTTP(S) link line. Blank lines and lines beginning with `#` are ignored.
* A malformed line rejects the entire batch.

Playlist link safety applies before storage and again before playback. Public playlists are not moderated; do not treat link validation as content moderation.


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