Ticket #5343: mythtv_0.21_fixes_QUERY_NEXT_LIVETV_DIR.diff

File mythtv_0.21_fixes_QUERY_NEXT_LIVETV_DIR.diff, 743 bytes (added by Shane Shrybman <gnome42@…>, 13 years ago)
  • programs/mythbackend/mainserver.cpp

     
    691691        {
    692692            QStringList tokens = QStringList::split(" ", me->Message());
    693693            if (tokens.size() != 2)
    694             {
    695694                VERBOSE(VB_IMPORTANT, QString("Bad %1 message").arg(tokens[0]));
    696                 return;
    697             }
     695            else
     696                m_sched->GetNextLiveTVDir(tokens[1].toInt());
    698697
    699             m_sched->GetNextLiveTVDir(tokens[1].toInt());
     698            return;
    700699        }
    701700
    702701        if ((me->Message().left(16) == "DELETE_RECORDING") ||