Skip to content

Commit

Permalink
Fix MythWeb Upcoming Recordings programinfo usage.
Browse files Browse the repository at this point in the history
The programinfo refactor in #8406 changed the order of fields returned
in a programinfo string list, and a reference was missed in the MythWeb
Schedule class.  The result is that any recording rule with recordid of
6 was skipped/didn't show in Upcoming Recordings.

The original intent of the code was to skip recordings with recstatus of
rsNotListed (as shown in commits e728aea and 5081035 , committed for
which has since been modified, again, by a41e9657.  (Therefore, the
index in this commit is correct for 0.25-fixes and above, but should be
18 for 0.24-fixes.)

Thanks to JK on the -users list for finding the issue.
  • Loading branch information
sphery committed May 30, 2012
1 parent 8c43d8d commit 39a5dcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/tv/classes/Schedule.php
Expand Up @@ -151,7 +151,7 @@ public static function &findScheduled() {
foreach (MythBackend::find()->queryProgramRows('QUERY_GETALLPENDING', 2) as $key => $program) {
if ($key === 'offset')
continue;
if ($program[21] == 6)
if ($program[20] == 6)
continue;
// Normal entry: $scheduledRecordings[callsign][starttime][]
self::$scheduledRecordings[$program[8]][$program[12]][] =& new Program($program);
Expand Down

0 comments on commit 39a5dcd

Please sign in to comment.