Commit 2c91462d authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

VLSub: Automatically select downloaded subtitle tracks

(cherry picked from commit fa66e73d)
Signed-off-by: default avatarHugo Beauzée-Luyssen <>
parent ca482f47
......@@ -1792,7 +1792,7 @@ end
function add_sub(subMrl)
if vlc.item or vlc.input.item() then
vlc.msg.dbg("[VLsub] Adding subtitle :" .. subMrl)
return vlc.input.add_subtitle_mrl(subMrl)
return vlc.input.add_subtitle_mrl(subMrl, true)
return false
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment