]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
opentv: opentv provider skyIT support new formats
authoranthonytex <anthonytexdev@gmail.com>
Fri, 29 Sep 2017 10:04:07 +0000 (12:04 +0200)
committerJaroslav Kysela <perex@perex.cz>
Fri, 29 Sep 2017 11:52:52 +0000 (13:52 +0200)
Recently start to appear new description format so new regex are needed to correctly scarpe Episode/Season number and subtitle.

data/conf/epggrab/opentv/prov/skyit

index cd4b3a4cd9aa53897368952a2b70325be2d564d6..0c61807b93a9da45020e6def07a664a787c95e17 100644 (file)
   "season_num": [
     "([0-9]+)'?a? Stagione +Ep\\. ?[0-9]+[a-z]?",
     "([0-9]+)'?a? Stagione -? ?Puntata ?[0-9]+",
-    "([0-9]+)'?a? Stagione"
+    "([0-9]+)'?a? Stagione",
+    "S([0-9]+) Ep[0-9]+"
   ],
   "episode_num": [
     "[0-9]+'?a? Stagione +Ep\\. ?([0-9]+)[a-z]?",
     "[0-9]+'?a? Stagione -? ?Puntata ?([0-9]+)",
     "^ *Ep\\. ?([0-9]+)[a-z]?",
     "^ *Puntata ?([0-9]+)",
-    " Ep\\. ?([0-9]+) -"
+    " Ep\\. ?([0-9]+) -",
+    "S[0-9]+ Ep([0-9]+)",
+    "Ep([0-9]+) ?- ?"
   ],
   "part_num": [
     "[0-9]+'?a? Stagione +Ep\\. ?[0-9]+([a-z]?)",
@@ -35,7 +38,8 @@
     "[0-9]+'?a? Stagione +Ep\\. ?[0-9]+[A-Za-z]? -? ?'(([^']*(' [^A-Z0-9-])?('[^ '])?)+)'",
     "Ep\\. ?[0-9]+[A-Za-z]? -? ?'(([^']*(' [^A-Z0-9-])?('[^ '])?)+)'",
     "[0-9]+'?a? Stagione -? ?'(([^']*(' [^A-Z0-9-])?('[^ '])?)+)'",
-    "[0-9]+'?a? Stagione -? ?Puntata ?[0-9]+[A-Za-z]? \"\" *([^\"]+) *\"\""
+    "[0-9]+'?a? Stagione -? ?Puntata ?[0-9]+[A-Za-z]? \"\" *([^\"]+) *\"\"",
+    "S[0-9]+ Ep[0-9]+ ?(.*) - ?"
   ],
   "cleanup_title": [
     "^ *(.*) *- *1\\^TV *$",
@@ -54,6 +58,8 @@
     "Puntata 5 ...",
     "Ep.4 - 'Title' ...",
     "7 Stagione Puntata 8 \"\" Title \"\" ...",
-    "In diretta, Ep.1 - Prossimo Ep. Gio 29 OTT 21:10. ..."
+    "In diretta, Ep.1 - Prossimo Ep. Gio 29 OTT 21:10. ...",
+    "S2 Ep5 Conseguenze - Un uomo",
+    "Ep80 - Vari personaggi.."
   ]
 }