Cleanup more possible noises - annna - Annna the nice friendly bot.
HTML git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/
DIR Log
DIR Files
DIR Refs
DIR Tags
DIR README
---
DIR commit a9be5c4af37ba730a5ab0dbae76c4898dcb00935
DIR parent db15fb223f4ecc57d6577245f54a976816d9c8c5
HTML Author: Leonardo Taccari <iamleot@gmail.com>
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 <annna@bitreich.org>
Diffstat:
M ytautosubcleaner.awk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR 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