From: Jaroslav Kysela Date: Fri, 13 May 2016 07:37:09 +0000 (+0200) Subject: DVR: handle correctly the stop time updates when DVR is active for given entry, fixes... X-Git-Tag: v4.2.1~511 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=115e1e04b0d2a8dc2e0ad9d4e3066332da4b6749;p=thirdparty%2Ftvheadend.git DVR: handle correctly the stop time updates when DVR is active for given entry, fixes #3795 --- diff --git a/src/dvr/dvr_db.c b/src/dvr/dvr_db.c index 12aa9530c..b5268643d 100644 --- a/src/dvr/dvr_db.c +++ b/src/dvr/dvr_db.c @@ -1512,6 +1512,10 @@ static dvr_entry_t *_dvr_entry_update de->de_stop_extra = stop_extra; save |= DVR_UPDATED_STOP_EXTRA; } + if (save & (DVR_UPDATED_STOP|DVR_UPDATED_STOP_EXTRA)) { + updated = 1; + dvr_entry_set_timer(de); + } goto dosave; }