[mythtv] [mythtv-commits] Ticket #4931: When avoiding conflicts with LiveTV, HandleGetNextFreeRecorder iterates through encoders in wrong order

Mark Buechler mark.buechler at gmail.com
Sun Dec 28 15:24:30 UTC 2008


Hi

On Sun, Dec 28, 2008 at 9:04 AM, MythTV <mythtv at cvs.mythtv.org> wrote:

> #4931: When avoiding conflicts with LiveTV, HandleGetNextFreeRecorder
> iterates
> through encoders in wrong order
>
> -------------------------------------------------------------+--------------
>  Reporter:  Nick Morrott <knowledgejunkie(at)gmail(dot)com>  |
>  Owner:  danielk
>     Type:  defect                                           |       Status:
>  closed
>  Priority:  minor                                            |
>  Milestone:  unknown
> Component:  mythtv                                           |
>  Version:  head
>  Severity:  medium                                           |
> Resolution:  invalid
>   Mlocked:  0                                                |
>
> -------------------------------------------------------------+--------------
> Changes (by danielk):
>
>   * status:  assigned => closed
>  * resolution:  => invalid
>
>
> Comment:
>
>  After looking over the code it appears this is working as designed and
>  simply reversing the iterator will not produce the desired result. But a
>  patch implementing a better avoidance algorithm would be desirable.
>
>  I'm marking this invalid as a feature request without patch.
>
> --
>

Daniel, the last time I looked into this, the bit of sql (in three places I
believe) used to select the LiveTV tuner lacked an ORDER BY clause thus
results came in order of when they were added to the database.

- Mark.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-dev/attachments/20081228/eb4d7e7a/attachment.htm 


More information about the mythtv-dev mailing list