summaryrefslogtreecommitdiffstats
path: root/bin/youtube_mplayer.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/youtube_mplayer.sh')
-rwxr-xr-xbin/youtube_mplayer.sh17
1 files changed, 0 insertions, 17 deletions
diff --git a/bin/youtube_mplayer.sh b/bin/youtube_mplayer.sh
deleted file mode 100755
index 6409fa1..0000000
--- a/bin/youtube_mplayer.sh
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/bash
-# Recover the url.
-URL=`xclip -o`
-
-# Determine if it's a youtube video. Returns a result different from 0 if that's the case.
-SITE=`expr match "$URL" "http://www.youtube*"`
-
-if [ $SITE != 0 ]; then
-
- # Replace with player of your choice
- mplayer -cache 8192 `youtube-dl -g "$URL"`
-
-else
-
- get_flash_videos -y -p "$URL"
-
-fi