-
Notifications
You must be signed in to change notification settings - Fork 81
Configuration File
z411 edited this page Feb 14, 2013
·
9 revisions
The configuration file is a JSON file located in ~/.wmal/config.json
Key | Description | Value | Default |
---|---|---|---|
auto_status_change | Decides if the status of a show should be changed automatically whenever possible, i.e. when completed or when starting watching it. Depends on the API. | Boolean | true |
autoretrieve | Specifies list autoretrieval mode. |
String
|
"off" |
autoretrieve_days | How many days to wait before autoretrieving. Only works if "autoretrieve" is set to "days"; ignored otherwise. | Integer | 3 |
autosend | Specified changes auto-send mode. |
String
|
"at_exit" |
autosend_hours | How many hours to wait before autosending. Only works if "autosend" is set to "hours"; ignored otherwise. | Integer | 5 |
autosend_size | Specifies the limit of the queue size; after this limit is reached, the changes will be autosent. Only works if "autosend" is set to "size"; ignored otherwise. | Integer | 5 |
debug_disable_lock | Specifies if the lock file check to see if the cache is currently open should be disabled. Currently set to true as default, as the feature in the present moment is unstable an annoying. | Boolean | true |
player | Process name of the media player to use. Currently used both to launch it, and for the tracker to detect if an instance of it is already running in the background. This might change in the near future. | String | "mpv" |
searchdir | Full path of the directory to search for video files when launching a media player, or detecting a running player. | String | "/home/user/Videos" |
tracker_enabled | Specifies if the tracker should be used. | Boolean | true |
tracker_interval | Time **in seconds** for the tracker to re-check for a running player in the background. This launches the lsof command in the background. | Integer | 120 |
tracker_update_wait | Time **in minutes* to wait before updating an episode when a player is running. If the player is closed before this time limit is reached, the episode won't be updated. | Integer | 5 |