]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
dvr: Added missing directory to rerecord-entry
authormalex_14 <39774812+Malex14@users.noreply.github.com>
Mon, 3 Jun 2024 13:21:58 +0000 (15:21 +0200)
committerFlole <Flole998@users.noreply.github.com>
Thu, 6 Jun 2024 06:16:39 +0000 (08:16 +0200)
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.

src/dvr/dvr_db.c

index a95da04e1e8c32ee974508bc1cea4512a866a700..5a625d32915a911896e2aa1d88ad2efd6bf1bddc 100644 (file)
@@ -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);