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