File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -180,7 +180,7 @@ local keys = {
180180local data = {}
181181local url = " "
182182local ytdl_path = " "
183- local searched_ytld_path = false
183+ local ytdl_not_found = false
184184local is_menu_shown = false
185185
186186-- ====================
@@ -1011,7 +1011,7 @@ end
10111011
10121012-- find the executable path of yt-dlp or youtube-dl and update the ytdl_path variable
10131013function update_ytdl_path ()
1014- if not searched_ytld_path then
1014+ if ytdl_not_found then
10151015 return false
10161016 elseif not isempty (ytdl_path ) then
10171017 return true
@@ -1030,7 +1030,7 @@ function update_ytdl_path()
10301030 end
10311031 end
10321032
1033- searched_ytld_path = true
1033+ ytdl_not_found = true
10341034 msg .warn (" couldn't find yt-dlp or youtube-dl" )
10351035
10361036 return false
You can’t perform that action at this time.
0 commit comments