diff -Naur modules.orig/tv/schedules_custom.php modules/tv/schedules_custom.php
|
old
|
new
|
|
| 25 | 25 | else |
| 26 | 26 | $schedule = new Schedule(NULL); |
| 27 | 27 | |
| | 28 | // Load the utility/display functions for scheduling |
| | 29 | require_once 'includes/schedule_utils.php'; |
| | 30 | |
| 28 | 31 | // The user tried to update the recording settings - update the database and the variable in memory |
| 29 | 32 | if (isset($_POST['save'])) { |
| 30 | 33 | // Which type of recording is this? Make sure an illegal one isn't specified |
| … |
… |
|
| 87 | 90 | $schedule->startoffset = intval($_POST['startoffset']); |
| 88 | 91 | $schedule->endoffset = intval($_POST['endoffset']); |
| 89 | 92 | $schedule->prefinput = $_POST['prefinput']; |
| | 93 | $schedule->inetref = $_POST['inetref']; |
| | 94 | $schedule->season = intval($_POST['season']); |
| | 95 | $schedule->episode = intval($_POST['episode']); |
| | 96 | $schedule->filter = generateFilter(); |
| 90 | 97 | // Some settings specific to manual recordings (since we have no program to match against) |
| 91 | 98 | $schedule->chanid = $_POST['channel']; |
| 92 | 99 | $schedule->station = Channel::find($schedule->chanid)->callsign; |
| … |
… |
|
| 172 | 179 | if ($schedule->length < 1) |
| 173 | 180 | $schedule->length = 120; |
| 174 | 181 | |
| 175 | | // Load the utility/display functions for scheduling |
| 176 | | require_once 'includes/schedule_utils.php'; |
| 177 | | |
| 178 | 182 | // Load the class for this page |
| 179 | 183 | require_once tmpl_dir.'schedules_custom.php'; |
| 180 | 184 | |
diff -Naur modules.orig/tv/schedules_manual.php modules/tv/schedules_manual.php
|
old
|
new
|
|
| 23 | 23 | else |
| 24 | 24 | $schedule = new Schedule(NULL); |
| 25 | 25 | |
| | 26 | // Load the utility/display functions for scheduling |
| | 27 | require_once 'includes/schedule_utils.php'; |
| | 28 | |
| 26 | 29 | // The user tried to update the recording settings - update the database and the variable in memory |
| 27 | 30 | if (isset($_POST['save'])) { |
| 28 | 31 | // Which type of recording is this? Make sure an illegal one isn't specified |
| … |
… |
|
| 72 | 75 | $schedule->startoffset = intval($_POST['startoffset']); |
| 73 | 76 | $schedule->endoffset = intval($_POST['endoffset']); |
| 74 | 77 | $schedule->prefinput = $_POST['prefinput']; |
| | 78 | $schedule->inetref = $_POST['inetref']; |
| | 79 | $schedule->season = intval($_POST['season']); |
| | 80 | $schedule->episode = intval($_POST['season']); |
| | 81 | $schedule->filter = generateFilter(); |
| 75 | 82 | // Some settings specific to manual recordings (since we have no program to match against) |
| 76 | 83 | $schedule->chanid = $_POST['channel']; |
| 77 | 84 | $schedule->station = Channel::find($schedule->chanid)->callsign; |
| … |
… |
|
| 129 | 136 | if ($schedule->length < 1) |
| 130 | 137 | $schedule->length = 120; |
| 131 | 138 | |
| 132 | | // Load the utility/display functions for scheduling |
| 133 | | require_once 'includes/schedule_utils.php'; |
| 134 | | |
| 135 | 139 | // Load the class for this page |
| 136 | 140 | require_once tmpl_dir.'schedules_manual.php'; |
| 137 | 141 | |