[mythtv-commits] Ticket #1232: "Recorded Programs" needs to load all channel data.
MythTV
mythtv at cvs.mythtv.org
Tue Feb 7 05:24:20 UTC 2006
#1232: "Recorded Programs" needs to load all channel data.
-------------------------------------+--------------------------------------
Reporter: Robert Tsai <rtsai1111> | Owner: ijr
Type: patch | Status: new
Priority: minor | Milestone:
Component: mythtv | Version: head
Severity: low |
-------------------------------------+--------------------------------------
The "Recorded Programs" page uses QUERY_RECORDINGS from the mythbackend;
that picks up chanids used to make the recordings. The routine
load_all_channels performs a "GROUP BY channel.channum"; this can end up
hiding chanids that are referenced by the backend results, which results
in the "Recorded Programs" page sometimes being unable to fill in the
"channum" column.
This patch:
* Removes the GROUP BY from load_all_channels. Rather than re-key the
$Channels array by channum, we simply make sure that all chanids are
represented in the $Channels array (which means there could be object
copies if two chanids refer to the same channum/callsign).
* Adds a call to load_all_channels in modules/tv/recorded.php, like many
of the other modules.
There are a few other places that might need calls to load_one_channel
("// No channel data? Load it"), but I don't address those.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/1232>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list