]> git.ipfire.org Git - thirdparty/tvheadend.git/commit
eit: Scrape sub-title from summary in OTA EIT. (#4578).
authorE.Smith <31170571+azlm8t@users.noreply.github.com>
Mon, 4 Sep 2017 22:42:56 +0000 (23:42 +0100)
committerJaroslav Kysela <perex@perex.cz>
Sat, 16 Sep 2017 11:55:45 +0000 (13:55 +0200)
commitb0ba8e373da45ab9721e447ca8f093eb6d4164bc
tree9eeb9358ab807df1b824c7d0d75c91377c73026a
parent1ea46631f1e34a69a51ea4f49b20b461792b095f
eit: Scrape sub-title from summary in OTA EIT. (#4578).

The Freeview/Freesat frequently have a subtitle as part of the
summary. So we have "Treehouse of Horror IX: Three scary stories."
from which we can deduce the subtitle as "Treehouse of Horror IX".

Other variants are "...title_continuation. Subtitle" (so the real
title of the program is split in to the summary), and
"x/y. Subtitle" where x/y is the episode number.

So allow scraping of this and use it as the subtitle. If we cannot
scrape a subtitle then we continue the existing practice of using
the summary buffer for the subtitle.

The subtitle is currently NOT removed from the summary.

Issue: #4578
data/conf/epggrab/eit/scrape/uk
src/epggrab/module/eit.c