1 2 3 4 5 6
#!/usr/bin/env bash rm /tmp/youtube.* youtube-dl -o /tmp/youtube "$@" & sleep 5s && mpv /tmp/youtube.* rm /tmp/youtube.*