[mythtv] Viewing Live TV Causes Recordings to be Moved to Live TV Group - Again

Jeff Breitner jtbreitner.lists at gmail.com
Thu Feb 27 15:18:29 UTC 2014


>  Anyhow, I started searching and discovered that this is actually not a
> new problem and there seem to be a ticket open for it (
> https://code.mythtv.org/trac/ticket/11119). There is a patch.txt in there
> but it seems it never made it to the code. At least I can not see the
> changes in the code and I can reproduce the problem.
>

I had left the patch for the owner of the ticket to merge into a testing
branch.  I think that person has left the project in pursuit of other
opportunities -- like a normal life ;)

 I am not sure why we have this behavior. Initially I thought that somebody
> wanted to reuse the same tuner and live recording for the scheduled
> recording and that the recording would be left in the LiveTV group by
> mistake. However, I can clearly see that 2 tuners are active, so I don't
> know if this is perhaps just a mistake.
>
>
> It is a mistake.  At the end of the LiveTV recording, the database gets
updated by chanid and starttime, so both get thrown into the LiveTV group
if it is a scheduled recording and this is not a record from LiveTV (as in
they hit the record button while watching TV).  IIRC, there are three cases
where this can happen and similar code exists in each of the three cases.
 The case around line ~4503 is the one that produces the unintended
behavior.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-dev/attachments/20140227/5420190b/attachment.html>


More information about the mythtv-dev mailing list