Cleanup more possible noises - annna - Annna the nice friendly bot. | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit a9be5c4af37ba730a5ab0dbae76c4898dcb00935 | |
parent db15fb223f4ecc57d6577245f54a976816d9c8c5 | |
Author: Leonardo Taccari <[email protected]> | |
Date: Thu, 4 Jun 2020 21:57:57 +0200 | |
Cleanup more possible noises | |
(In some subtitles position can be different then 0%) | |
Signed-off-by: Annna Robert-Houdin <[email protected]> | |
Diffstat: | |
M ytautosubcleaner.awk | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/ytautosubcleaner.awk b/ytautosubcleaner.awk | |
@@ -7,7 +7,7 @@ | |
# | |
/^[0-9]+:[0-9]+:[0-9]+\.[0-9]+ -->/ { | |
- sub(/ align:start position:0%$/, "") | |
+ sub(/ align:start.*$/, "") | |
if (caption && split(caption, lines, "\n") > 2) { | |
print caption |