mirror of
https://github.com/mpv-player/mpv
synced 2024-12-26 17:12:36 +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:
parent
b388c73540
commit
6e428c261e
@ -1094,7 +1094,6 @@ function run_ytdl_hook(url)
|
||||
local prefix = site:find(":") and "ytdl://" or
|
||||
"https://youtu.be/"
|
||||
playlist_url = prefix .. site
|
||||
table.insert(playlist, prefix .. site)
|
||||
elseif url_is_safe(site) then
|
||||
playlist_url = site
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user