From 69abb4819414a8f0a4e20812537112d72d9c04fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaime=20Marqui=CC=81nez=20Ferra=CC=81ndiz?= Date: Sun, 7 Jun 2015 10:13:29 +0200 Subject: ytdl_hook: Support 'multi_video' results They can be handled by the same codes used for playlists, most of them will use an EDL. Fixes #2027. --- player/lua/ytdl_hook.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/player/lua/ytdl_hook.lua b/player/lua/ytdl_hook.lua index bcbb536426..967a20a226 100644 --- a/player/lua/ytdl_hook.lua +++ b/player/lua/ytdl_hook.lua @@ -144,7 +144,7 @@ mp.add_hook("on_load", 10, function () -- direct URL, nothing to do msg.verbose("Got direct URL") return - elseif not (json["_type"] == nil) and (json["_type"] == "playlist") then + elseif not (json["_type"] == nil) and ((json["_type"] == "playlist") or (json["_type"] == "multi_video")) then -- a playlist if (#json.entries == 0) then -- cgit v1.2.3