Project

General

Profile

Bug #3321

Recording stopped when using "EPG Running Flag" and program is interrupted by adtvertising

Added by Manfred Kreisl about 9 years ago. Updated almost 9 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
General
Target version:
-
Start date:
2015-11-18
Due date:
% Done:

0%

Estimated time:
Found in version:
4.1-997~g197f454-dirty
Affected Versions:

Description

I'm testing the "EPG Running Flag" feature with TVH version 4.1-997~g197f454-dirty

Starting and stopping recording based on this flag is working very well if the program is not interrupted by an advertising on FTA HD channels in Germany (in DE pre-evening programs are usually interrupted by one ad and during this time the EPG running flag is not set)

But, if the program is interrupted by an ad, recording will be stopped and in the log I can find:

dvr: "Heiter bis tödlich - Hubert und Staller (62)" on "Das Erste HD": End of program: Completed OK

but in the Web-Interface this recording is marked as failed with status Time missed ans Errors=0 and Dataerrors=0

(Feature https://tvheadend.org/issues/3228 has been closed so I generated a new one)

History

#1

Updated by Mark Clarkstone about 9 years ago

Manfred Kreisl wrote:

I'm testing the "EPG Running Flag" feature with TVH version 4.1-997~g197f454-dirty

Starting and stopping recording based on this flag is working very well if the program is not interrupted by an advertising on FTA HD channels in Germany (in DE pre-evening programs are usually interrupted by one ad and during this time the EPG running flag is not set)

But, if the program is interrupted by an ad, recording will be stopped and in the log I can find:
[...]
but in the Web-Interface this recording is marked as failed with status Time missed ans Errors=0 and Dataerrors=0

(Feature https://tvheadend.org/issues/3228 has been closed so I generated a new one)

I wouldn't use the eitpf in this case, I'm actually quite surprised that any broadcaster would stop the flag when going to an ad break it's as if they don't want people to watch/record the adverts which generate them revenue :insane smiley here:. Only in Germany ;)

Perhaps perexg could add an option to ignore the flags between the programmes start and end. e.g.

Rec start                    Ad Break                      Rec end
7.50pm --------------------------------------------------- 8.30pm
     8pm                8.15pm      8.19pm                 8.30pm                
       Start flag       Stop flag - Start flag             Stop flag 
                                  ^
                                Ignore
#2

Updated by Manfred Kreisl about 9 years ago

Yes, that's what I would assume

I tested it some months ago with vdr, this prog does exactly this as far as I remember (stops recording when ad begings and continues recording when program will be continued). But it is uncomfortable to manage this flag in combination vdr <--> kodi, so I stopped testing and using it with vdr.

TVH makes this handling much better (configurable separately for each channel), but if TVH does not recognize such kind of ad's, it would be a nogo for me.

#3

Updated by B C about 9 years ago

Mark Clarkstone wrote:

I wouldn't use the eitpf in this case, I'm actually quite surprised that any broadcaster would stop the flag when going to an ad break it's as if they don't want people to watch/record the adverts which generate them revenue :insane smiley here:. Only in Germany ;)

I disagree, why should we dump information which is available? The flag is set to pausing in the case of an advertisement, so it should be quite easy to use it, I assume the current code just checks for running.

#4

Updated by Mark Clarkstone about 9 years ago

B C wrote:

Mark Clarkstone wrote:

I wouldn't use the eitpf in this case, I'm actually quite surprised that any broadcaster would stop the flag when going to an ad break it's as if they don't want people to watch/record the adverts which generate them revenue :insane smiley here:. Only in Germany ;)

I disagree, why should we dump information which is available? The flag is set to pausing in the case of an advertisement, so it should be quite easy to use it, I assume the current code just checks for running.

I've only ever seen the running state here in the UK - I've never seen a paused state, it's a shame we don't use it.

#5

Updated by Jaroslav Kysela about 9 years ago

Try v4.1-1042-ge06589a . Provide '--trace dvr' logs if it does not work. I believe that the broadcaster should set the 'pause' state in the DVB EIT table for the advertisement.

#6

Updated by Manfred Kreisl almost 9 years ago

Well done, Jaroslav

Tested with Skip commercials on and off, both works,

got this in the log:

Nov 23 19:17:12 kmcubie tvheadend[18844]: dvr: dvr entry 9e914c5c80c6c1eb7329cced8276fa46 event Großstadtrevier (352) on Das Erste HD - EPG pause
Nov 23 19:21:08 kmcubie tvheadend[18844]: dvr: dvr entry 9e914c5c80c6c1eb7329cced8276fa46 event Großstadtrevier (352) on Das Erste HD - EPG unpause

Thanks a lot

#7

Updated by Jaroslav Kysela almost 9 years ago

  • Status changed from New to Fixed

Great. Thanks for the test. Closing as fixed.

#8

Updated by Steve O almost 9 years ago

I am experiencing the described problem (recording stops on advertisement) in 4.1-1078~g1a73f71 when trying to record "Sportschau" on ARD HD in Germany. Do I need to enable the new function somewhere?

#9

Updated by Manfred Kreisl almost 9 years ago

Steve O wrote:

I am experiencing the described problem (recording stops on advertisement) in 4.1-1078~g1a73f71 when trying to record "Sportschau" on ARD HD in Germany. Do I need to enable the new function somewhere?

No, just enabling "Use EPG running state" in Configuration->Recording (for all channels) or enable "Use EPG running state" separately for each channel (what I prefer)

#10

Updated by Steve O almost 9 years ago

Thanks for your reply! The option is enabled and works well for other broadcasts - just Sportschau on Saturday 18:30 stops on the first advertisement.

Could you maybe try to reproduce it with your setup by attempting recording it tomorrow?

#11

Updated by Manfred Kreisl almost 9 years ago

Steve O wrote:

Could you maybe try to reproduce it with your setup by attempting recording it tomorrow?

I'll give it a try, but I stopped using TVH because of the non working timeshift feature

#12

Updated by Nihil Baxter almost 9 years ago

Steve O wrote:

I am experiencing the described problem (recording stops on advertisement) in 4.1-1078~g1a73f71 when trying to record "Sportschau" on ARD HD in Germany. Do I need to enable the new function somewhere?

I know the "Sportschau-Problem", but its the same on DVBviewer (which runs on my Windows machine. I had the problem that its interrupted at second commercial break and not started again, but first is not an issue with tvheadend. In EPG there is 18.00-18.30 3.Liga, then next is 18.30-19.57 1.Bundesliga. So there its not one show, there are 2 and you have to schedule both, but thats normal.

#13

Updated by Manfred Kreisl almost 9 years ago

Tested it today, recording of Sportschau from 18:30-19:57 works perfectly, no stop on first ad.

#14

Updated by Steve O almost 9 years ago

Thank you for the test - the latest broadcast also worked for me. Maybe I was somehow not properly updated to the current version.

#15

Updated by Manfred Kreisl almost 9 years ago

NP, but since beginning of this week a there is a new problem with the channel "Das Erste" (HD, cable) in Germany, other channels I tested are still ok
The "paused" flag will be send when starting a commercial and unfortunately after 3 seconds, the show is reported as "stopped". When the show continues, the "running" flag is set again.

A possible workaround for this stupid behavior is not finishing recording when the flag changed from "paused" to "stopped" (variable de->de_running_pause != 0).
I already did this for my local testversion and it works ok for me.

Also available in: Atom PDF