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.
This commit is contained in:
shdown 2014-08-30 20:29:48 +04:00 committed by wm4
parent 948dfe651d
commit 43d4667028
1 changed files with 1 additions and 0 deletions

View File

@ -16,6 +16,7 @@ video_url="$(youtube-dl \
--get-url \
"$@")"
set -f
$MPV \
--cookies \
--cookies-file="$cookies_file" \