2025-09-20, 12:30 PM
If you use the pre-pad and post-pad options, then the times in the scheduler list aren't entirely accurate. The list shows the start and end time of the program, but the recording will actually run a bit longer due to the padding. It would be useful to have an option to show the amount of padding on the list, so you don't have to click on each entry if you want to see if it's got padding options. I went ahead and added this to my own installation, by modifying recordings-grid.js:
That patch makes the time portion of the upcoming recordings list look like this (when the schedule has 6 mins pre and 8 mins post): [REWIND] (6) 9/20/2025 8:30:00 AM - 9:00:00 AM (8)
Of course, it would be nicer if it were an option that could be turned on and off - something for a future release!
Code:
--- recordings-grid.js.bak 2025-09-20 08:19:08.974010622 -0400
+++ recordings-grid.js 2025-09-20 08:19:08.974010622 -0400
@@ -358,7 +358,16 @@
var startTime = new Date(recording.startTime * 1000);
var duration = recording.duration;
var endTime = new Date(startTime.getTime() + 1000 * duration);
- recording.period = startTime.toLocaleDateString() + ' ' + startTime.toLocaleTimeString() + ' - ' + endTime.toLocaleTimeString();
+ var prePad = '';
+ var postPad = '';
+ if (recording.prePadding != 0) {
+ prePad = '(' + recording.prePadding + ') ';
+ }
+ if (recording.postPadding != 0) {
+ postPad = ' (' + recording.postPadding + ')';
+ }
+ recording.period = prePad + startTime.toLocaleDateString() + ' ' + startTime.toLocaleTimeString() + ' - ' + endTime.toLocaleTimeString() + postPad;
+
recording.readableTime = startTime.toLocaleDateString() + ' ' + startTime.toLocaleTimeString();
if (recording.subtitle != "") {
That patch makes the time portion of the upcoming recordings list look like this (when the schedule has 6 mins pre and 8 mins post): [REWIND] (6) 9/20/2025 8:30:00 AM - 9:00:00 AM (8)
Of course, it would be nicer if it were an option that could be turned on and off - something for a future release!