Changed MPV youtube quality script to use yt-dlp

This commit is contained in:
Logan G 2021-11-29 01:16:47 -07:00
parent efd7831320
commit 33a753e982
Signed by: logan
GPG key ID: E328528C921E7A7A

View file

@ -161,7 +161,7 @@ function show_menu()
end
local ytdl = {
path = "youtube-dl",
path = "yt-dlp",
searched = false,
blacklisted = {}
}
@ -190,7 +190,7 @@ function download_formats()
local res = format_cache[url]
return res, table_size(res)
end
mp.osd_message("fetching available formats with youtube-dl...", 60)
mp.osd_message("Fetching available formats...", 60)
if not (ytdl.searched) then
local ytdl_mcd = mp.find_config_file("youtube-dl")