]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
eit: Fix scrape subtitle regex to be compatible with Python test harness. (#4578)
authorE.Smith <31170571+azlm8t@users.noreply.github.com>
Sat, 9 Sep 2017 16:47:46 +0000 (17:47 +0100)
committerJaroslav Kysela <perex@perex.cz>
Sat, 16 Sep 2017 11:55:45 +0000 (13:55 +0200)
Python complained about the subtitle regex whereas they
worked fine in perl and Tvh. So fix them to work in
all three.

Issue: #4578.

data/conf/epggrab/eit/scrape/uk

index 7329db98f25fef263650f1b32ea291ac3f2ec659..67e729bcf00d3a17b9b453777374f4376f8d4aa3 100644 (file)
@@ -18,8 +18,8 @@
     "\\(([0-9][0-9][0-9][0-9])\\)"
   ],
   "scrape_subtitle": [
-      "^\\.\\.\\.[^:.]*\\[.:] ([^.0-9][^:]*): ",
-      "^[0-9]+/[0-9]+[.] ?+([^:]*): ",
+      "^[.][.][.][^:.]*[.:] ([^.0-9][^:]*): ",
+      "^[0-9]+/[0-9]+[.] +([^:]*): ",
       "^([^.0-9][^:]+): "
   ]
 }