Skip to content

Commit

Permalink
dvr: Added missing directory to rerecord-entry
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Malex14 authored and Flole998 committed Jun 6, 2024
1 parent 3ac1847 commit 6c5c8ea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/dvr/dvr_db.c
Original file line number Diff line number Diff line change
Expand Up @@ -1480,6 +1480,7 @@ dvr_entry_rerecord(dvr_entry_t *de)
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);

Expand Down

0 comments on commit 6c5c8ea

Please sign in to comment.