- echo index, ". ", title.bold.fgMagenta, "\n", url.fgCyan, "\n"
+ styledEcho $index, ". ", styleBright, fgMagenta, title, "\n", resetStyle, fgCyan, url, "\n"
+
+let input = paramStr(1)
+let player = selectMediaPlayer()
+
+if "https://www.youtube.com" in input:
+ discard execProcess(player & " " & input)
+ quit(0)