ytdl_hook: remove some old playlist redirection hack
Should not be needed anymore. In fact, it's probably dangerous.
This commit is contained in:
1 parent
4c32468241
commit
04118eefb8
1 file changed
-6
@@ -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
|
||||
|
||||
Reference in new issue
Block a user