diff options
author | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2015-06-07 10:13:29 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-06-07 23:53:13 +0200 |
commit | 69abb4819414a8f0a4e20812537112d72d9c04fb (patch) | |
tree | ab44a494fa0ccf223d643e735811db39c01c6907 /player | |
parent | 92b27bec45fc3c0c198fd9e4829d19ffd9a89697 (diff) |
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.
Diffstat (limited to 'player')
-rw-r--r-- | player/lua/ytdl_hook.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 |