Resuming recording after news break
Added by keV K almost 4 years ago
Hi,
I've set up various "Auto records" with names of people I like to watch.
In general, this works well and auto schedules the recordings. I have noticed though that if there is a news break in the middle of a film, Tvheadend only records the first 'part' of the film and not the part after the break. Is there a setting or anything I have missed to get around this? Or is there any logic that can say something like "if a program with the same name exists up to 15 minutes after the end time, record that too?".
One example coming up today (in the UK) is King Kong on ITV2. It starts at 17:25 until 18:25. Between 18:25 and 18:30 is "FYI Daily" and then at 18:30 until 21:00 is King Kong again, but only the first hour seems to get recorded.
I'm running Tvheadend on a Pi 4 with version 4.3-1919~g52b255940 (2020-12-22T13:00:52+0000).
Cheers
Replies (9)
RE: Resuming recording after news break - Added by Dave H almost 4 years ago
Don't know. The only think I can think of to check is the 'Duplicate Handling' advanced setting in the Autorec.
RE: Resuming recording after news break - Added by keV K almost 4 years ago
Dave H wrote:
Don't know. The only think I can think of to check is the 'Duplicate Handling' advanced setting in the Autorec.
Thanks for the info.
Is there any override that that continue recording if the same program occurs within x minutes of the last program as this would be useful for movies with a (stupid) news break in the middle.
RE: Resuming recording after news break - Added by Dave Pickles almost 4 years ago
This is supposed to work, though I've never tried using it.
In the DVB specifications these split programmes are called 'segmented events' and are identified by the format of their CRIDs in the EPG. This change request from 2017 should enable Tvheadend to deal with them - https://tvheadend.org/projects/tvheadend/repository/tvheadend/revisions/409524e965b530debc96b0fd35ae97796a8ec00c - and there have been several updates since.
Have you checked that the recording really does contain only the first part of the programme? There is a comment in the change request that the user interface will only show the first part as scheduled but in fact the entire programme plus the break will be recorded.
It is possible that the channel provider isn't following the specifications of course. Do you have an example of a future programme you intend to record?
RE: Resuming recording after news break - Added by keV K almost 4 years ago
Thanks for the reply.
I'll keep an eye out and post some examples if I see it occur.
It hasn't properly worked in the past as the length of the program was only 1 hour etc instead of the full length, but I'll wait for an auto recording that I'm happy to potentially not fully record and post back.
RE: Resuming recording after news break - Added by Dave Pickles almost 4 years ago
On my Freeview+Freesat system I've scheduled a recording for "Logan Lucky" this evening on ITV4. Here is the Tvheadend log entry:
{ "enabled": true, "create": 1610013015, "watched": 0, "start": 1610062800, "start_extra": 0, "stop": 1610066400, "stop_extra": 0, "channel": "5358a2a16e68bdc8e025dc0cd551738f", "channelname": "ITV4", "title": { "eng": "Logan Lucky" }, "description": { "eng": "Crime caper starring Channing Tatum and Adam Driver, 2017. Two brothers attempt to pull off an ambitious money heist during a NASCAR race in North Carolina. [S]" }, "pri": 6, "retention": 0, "removal": 0, "playposition": 0, "playcount": 0, "config_name": "4e3a1e13acd2d5a9c129e7b00f6c986e", "creator": "192.168.1.24", "errorcode": 0, "errors": 0, "data_errors": 0, "dvb_eid": 34669, "noresched": false, "norerecord": false, "fileremoved": 0, "uri": "crid://www.itv.com/1001772953#1", "autorec": "", "timerec": "", "parent": "", "child": "", "content_type": 1, "copyright_year": 0, "broadcast": 1028159 }
The "uri" field ends in "#1" which means that this is the first part of a segmented recording. What should happen is that, when the recording starts, Tvheadend recalculates the end time of the recording and includes the second part plus the interval between in its calculation. Why it's done that way instead of at the time the recording is scheduled I don't know. We'll see what happens.
I forgot to ask; how are you scheduling your recordings and where are you getting the EPG from?
RE: Resuming recording after news break - Added by Dave H almost 4 years ago
The "uri" field ends in "#1" which means that this is the first part of a segmented recording. What should happen is that, when the recording starts, Tvheadend recalculates the end time of the recording and includes the second part plus the interval between in its calculation. Why it's done that way instead of at the time the recording is scheduled I don't know.
Hmm, earlier I tried setting a recording for 'The Island' on 5 Star this evening. It behaved as previously described. The EPG showed only the first part will be recorded; The Upcoming Recordings showed the stop time had been adjusted to include the whole film. So it seemed to work as described for me. TVH 4.2.6 - maybe it's a version thing? I've since deleted the timer since I've alreeady seen the film.
Edit: Oh the other difference is my system is Freeview only.
RE: Resuming recording after news break - Added by Dave Pickles almost 4 years ago
My recording completed successfully, the start/stop times and duration were listed correctly in the UI and it plays through the interval and on to the end.
My Tvheadend is almost up-to-date, 4.3.1891.
What doesn't work is that the interval programme and second part of the film are not listed as to be recorded in the UI, and the API reports the wrong stop time and duration for the recording. There is a comment in the original PR that this is expected behaviour.
Do you use EIT-based start/stop ("Use EPG Running State" in Configuration -> Recording)? I don't use it and I'm not sure whether is is supposed to work with segmented recordings.
RE: Resuming recording after news break - Added by Ron L almost 4 years ago
For EPG running state to work the broadcaster has to send accurate time changes with the EPG data more or less in real time. For live events that run late the DVR can receive the adjusted end time and not stop recording.
RE: Resuming recording after news break - Added by Dave Pickles almost 4 years ago
I've now tried 4 'split' recordings, and for all of them the entire programme including the interval was recorded correctly.
However in one case the stop time and duration listed in the UI only covered the first part of the recording. This recording took place in the early morning, and the scheduled EPG Grabber ran during the second half. I wonder if the EPG update overwrote the recording information?