Ticket #1728: 04_fix_for_activate_slave_control.diff

File 04_fix_for_activate_slave_control.diff, 1.7 KB (added by Janne <janne-mythtv@…>, 14 years ago)
  • libs/libmythtv/tv_rec.cpp

    === libs/libmythtv/tv_rec.cpp
    ==================================================================
     
    31593159    if (!scanner && eitcache)
    31603160        scanner = new EITScanner(eitcache);
    31613161
     3162    // Is this enough to guard against channel changes while recording?
    31623163    if (QDateTime::currentDateTime() > eitScanStartTime)
    31633164    {
    31643165        SetChannel(name, kFlagEITScan);
    3165         uint ignore = gContext->GetNumSetting("EITIgnoresSource", 0);
     3166        //TODO: check for successful tuning
    31663167        return true;
    31673168    }
    31683169    VERBOSE(VB_EIT, LOC + QString("Now: %1 - start scan only after: %2")
  • programs/mythbackend/mainserver.cpp

    === programs/mythbackend/mainserver.cpp
    ==================================================================
     
    27692769    }
    27702770    else if (command == "START_EIT_SCAN")
    27712771    {
    2772         retlist << QString::number((int)enc->StartEITScan(commands[2]));
     2772        retlist << QString::number((int)enc->StartEITScan(slist[2]));
    27732773    }
    27742774
    27752775    SendResponse(pbssock, retlist);
  • programs/mythbackend/encoderlink.cpp

    === programs/mythbackend/encoderlink.cpp
    ==================================================================
     
    209209        return tv->StartEITScan(chanid);
    210210    else if (sock)
    211211    {
    212         VERBOSE(VB_IMPORTANT, "StartEITScan is currently only supported locally");
    213         return false;
    214         /*return sock->StartEITScan(m_capturecardnum, chanid);*/
     212        return sock->StartEITScan(m_capturecardnum, chanid);
    215213    }
    216214}
    217215