Ticket #1847: dvbchannel_input.diff

File dvbchannel_input.diff, 805 bytes (added by gnome42@…, 14 years ago)

Alternate patch :)

  • dvbchannel.cpp

     
    260260        return true;
    261261    }
    262262
     263    QString inputName;
     264    if (!CheckChannel(chan, inputName))
     265    {
     266        VERBOSE(VB_IMPORTANT, LOC + "CheckChannel failed. " +
     267                QString("Please verify channel '%1'").arg(chan) +
     268                " in the \"mythtv-setup\" Channel Editor.");
     269        return false;
     270    }
     271    // If CheckChannel filled in the inputName we need to
     272    // change inputs.
     273    if (!inputName.isEmpty())
     274        nextInputID = GetInputByName(inputName);
     275   
    263276    if (GetChannelOptions(chan) == false)
    264277    {
    265278        VERBOSE(VB_IMPORTANT, LOC_ERR + "Failed to get channel options for " +