Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
added some reference examples for sky-it patterns
they could be useful in the future...
  • Loading branch information
mario-tux authored and perexg committed Sep 15, 2014
1 parent d5f9648 commit b39da3a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/epggrab/module/opentv.c
Expand Up @@ -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 */
Expand Down

0 comments on commit b39da3a

Please sign in to comment.