]> git.ipfire.org Git - thirdparty/tvheadend.git/commit
dvr: Fake create timestamp for old dvr entries.
authorE.Smith <31170571+azlm8t@users.noreply.github.com>
Fri, 21 Sep 2018 17:23:31 +0000 (18:23 +0100)
committerperexg <perex@perex.cz>
Wed, 26 Sep 2018 15:30:47 +0000 (17:30 +0200)
commitda2e49c9c78ca355eaa2531f104083ef4b37d8c7
tree71f66b361bff6a354646e1cb738375862e849741
parentd4eed46988fb398995543f80efbc9dce9d392329
dvr: Fake create timestamp for old dvr entries.

Old dvr_entry records (tvh4.2) do not have a create timestamp, so we
fake one based on the start time of the recording. This will allow
us to send the timestamp to the UI in the future knowing that it
will give consistent results for user sorting since it may be
useful for user to sort upcoming recordings by when they were
created (i.e., scheduled).
src/dvr/dvr_db.c