Commit 3ba7018e authored by Joseph Nuthalapati's avatar Joseph Nuthalapati

Fix broken directPlay

parent 9e6b8568
Pipeline #119133153 passed with stages
in 1 minute and 53 seconds
......@@ -63,4 +63,4 @@ proc directPlay*(searchQuery: string, player: string) =
if searchQuery.startswith("magnet:"):
discard execProcess("peerflix", args=[url, &"--{player}"], options=processOptions)
else:
discard execProcess("peerflix", args=[url], options=processOptions)
discard execProcess(player, args=[url], options=processOptions)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment