From b39da3a8c5d71070275fb63942e57ab6553803c8 Mon Sep 17 00:00:00 2001 From: Mario Di Raimondo Date: Sun, 14 Sep 2014 21:09:57 +0200 Subject: [PATCH] added some reference examples for sky-it patterns they could be useful in the future... --- src/epggrab/module/opentv.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/epggrab/module/opentv.c b/src/epggrab/module/opentv.c index 1d4e8562..33b9ad0e 100644 --- a/src/epggrab/module/opentv.c +++ b/src/epggrab/module/opentv.c @@ -165,14 +165,14 @@ static epggrab_channel_t *_opentv_find_epggrab_channel /* Patterns for the extraction of season/episode numbers from summary of events*/ static const char *_opentv_se_num_patterns[] = { " *\\(S ?([0-9]+),? Ep? ?([0-9]+)\\)", /* for ??? */ - " *([0-9]+)'? Stagione +Ep\\. ?([0-9]+) ?-", /* for Sky IT */ - " *([0-9]+)'? Stagione() ?-", /* for Sky IT */ - "() *Ep\\. ?([0-9]+) ?-" }; /* for Sky IT */ + " *([0-9]+)'? Stagione +Ep\\. ?([0-9]+) ?-", /* for Sky IT, ex.: 4' Stagione Ep.9 - ... */ + " *([0-9]+)'? Stagione() ?-", /* for Sky IT, ex.: 4' Stagione - ... */ + "() *Ep\\. ?([0-9]+) ?-" }; /* for Sky IT, ex.: Ep.9 - ... */ static regex_t *_opentv_se_num_pregs; /* Patterns for the extraction of subtitles from summary of events*/ static const char *_opentv_subtitle_patterns[] = { - "^[^-]+- '(([^']*(' [^A-Z0-9])?('[^ ])?)+)' " }; /* for Sky IT */ + "^[^-]+- '(([^']*(' [^A-Z0-9])?('[^ ])?)+)' " }; /* for Sky IT, ex.: 1' Stagione Ep.7 - 'L'Hub' Gli agenti ...: sara' Ward ... */ static regex_t *_opentv_subtitle_pregs; /* Parse huffman encoded string */