diff options
author | Kjetil Orbekk <kjetil.orbekk@gmail.com> | 2016-02-10 03:42:45 +0100 |
---|---|---|
committer | Kjetil Orbekk <kjetil.orbekk@gmail.com> | 2016-02-10 03:42:45 +0100 |
commit | 6bbdad6463bf5ef2015a78f47f6d780649095dc9 (patch) | |
tree | ca4c59f2e9e5eb8d67e587a8a319776d483a8497 /bin/play-yt | |
parent | fdedec1b4ecd17106603c2960f78253625d1d125 (diff) |
Add youtube commands.
Diffstat (limited to 'bin/play-yt')
-rwxr-xr-x | bin/play-yt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/play-yt b/bin/play-yt new file mode 100755 index 0000000..cca0628 --- /dev/null +++ b/bin/play-yt @@ -0,0 +1,6 @@ +#!/bin/bash + +rm /tmp/youtube.* +youtube-dl -o /tmp/youtube "$@" & +sleep 5s && mpv /tmp/youtube.* +rm /tmp/youtube.* |