Ticket #7777: play_program-trunk.patch

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

patch to trunk to fix network control play program command

  • programs/mythfrontend/playbackbox.cpp

     
    17541754
    17551755    ProgramInfo *pginfo = qVariantValue<ProgramInfo *>(item->GetData());
    17561756
     1757    playProgramInfo(pginfo);
     1758}
     1759
     1760void PlaybackBox::playProgramInfo(ProgramInfo *pginfo)
     1761{
    17571762    if (!pginfo)
    17581763        return;
    17591764
     
    36203625                    tmpItem->setIgnoreBookmark(true);
    36213626
    36223627                m_underNetworkControl = true;
    3623                 playSelected(m_recordingList->GetItemCurrent());
     3628                playProgramInfo(tmpItem);
    36243629                m_underNetworkControl = false;
    36253630            }
    36263631            else
  • programs/mythfrontend/playbackbox.h

     
    136136        { UpdateUIListItem(item, true); }
    137137    void selected(MythUIButtonListItem *item);
    138138    void playSelected(MythUIButtonListItem *item = NULL);
     139    void playProgramInfo(ProgramInfo *pginfo = NULL);
    139140    void deleteSelected(MythUIButtonListItem *item);
    140141
    141142    void SwitchList(void);