diff options
author | wm4 <wm4@nowhere> | 2020-02-21 14:19:01 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2020-02-21 14:19:01 +0100 |
commit | 04118eefb8a19e7bb1de56257a9b1ddc5dc6ebb7 (patch) | |
tree | 966ba015f7c6a9d24ce7405d3df0370468c9eb54 /player | |
parent | 4c32468241fbc6b6a6837c4030532bd9363b7441 (diff) | |
download | mpv-04118eefb8a19e7bb1de56257a9b1ddc5dc6ebb7.tar.bz2 mpv-04118eefb8a19e7bb1de56257a9b1ddc5dc6ebb7.tar.xz |
ytdl_hook: remove some old playlist redirection hack
Should not be needed anymore. In fact, it's probably dangerous.
Diffstat (limited to 'player')
-rw-r--r-- | player/lua/ytdl_hook.lua | 6 |
1 files changed, 0 insertions, 6 deletions
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 |