From 26dfe6fec6ea9091704cf7c6e07832a1315db876 Mon Sep 17 00:00:00 2001 From: Scott Theisen Date: Sat, 24 Sep 2022 22:04:59 -0400 Subject: [PATCH] Manual Recordings: restore date time subtitle Apparently removed in 5f6697ecfaf9bd7175aaf99b3ef07f884d5af65c --- mythtv/programs/mythbackend/scheduler.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mythtv/programs/mythbackend/scheduler.cpp b/mythtv/programs/mythbackend/scheduler.cpp index 9a1195da420..5d8a529dfcc 100644 --- a/mythtv/programs/mythbackend/scheduler.cpp +++ b/mythtv/programs/mythbackend/scheduler.cpp @@ -3789,7 +3789,9 @@ void Scheduler::UpdateManuals(uint recordid) query.bindValue(":STARTTIME", startdt); query.bindValue(":ENDTIME", startdt.addSecs(duration)); query.bindValue(":TITLE", title); - query.bindValue(":SUBTITLE", subtitle); + query.bindValue(":SUBTITLE", + !subtitle.isEmpty() ? subtitle : + MythDate::toString(startdt, MythDate::kDatabase | MythDate::kOverrideLocal)); query.bindValue(":DESCRIPTION", description); query.bindValue(":SEASON", season); query.bindValue(":EPISODE", episode);