From: E.Smith <31170571+azlm8t@users.noreply.github.com> Date: Thu, 21 Sep 2017 00:30:55 +0000 (+0100) Subject: eit: Add extra eit episode scrape configurations (#4592) X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ae18f5f67b8798f34d2bea4010ac190c384717af;p=thirdparty%2Ftvheadend.git eit: Add extra eit episode scrape configurations (#4592) We include the regex from the opentv configuration for scraping episode informationfor Italy, Australia and New Zealand with minor changes to allow parsing by the Python test harness. Also added additional Italian regex from the bug report. Issue: #4592 --- diff --git a/data/conf/epggrab/eit/scrape/au b/data/conf/epggrab/eit/scrape/au new file mode 100644 index 000000000..1519ab9fc --- /dev/null +++ b/data/conf/epggrab/eit/scrape/au @@ -0,0 +1,13 @@ +{ + "season_num": [ + " *\\(S ?([0-9]+),? Ep? ?[0-9]+\\)" + ], + "episode_num": [ + " *\\(S ?[0-9]+,? Ep? ?([0-9]+)\\)" + ], + "airdate": [ + "\\(([0-9][0-9][0-9][0-9])\\)" + ], + "scrape_subtitle": [ + ] +} diff --git a/data/conf/epggrab/eit/scrape/it b/data/conf/epggrab/eit/scrape/it new file mode 100644 index 000000000..b28a0c1da --- /dev/null +++ b/data/conf/epggrab/eit/scrape/it @@ -0,0 +1,25 @@ +{ + "season_num": [ + "\\[?St\\.([0-9]+)\\]?", + "([0-9]+)'?a? Stagione +Ep[.] ?[0-9]+[a-z]?", + "([0-9]+)'?a? Stagione -? ?Puntata ?[0-9]+", + "([0-9]+)'?a? Stagione" + ], + "episode_num": [ + " ?[Ee]p\\.? ?([0-9]+)", + "[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]+) -" + ], + "airdate": [ + "\\(([0-9][0-9][0-9][0-9])\\)" + ], + "scrape_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 -? ?Puntata ?[0-9]+[A-Za-z]? \"\" *([^\"]+) *\"\"" + ] +} diff --git a/data/conf/epggrab/eit/scrape/nz b/data/conf/epggrab/eit/scrape/nz new file mode 100644 index 000000000..1519ab9fc --- /dev/null +++ b/data/conf/epggrab/eit/scrape/nz @@ -0,0 +1,13 @@ +{ + "season_num": [ + " *\\(S ?([0-9]+),? Ep? ?[0-9]+\\)" + ], + "episode_num": [ + " *\\(S ?[0-9]+,? Ep? ?([0-9]+)\\)" + ], + "airdate": [ + "\\(([0-9][0-9][0-9][0-9])\\)" + ], + "scrape_subtitle": [ + ] +}