]> njoseph.me Git - nimcoon.git/blame - config.nim
Store player config options in a hashtable
[nimcoon.git] / config.nim
CommitLineData
f7735b43
JN
1import tables
2
3# Your configuration here.
4
5# Supported video players in order of preference.
6# Should be able to play YouTube videos directly.
7let supportedPlayers* = ["mpv", "cvlc"]
8
9# Only show these many results
10let limit* = 10
11
12# Some NimCoon options mapped to player options
13let playerOptions* = { "mpv": {
14 "musicOnly": "--no-video",
15 "fullScreen": "--fullscreen"
16 }.toTable,
17 "cvlc": {
18 "musicOnly": "--no-video",
19 "fullScreen": "--fs"
20 }.toTable
21 }.toTable