diff --git a/ytfzf b/ytfzf index 3da39acf..2ffafb7a 100755 --- a/ytfzf +++ b/ytfzf @@ -1215,7 +1215,7 @@ video_player() { [ "$is_detach" -eq 1 ] && use_detach_cmd=detach_cmd || use_detach_cmd='' # shellcheck disable=SC2086 unset IFS - $use_detach_cmd mpv --ytdl-format="$ytdl_pref" $(eval echo "$url_handler_opts") "$@" + $use_detach_cmd mpv $(eval echo "$url_handler_opts") "$@" } audio_player() { @@ -1224,8 +1224,8 @@ audio_player() { # shellcheck disable=SC2086 unset IFS case "$is_detach" in - 0) mpv --no-video --ytdl-format="$ytdl_pref" $(eval echo "$url_handler_opts") "$@" ;; - 1) detach_cmd mpv --force-window --no-video --ytdl-format="$ytdl_pref" $(eval echo "$url_handler_opts") "$@" ;; + 0) mpv --no-video $(eval echo "$url_handler_opts") "$@" ;; + 1) detach_cmd mpv --force-window --no-video $(eval echo "$url_handler_opts") "$@" ;; esac }