Skip to content

Commit

Permalink
Add an example json config file
Browse files Browse the repository at this point in the history
  • Loading branch information
stuart-mclaren authored and anacrolix committed Aug 30, 2024
1 parent 6837989 commit cb9a5b7
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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``
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit cb9a5b7

Please sign in to comment.