From 80a34962e0860225dbd58163f2f8239f2f448db0 Mon Sep 17 00:00:00 2001 From: xoconoch <93692082+xoconoch@users.noreply.github.com> Date: Fri, 26 Jun 2026 13:04:30 -0600 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20Added=20new=20templating=20note?= =?UTF-8?q?=20(#419)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * docs: document padding behavior * Improve numeric fields note formatting in templating.md Updated note formatting for numeric fields in templating documentation. --------- Co-authored-by: xoconoch Co-authored-by: Oskar Dudziński <56404247+oskvr37@users.noreply.github.com> --- docs/templating.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/templating.md b/docs/templating.md index 6dcabac..ba3b694 100644 --- a/docs/templating.md +++ b/docs/templating.md @@ -47,6 +47,10 @@ Each object type exposes fields you can use inside templates. | `item.explicit` | Explicit content | `E` | str | | `item.dolby:(Dolby Atmos)` | Dolby Atmos (track only, `UserFormat`) | `(Dolby Atmos)` | str | +> [!NOTE] +> Numeric fields `item.number` and `item.volume` can be padded with leading zeros +> using `:0d` (e.g. `item.number:02d` → `03`, `item.volume:03d` → `001`). + --- ### `album`