From 04118eefb8a19e7bb1de56257a9b1ddc5dc6ebb7 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 21 Feb 2020 14:19:01 +0100 Subject: ytdl_hook: remove some old playlist redirection hack Should not be needed anymore. In fact, it's probably dangerous. --- player/lua/ytdl_hook.lua | 6 ------ 1 file changed, 6 deletions(-) (limited to 'player/lua') diff --git a/player/lua/ytdl_hook.lua b/player/lua/ytdl_hook.lua index cb1544b38d..28600530da 100644 --- a/player/lua/ytdl_hook.lua +++ b/player/lua/ytdl_hook.lua @@ -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 -- cgit v1.2.3