[mythtv-users] Question about commflagging percent complete
digitalaudiorock at gmail.com
Fri Apr 18 16:51:26 UTC 2008
On Fri, Apr 18, 2008 at 12:37 PM, Joe Ripley <vitaminjoe at gmail.com> wrote:
> On Wed, Apr 16, 2008 at 8:39 PM, Tom Dexter <digitalaudiorock at gmail.com> wrote:
> > Does anyone happen to know...
> > When a recording is being commercial flagged while it's recording, is
> > the percent complete that's reported based on the current length of
> > the recording at that point in time, or is it based on the final
> > length according to the schedule?
> That's a good question, and I was wondering that myself. According to
> the code, the percentage is calculated based on the number of frames
> processed (i.e. current frame number / total frames). This is for a
> file that is already recorded, not a recording in progress.
> For a recording in progress, the code seems to indicate that the start
> time and stop time for a recording is used to calculate percentages.
> So, when the commercial flagger says that it's at 30% for live
> recording that's scheduled to run for 60 minutes, it means that it's
> flagged up to the 18 minute mark so far (irregardless of what point
> the recording itself is at).
> Does this make sense?
> Joe Ripley
> vitaminjoe at gmail.com
> mythtv-users mailing list
> mythtv-users at mythtv.org
I hadn't gotten around to actually looking at the code to see what's
it's doing, but what you describe definitely makes sense, and is
certainly what I would want it to do.
More information about the mythtv-users