Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#12647 closed Bug Report - General (fixed)

False "This program will not be recorded"

Reported by: hersch@… Owned by: gigem
Priority: minor Milestone: 0.28
Component: MythTV - Scheduling Version: 0.28-beta
Severity: medium Keywords: Scheduling Recording
Cc: Ticket locked: no


In mythfrontend: Manage recordings --> recording rules --> {programs} --> schedule info --> upcoming recordings = all episodes are greyed out and entering any one of them, it says "This program is not scheduled to record"

However, in manage recordings --> upcoming recordings = the show IS LISTED to record. Also mythweb reports that it will record.

re: {programs} - this doesnt happen with all programs. it seems to happen on programs that are news-related e.g. 20/20, 60 minutes, BBC World News America. but not all. e.g. NBC Nightly news does not have this problem.

additional note: The recording rules are shown in light blue text in the recording rule text - not yellow - which indicates that it has scheduled programs to record

Please let me know what else i can provide.

MythTV Version : v0.28-pre-3551-gb464952-dirty MythTV Branch : makepkg Network Protocol : 88 Library API : 0.28.20160113-1 QT Version : 5.5.1 Options compiled in:

linux debug use_hidesyms using_alsa using_oss using_pulse using_pulseoutput using_backend using_bindings_perl using_bindings_python using_bindings_php using_dvb using_firewire using_frontend using_hdhomerun using_vbox using_ceton using_hdpvr using_ivtv using_joystick_menu using_libcec using_libcrypto using_libdns_sd using_libfftw3 using_libxml2 using_lirc using_mheg using_opengl using_opengl_video using_qtwebkit using_qtscript using_qtdbus using_sdl using_taglib using_v4l2 using_x11 using_xrandr using_xv using_debugtype using_systemd_notify using_bindings_perl using_bindings_python using_bindings_php using_freetype2 using_mythtranscode using_opengl using_vaapi using_vdpau using_openmax using_ffmpeg_threads using_mheg using_libass using_libxml2

PATCH USED ON MASTER: (so that the commercial flagger runs)

diff --git a/mythtv/libs/libmythtv/tv_rec.cpp b/mythtv/libs/libmythtv/tv_rec.cpp index 7440f03..07f83a9 100644 --- a/mythtv/libs/libmythtv/tv_rec.cpp +++ b/mythtv/libs/libmythtv/tv_rec.cpp @@ -931,13 +931,9 @@ void TVRec::FinishedRecording?(RecordingInfo? *curRec, RecordingQuality? *recq)



  • HACK Temporary hack, ensure we've loaded the recording file info, do it now
  • so that it contains the final filesize information
  • if (!curRec->GetRecordingFile?())
  • curRec->LoadRecordingFile?();


Generate a preview uint64_t fsize = curRec->GetFilesize?();

+ LOG(VB_GENERAL, LOG_INFO, QString("#12290 test. fsize=%1.").arg(fsize));

if (curRec->IsLocal?() && (fsize >= 1000) &&

(curRec->GetRecordingStatus?() == RecStatus::Recorded))


@@ -1156,6 +1152,7 @@ void TVRec::TeardownRecorder?(uint request_flags)

if (!!(request_flags & kFlagKillRec))


+ curRecording->SaveFilesize?(ringBuffer->GetRealFileSize?());

FinishedRecording?(curRecording, recq);

curRecording->MarkAsInUse?(false, kRecorderInUseID);

Change History (7)

comment:1 Changed 6 years ago by hersch@…

Note the patch referenced in the ticket is from ticket #12290 .

comment:2 Changed 6 years ago by gigem

Status: newinfoneeded_new

This works as expected for me. Please provide more details about the recording rule and screen shots to show what you are seeing and why you think it is wrong.

comment:3 Changed 6 years ago by greg hersch <hersch@…>

Sure. here are screenshots

  1. here is the 60min recording rule.

2 and 3. here are the filters - nothing notable. everything appears as if this program should be being recorded, unless there is some duplicate (if i turn off matching, this behavior i will describe isn't altered)

  1. here are the upcoming episodes - note that the 2/14 60 minutes is in grey text like it wont be recorded. why?
  1. indeed, hitting enter on it shows it 'will not be recorded' again, why?
  1. the program details (hitting 'i') confirm this
  1. but now i go into scheduled recordings. beyond - the episode on 2/14 at 7pm is in fact in the recording schedule (like it should be!)
  1. now hitting 'i' for more info shows a nice screen to compare against screenshot 6 - all of the same information, but this time is says it will be recorded. what is going on here? (note that mythweb also says this show will be recorded - so my guess is that it is actually going to be recorded)

I dont know how to embed pictures - so here is a link to the screenshots in dropbox

comment:4 Changed 6 years ago by greg hersch <hersch@…>

And one other note - for 8 of 10 programs, this doesn't happen. everything works fine. i tried to repair my DB to see if that was the problem, but not change.

comment:5 Changed 6 years ago by greg hersch <hersch@…>

Can we please modify the status of this ticket away from infoneeded? Unless you really are looking for more information still?

comment:6 Changed 6 years ago by David Engel <dengel@…>

Resolution: fixed
Status: infoneeded_newclosed

In 82c1b9d9075d5d22dabd398f87efb626c770f64b/mythtv:

Fix PI::IsSameProgramAndStartTime?().

It erroneoulsy returned false for the same time/channel case when the
episode was generic.

Fixes #12647

comment:7 Changed 6 years ago by gigem

Milestone: unknown0.28

For future reference, you should choose the "provide info" option when you provide the info.

Note: See TracTickets for help on using tickets.