From 0e2d8cd6f687004c4a53ec66b14992e2e0fea76c Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Kempf Date: Tue, 2 Dec 2014 17:43:28 +0100 Subject: [PATCH] VLSub: minor fixes --- share/lua/extensions/VLSub.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/lua/extensions/VLSub.lua b/share/lua/extensions/VLSub.lua index 213e34df9b..33bdfea892 100644 --- a/share/lua/extensions/VLSub.lua +++ b/share/lua/extensions/VLSub.lua @@ -1668,7 +1668,7 @@ function download_subtitles() local item = openSub.itemStore[index] if openSub.option.downloadBehaviour == 'manual' - or not subfileName then + or not openSub.file.hasInput then local link = "" link = link..""..lang["mess_dowload_link"]..":" link = link.."  " @@ -1681,7 +1681,7 @@ function download_subtitles() end local message = "" - local subfileName = openSub.file.name + local subfileName = openSub.file.name or "" if openSub.option.langExt then subfileName = subfileName.."."..item.SubLanguageID -- 2.39.2