From c424b5822a4752f0422cc60e828b1b5147a060f4 Mon Sep 17 00:00:00 2001 From: Mario Di Raimondo Date: Fri, 19 Sep 2014 20:49:54 +0200 Subject: [PATCH] inserted as fake elements some reference strings for the patterns in the sky-it configuration file they could be useful in the future in order to reconstruct the logic behind the patterns --- data/conf/epggrab/opentv/prov/skyit | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/data/conf/epggrab/opentv/prov/skyit b/data/conf/epggrab/opentv/prov/skyit index a71c39ac..69be1a45 100644 --- a/data/conf/epggrab/opentv/prov/skyit +++ b/data/conf/epggrab/opentv/prov/skyit @@ -29,9 +29,18 @@ "^ *Ep\\. ?[0-9]+([a-z]?)" ], "subtitle": [ - "[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 +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]? \"\" *([^\"]+) *\"\"" + ], + "__reference": [ + "4' Stagione Ep.9B - 'L'Hub' Gli agenti ...: sara' Ward ...", + "3a Stagione - Puntata 1 ...", + "4' Stagione - 'Title' ...", + "Ep.9A ...", + "Puntata 5 ...", + "Ep.4 - 'Title' ...", + '7 Stagione Puntata 8 "" Title "" ...' ] }