diff --git a/mythtv/libs/libmythtv/dtvchannel.cpp b/mythtv/libs/libmythtv/dtvchannel.cpp
old mode 100644
new mode 100755
index 3bbd499..1977c7a
a
|
b
|
bool DTVChannel::SetChannelByString(const QString &channum) |
279 | 279 | } |
280 | 280 | |
281 | 281 | bool ok = true; |
282 | | if ((*it)->externalChanger.isEmpty()) |
| 282 | if ((*it)->name.contains("composite", Qt::CaseInsensitive) || |
| 283 | (*it)->name.contains("s-video", Qt::CaseInsensitive)) |
283 | 284 | { |
284 | | if ((*it)->name.contains("composite", Qt::CaseInsensitive) || |
285 | | (*it)->name.contains("s-video", Qt::CaseInsensitive)) |
| 285 | if ((*it)->externalChanger.isEmpty()) |
286 | 286 | { |
287 | 287 | VERBOSE(VB_GENERAL, LOC_WARN + "You have not set " |
288 | 288 | "an external channel changing" |
289 | 289 | "\n\t\t\tscript for a composite or s-video " |
290 | 290 | "input. Channel changing will do nothing."); |
291 | 291 | } |
292 | | else if (isFrequency && Tune(frequency, "")) |
| 292 | } |
| 293 | else if (isFrequency && Tune(frequency, "")) |
| 294 | { |
| 295 | } |
| 296 | else if (isFrequency) |
| 297 | { |
| 298 | // Initialize basic the tuning parameters |
| 299 | DTVMultiplex tuning; |
| 300 | if (!mplexid || !tuning.FillFromDB(tunerType, mplexid)) |
293 | 301 | { |
| 302 | VERBOSE(VB_IMPORTANT, loc_err + |
| 303 | "Failed to initialize multiplex options"); |
| 304 | ok = false; |
294 | 305 | } |
295 | | else if (isFrequency) |
| 306 | else |
296 | 307 | { |
297 | | // Initialize basic the tuning parameters |
298 | | DTVMultiplex tuning; |
299 | | if (!mplexid || !tuning.FillFromDB(tunerType, mplexid)) |
300 | | { |
301 | | VERBOSE(VB_IMPORTANT, loc_err + |
302 | | "Failed to initialize multiplex options"); |
303 | | ok = false; |
304 | | } |
305 | | else |
306 | | { |
307 | | // Try to fix any problems with the multiplex |
308 | | CheckOptions(tuning); |
| 308 | // Try to fix any problems with the multiplex |
| 309 | CheckOptions(tuning); |
309 | 310 | |
310 | | // Tune to proper multiplex |
311 | | if (!Tune(tuning, (*it)->name)) |
312 | | { |
313 | | VERBOSE(VB_IMPORTANT, loc_err + "Tuning to frequency."); |
| 311 | // Tune to proper multiplex |
| 312 | if (!Tune(tuning, (*it)->name)) |
| 313 | { |
| 314 | VERBOSE(VB_IMPORTANT, loc_err + "Tuning to frequency."); |
314 | 315 | |
315 | | ClearDTVInfo(); |
316 | | ok = false; |
317 | | } |
| 316 | ClearDTVInfo(); |
| 317 | ok = false; |
318 | 318 | } |
319 | 319 | } |
320 | | else |
321 | | { |
322 | | ok = Tune(freqid, finetune); |
323 | | } |
| 320 | } |
| 321 | else |
| 322 | { |
| 323 | ok = Tune(freqid, finetune); |
324 | 324 | } |
325 | 325 | |
326 | 326 | VERBOSE(VB_CHANNEL, loc + " " + ((ok) ? "success" : "failure")); |
diff --git a/mythtv/libs/libmythtv/hdhrchannel.cpp b/mythtv/libs/libmythtv/hdhrchannel.cpp
old mode 100644
new mode 100755
diff --git a/mythtv/libs/libmythtv/hdhrchannel.h b/mythtv/libs/libmythtv/hdhrchannel.h
old mode 100644
new mode 100755
index 85f801c..937e267
a
|
b
|
class HDHRChannel : public DTVChannel |
37 | 37 | { return _tuner_types; } |
38 | 38 | virtual bool IsMaster(void) const |
39 | 39 | { return _master == NULL; } |
| 40 | virtual bool IsExternalChannelChangeSupported(void) { return true; } |
40 | 41 | |
41 | 42 | // Sets |
42 | 43 | virtual bool SetChannelByString(const QString &channum); |
diff --git a/mythtv/libs/libmythtv/hdhrsignalmonitor.cpp b/mythtv/libs/libmythtv/hdhrsignalmonitor.cpp
old mode 100644
new mode 100755
index 0b4ec63..2f3b9ac
a
|
b
|
void HDHRSignalMonitor::UpdateValues(void) |
92 | 92 | if (!running || exit) |
93 | 93 | return; |
94 | 94 | |
| 95 | SignalMonitor::UpdateValues(); |
| 96 | |
| 97 | { |
| 98 | QMutexLocker locker(&statusLock); |
| 99 | if (!scriptStatus.IsGood()) |
| 100 | return; |
| 101 | } |
| 102 | |
95 | 103 | if (streamHandlerStarted) |
96 | 104 | { |
97 | 105 | EmitStatus(); |