Add [media] follow_symlinks and list make qr in the quick start

follow_symlinks (default true) keeps the new behaviour of following links
wherever they point; false restores the strict rule: only links whose target
stays inside the configured folder are followed, the search does not walk
linked folders, no picture is taken from outside the root and players are not
matched to a library file through a link.

The README (fr/en) quick start now lists `make qr`, next to `make url`.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Denis
2026-10-26 16:58:14 +01:00
parent 167a4c674b
commit 6bd8cbc822
9 changed files with 89 additions and 19 deletions
+2 -1
View File
@@ -44,6 +44,7 @@ make config # ~/.config/mediadeck/config.toml (mode 600) with a random
make uinput # "uaccess" udev rule for /dev/uinput (sudo)
make service-install # systemd user service, started with the graphical session
make url # URL + QR code to scan with the tablet
make qr # or a PC browser page with the QR codes shown large
```
On the tablet: scan the QR code, then browser menu → "Add to Home screen".
@@ -133,7 +134,7 @@ PC**; the tablet stays a remote control.
- **Security**: the client never sends an absolute path, only a root folder and a relative path. The server refuses
`..`, absolute paths and hidden entries (`.x`). **Symbolic links are followed wherever they point**: a folder kept on
another disk is simply linked from the configured folder (`ln -s /disk/Films ~/Videos/Films`). Your own links
therefore decide what can be seen from the tablet. Only known media extensions are listed and opened (never a script,
therefore decide what can be seen from the tablet; `[media] follow_symlinks = false` only follows links whose target stays inside the configured folder. Only known media extensions are listed and opened (never a script,
even renamed `.mp3` or linked to a `.sh`). `GET /api/media`
requires the token in the `Authorization` header; thumbnails (`/thumb`) have it in the URL, like `/art`, because an
image tag sends no header. `ffmpeg` runs with no standard input, limited to local files, with a timeout and at most