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.
This commit is contained in:
Jaime Marquínez Ferrándiz 2015-06-07 10:13:29 +02:00 committed by wm4
parent 92b27bec45
commit 69abb48194
1 changed files with 1 additions and 1 deletions

View File

@ -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