From dfec71f55a89bc95e9245e533628ff15ec4a3472 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 13 Mar 2015 20:32:55 +0100 Subject: [PATCH] TOOLS: remove youtube-dl_mpv.sh It lost all reason to exist, since mpv includes ytdl_hook.lua by default. --- TOOLS/youtube-dl_mpv.sh | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100755 TOOLS/youtube-dl_mpv.sh diff --git a/TOOLS/youtube-dl_mpv.sh b/TOOLS/youtube-dl_mpv.sh deleted file mode 100755 index 3f4c02f40f..0000000000 --- a/TOOLS/youtube-dl_mpv.sh +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/sh -# Example of script for using mpv with youtube-dl -set -e - -cookies_dir="$(mktemp -d /tmp/youtube-dl_mpv.XXXX)" -cookies_file="${cookies_dir}/cookies" -user_agent="$(youtube-dl --dump-user-agent)" # or set whatever you want - -video_url=$(youtube-dl \ - --user-agent="${user_agent}" \ - --cookies="${cookies_file}" \ - --get-url \ - "$@") - -set -f -${MPV:-mpv} \ - --cookies \ - --cookies-file="${cookies_file}" \ - --user-agent="${user_agent}" \ - -- ${video_url} - -rm -rf "${cookies_dir}"