=== mythtv/programs/mythbackend/mainserver.cpp
==================================================================
|
|
|
|
| 2767 | 2767 | info->ToStringList(retlist); |
| 2768 | 2768 | delete info; |
| 2769 | 2769 | } |
| | 2770 | else if (command == "START_EIT_SCAN") |
| | 2771 | { |
| | 2772 | retlist << QString::number((int)enc->StartEITScan(commands[2])); |
| | 2773 | } |
| 2770 | 2774 | |
| 2771 | 2775 | SendResponse(pbssock, retlist); |
| 2772 | 2776 | } |
=== mythtv/programs/mythbackend/playbacksock.cpp
==================================================================
|
|
|
|
| 285 | 285 | int ret = strlist[0].toInt(); |
| 286 | 286 | return ret; |
| 287 | 287 | } |
| | 288 | |
| | 289 | bool PlaybackSock::StartEITScan(int capturecardnum, QString chanid) |
| | 290 | { |
| | 291 | QStringList strlist = QString("QUERY_REMOTEENCODER %1").arg(capturecardnum); |
| | 292 | strlist << "START_EIT_SCAN"; |
| | 293 | strlist << chanid; |
| | 294 | |
| | 295 | SendReceiveStringList(strlist); |
| | 296 | |
| | 297 | bool ret = strlist[0].toInt(); |
| | 298 | return ret; |
| | 299 | } |
| | 300 | |
=== mythtv/programs/mythbackend/playbacksock.h
==================================================================
|
|
|
|
| 60 | 60 | const ProgramInfo *pginfo); |
| 61 | 61 | void RecordPending(int capturecardnum, const ProgramInfo *pginfo, int secsleft); |
| 62 | 62 | int SetSignalMonitoringRate(int capturecardnum, int rate, int notifyFrontend); |
| | 63 | bool StartEITScan(int capturecardnum, QString chanid); |
| 63 | 64 | |
| 64 | 65 | private: |
| 65 | 66 | bool SendReceiveStringList(QStringList &strlist); |
=== mythtv/programs/mythbackend/eitactivescanner.cpp
==================================================================
|
|
|
|
| 56 | 56 | rec->SetEITCache(eitCache); |
| 57 | 57 | } |
| 58 | 58 | } |
| 59 | | // if (ismaster) |
| | 59 | if (ismaster) |
| 60 | 60 | StartActiveScan(); |
| 61 | 61 | |
| 62 | 62 | |
=== mythplugins/mythweb/includes/mythbackend.php
==================================================================
|
|
|
|
| 17 | 17 | |
| 18 | 18 | // MYTH_PROTO_VERSION is defined in libmyth in mythtv/libs/libmyth/mythcontext.h |
| 19 | 19 | // and should be the current MythTV protocol version. |
| 20 | | define('MYTH_PROTO_VERSION', 29); |
| | 20 | define('MYTH_PROTO_VERSION', 30); |
| 21 | 21 | |
| 22 | 22 | // NUMPROGRAMLINES is defined in mythtv/libs/libmythtv/programinfo.h and is |
| 23 | 23 | // the number of items in a ProgramInfo QStringList group used by |
=== mythtv/libs/libmyth/mythcontext.h
==================================================================
|
|
|
|
| 229 | 229 | * You must also update this value in |
| 230 | 230 | * mythplugins/mythweb/includes/mythbackend.php |
| 231 | 231 | */ |
| 232 | | #define MYTH_PROTO_VERSION "29" |
| | 232 | #define MYTH_PROTO_VERSION "30" |
| 233 | 233 | |
| 234 | 234 | /** \class MythContext |
| 235 | 235 | * \brief This class contains the runtime context for MythTV. |