From: malex_14 <39774812+Malex14@users.noreply.github.com> Date: Mon, 3 Jun 2024 13:21:58 +0000 (+0200) Subject: dvr: Added missing directory to rerecord-entry X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=6c5c8eae494943b7749b3fc9ee58a30ab1983bf4;p=thirdparty%2Ftvheadend.git dvr: Added missing directory to rerecord-entry Previously if you had a directory set on a recording and this recording needed to be rerecorded, the directory was not kept in the new entry. --- diff --git a/src/dvr/dvr_db.c b/src/dvr/dvr_db.c index a95da04e1..5a625d329 100644 --- a/src/dvr/dvr_db.c +++ b/src/dvr/dvr_db.c @@ -1480,6 +1480,7 @@ not_so_good: htsmsg_add_str2(conf, "owner", de->de_owner); htsmsg_add_str2(conf, "creator", de->de_creator); htsmsg_add_str(conf, "comment", buf); + htsmsg_add_str(conf, "directory", de->de_directory); de2 = dvr_entry_create_from_htsmsg(conf, e); htsmsg_destroy(conf);