We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc3c3ae commit 05caea0Copy full SHA for 05caea0
modules/tv/detail.php
@@ -133,12 +133,16 @@
133
134
// Queue a job?
135
if ($program && $program->filename && $_REQUEST['job']) {
136
+ $host = "";
137
+ if (setting("JobsRunOnRecordHost")){
138
+ $host = $program->hostname;
139
+ }
140
$db->query('INSERT INTO jobqueue
141
SET chanid = ?,
142
starttime = FROM_UNIXTIME(?),
143
inserttime = NOW(),
144
type = ?,
- hostname = "",
145
+ hostname = ?,
146
args = "",
147
status = ?,
148
statustime = NOW(),
@@ -148,6 +152,7 @@
152
$program->chanid,
149
153
$program->recstartts,
150
154
$_REQUEST['job'],
155
+ $host,
151
156
JOB_QUEUED,
157
JOB_USE_CUTLIST
158
);
0 commit comments