proc play*(player: string, args: openArray[string]) =
# poEchoCmd can be added to options for debugging
discard execProcess(player, args=args, options={poStdErrToStdOut, poUsePath})
- quit(0)
func urlLongen(url: string): string =
url.replace("youtu.be/", "www.youtube.com/watch?v=")