diff options
Diffstat (limited to 'player')
-rw-r--r-- | player/lua/ytdl_hook.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/player/lua/ytdl_hook.lua b/player/lua/ytdl_hook.lua index f40a1146e9..be34ec7d6c 100644 --- a/player/lua/ytdl_hook.lua +++ b/player/lua/ytdl_hook.lua @@ -9,7 +9,6 @@ local o = { all_formats = false, force_all_formats = true, } -options.read_options(o) local ytdl = { path = "youtube-dl", @@ -17,6 +16,10 @@ local ytdl = { blacklisted = {} } +options.read_options(o, nil, function() + ytdl.blacklisted = {} -- reparse o.exclude next time +end) + local chapter_list = {} function Set (t) |