1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-27 09:32:40 +00:00

ytdl_hook: remove extra playlist insert

b388c73540 should have deleted this line
since the insert is done a little below it instead, but it was missed
during review.
This commit is contained in:
Dudemanguy 2023-10-21 18:29:57 -05:00
parent b388c73540
commit 6e428c261e

View File

@ -1094,7 +1094,6 @@ function run_ytdl_hook(url)
local prefix = site:find(":") and "ytdl://" or local prefix = site:find(":") and "ytdl://" or
"https://youtu.be/" "https://youtu.be/"
playlist_url = prefix .. site playlist_url = prefix .. site
table.insert(playlist, prefix .. site)
elseif url_is_safe(site) then elseif url_is_safe(site) then
playlist_url = site playlist_url = site
end end