[mythtv-commits] Ticket #4501: Allow browsing across tuners
MythTV
mythtv at cvs.mythtv.org
Thu Mar 13 14:13:12 UTC 2008
#4501: Allow browsing across tuners
----------------------------------------------+-----------------------------
Reporter: Ron Frazier <ron at ronfrazier.net> | Owner: ijr
Type: enhancement | Status: new
Priority: minor | Milestone: unknown
Component: mythtv | Version: head
Severity: medium | Resolution:
Mlocked: 0 |
----------------------------------------------+-----------------------------
Comment(by Shane Shrybman <gnome42 at gmail.com>):
Hi,
I'm also looking into this issue and came across your patches. I tried the
browse_tuners.patch on its own, (with a few small mods needed to compile
without the font patch), and it worked well. :)
There's always concern about additional network traffic and DB load
generated by the channel checking and input groups checking stuff so I was
experimenting trying to minimize that.
Came up with a patch with these changes for the browse_tuners.patch:
* Use TV::IsTunable(), this eliminates the need for adding
TV::GetProgramTunerStatus() and TV::FindAvailableTuner().[[BR]]
* Add TV::GetChanIDAnyTuner(const QString &chan) to avoid GetChanNum() DB
query.[[BR]]
* Reuse the ProgramInfo from GetNextProgramAnyTuner() to
TV::BrowseDispInfo(), saves re-getting the program info from the DB.[[BR]]
* Dropped TV::GetProgramTunerStatus().[[BR]]
* Constify new functions.[[BR]]
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/4501#comment:2>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list