On 11/21/05, Bryan Mayland wrote:
> Geoffrey Hausheer wrote:
> > All versions since I added the PTS wrap code have had assorted issues.
> >
>     I was just coming here to let you know this....
> > I checked in some more fixes into svn which should help, though I'm
> > still not convinced it is right.
> >
>     ...until I saw this.  [7964] fixed the "Deadlock detected!" I was
> getting.

Just to be clear..it is working ok for you so far?

>
> One thing I find unusual about the mythtranscode version is that when
> you specify to "--honorcutlist" or -l, it expects you to pass the
> cutlist on the command line if you specify an input file instead of a
> chanid and starttime.  This behavior seems unintuitive (although I can
> see why someone would want to pass a cutlist on the command line).
Yes it is unituitive (Im not sure whether I wrote that or not.  If so,
it would have been long ago), but see below...

> -        if (useCutlist && !found_infile)
> +        if (useCutlist && deleteMap.isEmpty())
>              pginfo->GetCutList(deleteMap);
You can't do this.  If a file is specified, that means that there is
no pginfo, so no way to look up the cutlist.

Basically, we find programs based on the chanid/start-time fields. If
they aren't specified, we are in standalone mode, and don't know how
the program is associated with the db (if it even is)

so there are 2 ways to work:
a) you specify a input file, you are in standalone mode.  if you want
a cutlist, you need to specify it on the cmd line.

b) you are in db mode.  you specify the starttime and chanid.  If you
want a cutlist it will be loaded from the dB (you can't apply one on
the cmdline)

there is also a subset of (b) which is
c) you are running from the jobqueue.  Myth will handle replacing the
old file with the new one.

be aware, that there is a hole between (b) and (c).  If you are NOT
running from the job-queue, your position-map will still be updated
when mythtranscode runs.  This means if you try to watch teh recording
after trasncoding but before replacing the old version with the
transcoded one, you'll get very strange response.

.Geoff
_______________________________________________
mythtv-dev mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

Reply via email to