0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 20:03:10 +02:00

ytdl_hook: remove some old playlist redirection hack

Should not be needed anymore. In fact, it's probably dangerous.
This commit is contained in:
wm4 2020-02-21 14:19:01 +01:00
parent 4c32468241
commit 04118eefb8

View File

@ -888,12 +888,6 @@ function run_ytdl_hook(url)
end
mp.set_property("stream-open-filename", "memory://" .. table.concat(playlist, "\n"))
-- This disables mpv's mushy playlist security code, which will
-- break links that will be resolved to EDL later (because EDL is
-- not considered "safe", and the playlist entries got tagged as
-- network originating due to the playlist redirection).
mp.set_property_native("file-local-options/load-unsafe-playlists", true)
end
else -- probably a video