Ticket #7777: play_program-0.22.patch

File play_program-0.22.patch, 1.3 KB (added by Randy Rossi <randy.rossi@…>, 14 years ago)

patch for 0.22 branch to fix network control play program command

  • programs/mythfrontend/playbackbox.cpp

     
    16781678
    16791679    ProgramInfo *pginfo = qVariantValue<ProgramInfo *>(item->GetData());
    16801680
     1681    playProgramInfo(pginfo);
     1682}
     1683
     1684void PlaybackBox::playProgramInfo(ProgramInfo *pginfo)
     1685{
    16811686    if (!pginfo)
    16821687        return;
    16831688
     
    34663471                    tmpItem->setIgnoreBookmark(true);
    34673472
    34683473                m_underNetworkControl = true;
    3469                 playSelected(m_recordingList->GetItemCurrent());
     3474                playProgramInfo(tmpItem);
    34703475                m_underNetworkControl = false;
    34713476            }
    34723477            else
  • programs/mythfrontend/playbackbox.h

     
    135135        { UpdateProgramInfo(item, true); }
    136136    void selected(MythUIButtonListItem *item);
    137137    void playSelected(MythUIButtonListItem *item = NULL);
     138    void playProgramInfo(ProgramInfo *pginfo = NULL);
    138139    void deleteSelected(MythUIButtonListItem *item);
    139140
    140141    void SwitchList(void);