diff options
author | shdown <shdownnine@gmail.com> | 2014-08-30 20:29:48 +0400 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-08-30 19:23:41 +0200 |
commit | 43d46670288818c39612378755c66289b33a7bfd (patch) | |
tree | 6a78f6d828bccadeebeb34da0e8d65cb090a6962 /TOOLS/youtube-dl_mpv.sh | |
parent | 948dfe651d9885746a6cf28e2549188bcd4de2b0 (diff) | |
download | mpv-43d46670288818c39612378755c66289b33a7bfd.tar.bz2 mpv-43d46670288818c39612378755c66289b33a7bfd.tar.xz |
TOOLS/youtube-dl_mpv.sh: disable globbing before expanding $video_url
$video_url can contain a question mark, which can be expanded to a
character in an existing file name if globbing is enabled.
Diffstat (limited to 'TOOLS/youtube-dl_mpv.sh')
-rwxr-xr-x | TOOLS/youtube-dl_mpv.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/TOOLS/youtube-dl_mpv.sh b/TOOLS/youtube-dl_mpv.sh index a29928b8b9..6bfe303705 100755 --- a/TOOLS/youtube-dl_mpv.sh +++ b/TOOLS/youtube-dl_mpv.sh @@ -16,6 +16,7 @@ video_url="$(youtube-dl \ --get-url \ "$@")" +set -f $MPV \ --cookies \ --cookies-file="$cookies_file" \ |