X-Git-Url: https://njoseph.me/gitweb/nimcoon.git/blobdiff_plain/3c20e75c565cd0d0eb73ca8060c22bf557aeab89..f7735b43cbeb05c3e30cc9d2d0df3197fa1c0eb9:/config.nim diff --git a/config.nim b/config.nim new file mode 100644 index 0000000..f55bc9d --- /dev/null +++ b/config.nim @@ -0,0 +1,21 @@ +import tables + +# Your configuration here. + +# Supported video players in order of preference. +# Should be able to play YouTube videos directly. +let supportedPlayers* = ["mpv", "cvlc"] + +# Only show these many results +let limit* = 10 + +# Some NimCoon options mapped to player options +let playerOptions* = { "mpv": { + "musicOnly": "--no-video", + "fullScreen": "--fullscreen" + }.toTable, + "cvlc": { + "musicOnly": "--no-video", + "fullScreen": "--fs" + }.toTable + }.toTable