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 <hugo@beauzee.fr>
parent ca482f47
...@@ -1792,7 +1792,7 @@ end ...@@ -1792,7 +1792,7 @@ end
function add_sub(subMrl) function add_sub(subMrl)
if vlc.item or vlc.input.item() then if vlc.item or vlc.input.item() then
vlc.msg.dbg("[VLsub] Adding subtitle :" .. subMrl) vlc.msg.dbg("[VLsub] Adding subtitle :" .. subMrl)
return vlc.input.add_subtitle_mrl(subMrl) return vlc.input.add_subtitle_mrl(subMrl, true)
end end
return false return false
end end
......
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