Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 1.72 KB

File metadata and controls

44 lines (30 loc) · 1.72 KB

Configuration

File

By default, the configuration file will be read from the user's local data.

On Linux, it will be in /home/$USER/.config/MediaConch.rc.

On Windows, it will be in C:\Users\$USER\AppData\Roaming\MediaConch\MediaConch.rc.

On Mac OS, it will be in /Users/$USER/Library/Preferences/MediaConch.rc.

Usage

The format of the configuration file is JSON.

It should be an array of entries with each entry corresponding to the option wanted.

Reconized entries

  • SQLite_Path: give the path where the database should be created, default is the data application path.
  • Database_Enabled: enable or not the database, default yes.
  • Use_Daemon: in client mode, do the processing by a daemon or not.
  • Daemon_Address: in client and daemon mode, give the address where the daemon should bind, default 0.0.0.0.
  • Daemon_Port: in client and daemon mode, give the port where the daemon should bind, default 80.
  • Scheduler_Max_Threads: give the number of cores which process files.
  • UI_Poll_Request: set the value of the timer to refresh the UI in millisecond, default is 5000. It must be more than 500 and less than 10000.
  • UI_Database_Path: give the path where the database for the GUI is, default is the data application path.
  • Plugins: refers to the plugins section, see Plugins.md.

Example

[
    {"Use_Daemon": false}, # Do not use the daemon
    {"SQLite_Path": "/tmp"}, # Put the Database into the /tmp directory
    {"Scheduler_Max_Threads": 2}, # Use 2 cores to analyze files
    {"Plugins": []} # No plugins registered
]

Note

Consider using Scheduler_Max_Threads with your computer's real core number. If you use too many, your computer could freeze.