Changed MPV youtube quality script to use yt-dlp
This commit is contained in:
parent
efd7831320
commit
33a753e982
1 changed files with 2 additions and 2 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue