-
Notifications
You must be signed in to change notification settings - Fork 360
Description
In the "Job Queue" in the MythTV frontend, the following job is displayed (and created internally?) after each recording: "Job: Flag Commercials Status: Queued" even if it is not needed.
I don't use ad detection, but the job is still displayed (and created internally?). Furthermore, this job is never processed and remains in the job queue forever (with status "Queued") until I manually delete the job in the "Job Queue" menu.
I don't understand why this is happening. I see two possibilities here:
Option 1: It's a bug. The "Flag Commercials" job should only be created if it is requested. If it is not requested, this job should not be created.
Option 2: Commercial detection should always be performed automatically after each recording, regardless of whether commercial detection is required or not. Then the behavior would be correct.
For me, only option 1 makes sense.
In this error report, I see the following problems summarized, which are probably closely related:
- Problem 1: The "Flag Commercials" job should only be created and displayed in the “Job Queue” when it is needed.
- Problem 2: If a job is created as "Flag Commercials" and appears in the "Job Queue" then this job should also be processed and marked as "Finished" and deleted after a certain period of time, just like the other jobs.
- Problem 3: Should be the setting option in MythTV Backend: "General/Job Queue (Backend-Specific)/Allow Commercial Detection Jobs" renamed to "Allow Automatically Detection Jobs"? If this setting only refers to "automatic commercial detection" after each recording, which is performed automatically after each recording, the following menu item could remain as a manually triggered commercial detection job:
Under “Media Library/Watch Recordings,” press “m” on a recording:
The pop-up menu appears with the item “Job Options/Begin Commercial Detection.”
System information
-
Platform: Ubuntu 24.04.3 LTS
-
MythTV version: v35 and all earlier versions
-
Package version: ppa:mythbuntu/35, v35.0+fixes.202512040136.187b4cc6ca~ubuntu24.04.1 (Branch: fixes/35)
-
Component: job processing in the MythTV backend and displaying jobs in the MythTV frontend
What steps will reproduce the bug?
- Disable the following setting in MythTV Backend:
General/Job Queue (Backend-Specific)/Allow Commercial Detection Jobs (-> disable) - Record a program
- Check the "Job Queue" menu in the MythTV frontend: There you will find a job called “Flag Commercials” with the status “Queued,” which will remain there indefinitely
How often does it reproduce? Is there a required condition?
The problems mentioned always occur and are 100% reproducible. These problems are not new, but have always existed, even in previous versions of MythTV.
What is the expected behaviour?
see above in the section "In this error report, I see the following problems summarized, which are probably closely related:"
What do you see instead?
see above