summaryrefslogtreecommitdiff
path: root/.uzbl/scripts/ytdl.sh
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2015-11-09 10:53:57 +0000
committerUrbain Vaes <urbain@vaes.uk>2015-11-09 10:53:57 +0000
commitbe98b19ba0cfd30edeafedca9629231fd829fd3e (patch)
tree8636953f012f7fde3580d8d8878cdeee7ff60a1d /.uzbl/scripts/ytdl.sh
parent4fb3ea1cc4ec9321927588f73189a48413dd8387 (diff)
Add script to open downloads
Diffstat (limited to '.uzbl/scripts/ytdl.sh')
-rwxr-xr-x.uzbl/scripts/ytdl.sh8
1 files changed, 0 insertions, 8 deletions
diff --git a/.uzbl/scripts/ytdl.sh b/.uzbl/scripts/ytdl.sh
deleted file mode 100755
index acf327a..0000000
--- a/.uzbl/scripts/ytdl.sh
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/bash
-cd ~/Downloads # change this line to determine where the file is saved
-python2 youtube-dl -o %\(title\)s.%\(ext\)s "$1" # -o output template is optional
-# play with mplayer after download
-savename=`python2 youtube-dl -o %\(title\)s.%\(ext\)s --get-filename "$1"`
-mplayer -really-quiet "$savename"
-ratpoison -c "echo [ytdl-uzbl] $1 done." # change this line to change how you are notified of a
- # completed download