From: anthonytex Date: Fri, 29 Sep 2017 10:04:07 +0000 (+0200) Subject: opentv: opentv provider skyIT support new formats X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=df4d9e0f6e7a66c527d0c08d5d56ca93998daf1f;p=thirdparty%2Ftvheadend.git opentv: opentv provider skyIT support new formats Recently start to appear new description format so new regex are needed to correctly scarpe Episode/Season number and subtitle. --- diff --git a/data/conf/epggrab/opentv/prov/skyit b/data/conf/epggrab/opentv/prov/skyit index cd4b3a4cd..0c61807b9 100644 --- a/data/conf/epggrab/opentv/prov/skyit +++ b/data/conf/epggrab/opentv/prov/skyit @@ -18,14 +18,17 @@ "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.." ] }