X-Git-Url: https://njoseph.me/gitweb/nimcoon.git/blobdiff_plain/aaeaf00b0276e4eee8355c223ca668be7dfe2ee0..46817cb7cbd9bd6b24e92ed9e292c62ce20d20ac:/nimcoon.nim diff --git a/nimcoon.nim b/nimcoon.nim index f47b249..cea1797 100644 --- a/nimcoon.nim +++ b/nimcoon.nim @@ -9,7 +9,6 @@ import std/[terminal], strtabs, strutils, - tables, uri, xmltree @@ -96,10 +95,10 @@ proc main() = var args = @[searchResults[number].url] if musicOnly: - args.add(playerOptions[player]["musicOnly"]) + args.add("--no-video") if fullScreen: - args.add(playerOptions[player]["fullScreen"]) + args.add("--fullscreen") # Play the video using the preferred/available media player play(player, args)