]> git.ipfire.org Git - thirdparty/tvheadend.git/commit
xmltv: Add option to save epgdb after xmltv import.
authorE.Smith <31170571+azlm8t@users.noreply.github.com>
Tue, 2 Oct 2018 13:50:03 +0000 (14:50 +0100)
committerperexg <perex@perex.cz>
Tue, 2 Oct 2018 16:39:02 +0000 (18:39 +0200)
commitd96fef9120557b7c33a56a8dfdcede48159c752e
treeb4140e7468fc30a03ff414ee45787c96d4de8421
parentb11a6eb662552fea829fcf6b28ecd82d53c278fd
xmltv: Add option to save epgdb after xmltv import.

The "periodic save database" means that for xmltv you can
import your daily listings, crash, restart, and not have xmltv
data since the periodic epgdb timer has not elapsed.

So, add an option so the user can save the database after the
import has completed, assuming changes occurred.

This save is delayed by a couple of minutes in case the user
is importing from several different xmltv guides, in which case
the save occurs after the last import.
src/epggrab.c
src/epggrab.h
src/epggrab/module.c