butterkast
Okay i double checked if Extra Start Time and Extra Stop Time for Autorecs works as it should just to be 100% sure.
I edited a old disabled Autorec Entry i actually dont use and renabled it with Extra Start Time 10 Minutes and Extra Stop Time 30 Minutes. After i enabled it, it starts planning the Records and adds +10 Minutes before the EPG Start Time and adds +30 Minutes after EPG Ending Time for all found EPG Entrys, right as it should.
I didnt checked if it really will work as it has planned the Recordings but why shouldnt it when it just adds the Extra Time in the planning i have Setup for it. It overwrites my Global 5 Minutes Pre and 15 Minutes Post recording right as it should. The Records are planned for this Weekend on Saturday and i can give Feedback on this. But i am very sure and optimistic it will Record as its planned with the extra Time.
Then i double checked the "Use EPG running state" Configuration on my side in the two locations where it can be setup. First the Main Configuration for it under Configuration -> Recording -> Digital Video Recorder Profiles and then my Default Profile and "Use EPG running state" is unticked. The Second location is in the Channel List it self under Configuration -> Channel/EPG -> Channels and then for every Channel i have. The Option "Use EPG running state" is set to "Not Set" and not to Disabled or Enabled for every Channel in my List.
Having "Use EPG running state" setup this way in both Locations works 100% for me on a Bare Metal Machine, no VM or Container. I dont think that it should make a difference for you inside a Conatiner, since Global Pre and Post Recording works for you too, but it should be noticed.
The Help Section for "Use EPG running state" says exactly the following:
Use EPG running state : _Use EITp/f to decide event start/stop. This is also known as "Accurate Recording". See Help for details. :
EITp/f (Event Information Table present/following) is broadcast alongside EPG data, it allows broadcasters to tell DVRs/STBs when a program starts, pauses or finishes.
It is recommended that you only enable this option if you're absolutely sure the flags are sent correctly and on time. Incorrect EITp/f flags can result in failed/broken recordings. You can set this option per channel or per DVR profile, enabling/disabling per channel overrides the DVR profile setting.
Per Channel Option Description
Not set - Use DVR profile setting.
Enabled - Enable running state (EITp/f) detection.
Disabled - Don't use running state (EITp/f) detection._
So, that means if "Use EPG running state" is Enabled or Disabled in the Channel List it will override what ever is setup in the DVR Profile. Since i have it setup to "Not Set" on all my Channels it will use the Setting in my DVR Profile where "Use EPG running state" is unticked, so its Disabled.
Because the Global Setup of Pre and Post Recording seems to Work for you the Problem "may" lays somewhere else. Maybe it really is a "Container/VM" thing, but then i would expect other Problems as well.
One last Idea i have is that you may check, just check, the File and Folder Permissions for the TVH Configuration Directory. It should be under /var/lib/tvheadend and all the Folders should be User and Group hts:video and have the permissions 0700. The Files inside the Folders it self should also be User and Group hts:video also but have the permissions 0600.
Just check it to be safe, dont start messing around if you dont know what you are doing 😉
And if you change things the Hard Way outside of the TVH Frontend, make a Backup to be safe to roll back if things go wrong.