Skip to content

Commit 6c5c8ea

Browse files
Malex14Flole998
authored andcommitted
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.
1 parent 3ac1847 commit 6c5c8ea

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/dvr/dvr_db.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1480,6 +1480,7 @@ dvr_entry_rerecord(dvr_entry_t *de)
14801480
htsmsg_add_str2(conf, "owner", de->de_owner);
14811481
htsmsg_add_str2(conf, "creator", de->de_creator);
14821482
htsmsg_add_str(conf, "comment", buf);
1483+
htsmsg_add_str(conf, "directory", de->de_directory);
14831484
de2 = dvr_entry_create_from_htsmsg(conf, e);
14841485
htsmsg_destroy(conf);
14851486

0 commit comments

Comments
 (0)