From cb9a5b710bbfc7d6af8887c1dedaa5b645bd2a12 Mon Sep 17 00:00:00 2001 From: Stuart McLaren <8805659+stuart-mclaren@users.noreply.github.com> Date: Thu, 29 Aug 2024 19:38:16 +0100 Subject: [PATCH] Add an example json config file --- README.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.rst b/README.rst index cdce321..7d0d483 100755 --- a/README.rst +++ b/README.rst @@ -88,6 +88,8 @@ Usage of dms: - json configuration file * - ``-deviceIcon string`` - device icon + * - ``-deviceIconSizes string`` + - device icon sizes, separated by comma * - ``-fFprobeCachePath string`` - path to FFprobe cache file (default "/home/efreak/.dms-ffprobe-cache") * - ``-forceTranscodeTo string`` @@ -119,6 +121,16 @@ Usage of dms: * - ``-transcodeLogPattern`` - pattern where to write transcode logs to. The ``[tsname]`` placeholder is replaced with the name of the item currently being played. The default is ``$HOME/.dms/log/[tsname]``. You may turn off transcode logging entirely by setting it to ``/dev/null``. You may log to stderr by setting ``/dev/stderr``. +An example json configuration file:: + + { + "path": "/path/to/media/files", + "friendlyName": "dms", + "noTranscode": true, + "deviceIcon": "/path/to/icon.png", + "deviceIconSizes": ["48:512","128:512"] + } + Dynamic streams =============== DMS supports "dynamic streams" generated on the fly. This feature can be activated with the