diff --git a/modules/tv/recorded.php b/modules/tv/recorded.php
index 56ac6d4..d2cd413 100644
|
a
|
b
|
|
| 26 | 26 | if (($_SESSION['recorded_title'] == $row[0]) || ($_SESSION['recorded_title'] == '')) |
| 27 | 27 | $prev_row++; |
| 28 | 28 | // This row isn't the one we're looking for |
| 29 | | if ($row[6] != $_REQUEST['chanid'] || $row[25] != $_REQUEST['starttime']) |
| | 29 | if ($row[7] != $_REQUEST['chanid'] || $row[26] != $_REQUEST['starttime']) |
| 30 | 30 | continue; |
| 31 | 31 | // Delete the recording |
| 32 | 32 | MythBackend::find()->sendCommand(array($backendstr, implode(MythBackend::$backend_separator, $row), '0')); |
| … |
… |
|
| 87 | 87 | $Total_Programs++; |
| 88 | 88 | $Groups[$record[29]]++; |
| 89 | 89 | // Hide LiveTV and Deleted recordings from the title list |
| 90 | | if (($_REQUEST['recgroup'] && $_REQUEST['recgroup'] == $record[28]) || (!$_REQUEST['recgroup'] && $record[28] != 'LiveTV' && $record[28] != 'Deleted')) |
| | 90 | if (($_REQUEST['recgroup'] && $_REQUEST['recgroup'] == $record[29]) || (!$_REQUEST['recgroup'] && $record[29] != 'LiveTV' && $record[29] != 'Deleted')) |
| 91 | 91 | $Program_Titles[$record[0]]++; |
| 92 | 92 | // Skip files with no chanid |
| 93 | 93 | if (!$record[6]) |
| … |
… |
|
| 95 | 95 | // Skip programs the user doesn't want to look at |
| 96 | 96 | if ($_REQUEST['title'] && $_REQUEST['title'] != $record[0]) |
| 97 | 97 | continue; |
| 98 | | if ($_REQUEST['recgroup'] && $_REQUEST['recgroup'] != $record[28]) |
| | 98 | if ($_REQUEST['recgroup'] && $_REQUEST['recgroup'] != $record[29]) |
| 99 | 99 | continue; |
| 100 | 100 | // Hide LiveTV recordings from the default view |
| 101 | | if (empty($_REQUEST['recgroup']) && ($record[28] == 'LiveTV' || $record[28] == 'Deleted')) |
| | 101 | if (empty($_REQUEST['recgroup']) && ($record[29] == 'LiveTV' || $record[29] == 'Deleted')) |
| 102 | 102 | continue; |
| 103 | 103 | // Make sure that everything we're dealing with is an array |
| 104 | 104 | if (!is_array($Programs[$record[0]])) |