Skip to content

Cannot skip commercials while recording in progress #119

@faginbagin

Description

@faginbagin

If you have enabled a couple of settings in the MythTV Backend web application, mythfrontend supports commercial skipping while one is watching a recording in progress. Leanfront does not. It would be great if leanfront supported this mythfrontend feature.

The settings that must be enabled in the backend web app are:
Backend Setup (MythTV Setup) -> General (General Backend Settings)
-> Job Queue (Backend-Specific) -> Allow Commercial Detection Jobs
-> Job Queue (Global) -> Start Auto Commercial Detection Jobs when the Recording Starts

I know a little bit about mythcommflag because many years ago, I made some improvements that made it into the main stream software base. If the above options are enabled, a mythcommflag instance will be started when a recording starts. The number of instances are, I believe, limited by the "Maximum Simultaneous Jobs on this Backend" setting under "Job Queue (Backend-Specific)". Mythcommflag will wait about 10 minutes and then look for a channel logo burned into the video stream. (Channel logo detection is used to assist in detecting commercials, because channel logos usually aren't present in commercials.) Then mythcommflag will start looking for commercial breaks. As they are found, they are added to the recordedmarkup table. Mythfrontend reads them (directly?) from the database when playback starts and will refresh its list periodically during playback.

I don't know if leanfront assumes an in-progress recording cannot have commercial breaks to query, or if the API support on the backend makes that assumption. What I do know is when I try to skip commercials on leanfront, after confirming I can do so on mythfrontend, I get the toast: "There is no Commercial Break or Cut List Data for this recording"

So, I don't know if its a leanfront or a backend issue. I hope it's not too hard to correct.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions