Configuration - AtesComp/miraclecast GitHub Wiki

Configuration

You can configure miraclecast through option on the command line or through "ini" style files.

In a fallback mechanishm, the command line always has higher priority than "ini" file settings.

The MiracleCast daemon and controllers needs to run under super-user privileges, so "ini" files should be created under the /root dir.

The "ini" Files

There are two possible "ini" files available given in the order of discovery. The first file found is used for the settings.

  1. ~/.config/miraclecastrc
  2. ~/.miraclecastrc

Sections and Options

Customizable sections with their options:

  • wifid

    • log-level
  • sinkctl

    • log-level
    • log-journal-level
    • external-player
    • rstp-port
    • autocmd
  • wifictl

    • log-level
    • log-journal-level

Example Contents

In the "ini" style...

[wifid]
log-level=trace

[sinkctl]
log-level=trace
autocmd=run 3
external-player=gstplayer
rstp-port=7236

[wifictl]
log-level=trace