本文整理汇总了C++中CFileItemPtr::GetEPGInfoTag方法的典型用法代码示例。如果您正苦于以下问题:C++ CFileItemPtr::GetEPGInfoTag方法的具体用法?C++ CFileItemPtr::GetEPGInfoTag怎么用?C++ CFileItemPtr::GetEPGInfoTag使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CFileItemPtr
的用法示例。
在下文中一共展示了CFileItemPtr::GetEPGInfoTag方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: GetContextButtons
void CGUIWindowPVRGuide::GetContextButtons(int itemNumber, CContextButtons &buttons) const
{
if (itemNumber < 0 || itemNumber >= m_parent->m_vecItems->Size())
return;
CFileItemPtr pItem = m_parent->m_vecItems->Get(itemNumber);
CFileItemPtr timer = g_PVRTimers->GetTimerForEpgTag(pItem.get());
if (timer && timer->HasPVRTimerInfoTag())
{
if (timer->GetPVRTimerInfoTag()->IsRecording())
buttons.Add(CONTEXT_BUTTON_STOP_RECORD, 19059); /* stop recording */
else
buttons.Add(CONTEXT_BUTTON_STOP_RECORD, 19060); /* delete timer */
}
else if (pItem->GetEPGInfoTag()->EndAsLocalTime() > CDateTime::GetCurrentDateTime())
{
if (pItem->GetEPGInfoTag()->StartAsLocalTime() < CDateTime::GetCurrentDateTime())
buttons.Add(CONTEXT_BUTTON_START_RECORD, 264); /* record */
else
buttons.Add(CONTEXT_BUTTON_START_RECORD, 19061); /* add timer */
}
buttons.Add(CONTEXT_BUTTON_INFO, 19047); /* epg info */
buttons.Add(CONTEXT_BUTTON_PLAY_ITEM, 19000); /* switch channel */
buttons.Add(CONTEXT_BUTTON_FIND, 19003); /* find similar program */
if (m_iGuideView == GUIDE_VIEW_TIMELINE)
{
buttons.Add(CONTEXT_BUTTON_BEGIN, 19063); /* go to begin */
buttons.Add(CONTEXT_BUTTON_END, 19064); /* go to end */
}
if (pItem->GetEPGInfoTag()->HasPVRChannel() &&
g_PVRClients->HasMenuHooks(pItem->GetEPGInfoTag()->ChannelTag()->ClientID(), PVR_MENUHOOK_EPG))
buttons.Add(CONTEXT_BUTTON_MENU_HOOKS, 19195); /* PVR client specific action */
}
示例2: AddTimer
bool CGUIWindowPVRBase::AddTimer(CFileItem *item, bool bAdvanced)
{
CFileItemPtr epgTag;
if (item->IsEPG())
{
epgTag.reset(new CFileItem(*item));
if (!epgTag->GetEPGInfoTag()->HasPVRChannel())
return false;
}
else if (item->IsPVRChannel())
{
CPVRChannelPtr channel(item->GetPVRChannelInfoTag());
if (!channel)
return false;
CEpgInfoTagPtr epgNow(channel->GetEPGNow());
if (!epgNow)
return false;
epgTag.reset(new CFileItem(epgNow));
}
const CEpgInfoTagPtr tag = epgTag->GetEPGInfoTag();
CPVRChannelPtr channel = tag->ChannelTag();
if (!channel || !g_PVRManager.CheckParentalLock(channel))
return false;
CFileItemPtr timer = g_PVRTimers->GetTimerForEpgTag(item);
if (timer && timer->HasPVRTimerInfoTag())
{
CGUIDialogOK::ShowAndGetInput(CVariant{19033}, CVariant{19034});
return false;
}
bool bReturn(false);
if (bAdvanced)
{
CPVRTimerInfoTagPtr newTimer = CPVRTimerInfoTag::CreateFromEpg(tag, true);
if (newTimer)
{
CFileItem *newItem = new CFileItem(newTimer);
if (ShowTimerSettings(newItem))
bReturn = g_PVRTimers->AddTimer(newItem->GetPVRTimerInfoTag());
delete newItem;
}
}
else
{
CPVRTimerInfoTagPtr newTimer = CPVRTimerInfoTag::CreateFromEpg(tag);
if (newTimer)
bReturn = g_PVRTimers->AddTimer(newTimer);
}
return bReturn;
}
示例3: Update
void CGUIDialogPVRGuideOSD::Update()
{
// lock our display, as this window is rendered from the player thread
g_graphicsContext.Lock();
m_viewControl.SetCurrentView(DEFAULT_VIEW_LIST);
// empty the list ready for population
Clear();
g_PVRManager.GetCurrentEpg(*m_vecItems);
m_viewControl.SetItems(*m_vecItems);
/* select the active entry */
unsigned int iSelectedItem = 0;
for (int iEpgPtr = 0; iEpgPtr < m_vecItems->Size(); iEpgPtr++)
{
CFileItemPtr entry = m_vecItems->Get(iEpgPtr);
if (entry->GetEPGInfoTag()->IsActive())
{
iSelectedItem = iEpgPtr;
break;
}
}
m_viewControl.SetSelectedItem(iSelectedItem);
g_graphicsContext.Unlock();
}
示例4: AddTimer
JSONRPC_STATUS CPVROperations::AddTimer(const std::string &method, ITransportLayer *transport, IClient *client, const CVariant ¶meterObject, CVariant &result)
{
if (!g_PVRManager.IsStarted())
return FailedToExecute;
CFileItemPtr broadcast = CPVROperations::GetBroadcastFromBroadcastid(parameterObject["broadcastid"].asUnsignedInteger());
if (!broadcast)
return InvalidParams;
if (!broadcast->HasEPGInfoTag())
return InvalidParams;
CEpgInfoTagPtr epgTag = broadcast->GetEPGInfoTag();
if (!epgTag)
return InvalidParams;
if (epgTag->HasTimer())
return InvalidParams;
CPVRTimerInfoTagPtr newTimer = CPVRTimerInfoTag::CreateFromEpg(epgTag, parameterObject["timerrule"].asBoolean(false));
if (newTimer)
{
if (g_PVRTimers->AddTimer(newTimer))
return ACK;
}
return FailedToExecute;
}
示例5: OnPlaybackStarted
void CPVRManager::OnPlaybackStarted(const CFileItemPtr item)
{
m_playingChannel.reset();
m_playingRecording.reset();
m_playingEpgTag.reset();
if (item->HasPVRChannelInfoTag())
{
const CPVRChannelPtr channel(item->GetPVRChannelInfoTag());
m_playingChannel = channel;
SetPlayingGroup(channel);
UpdateLastWatched(channel);
}
else if (item->HasPVRRecordingInfoTag())
{
m_playingRecording = item->GetPVRRecordingInfoTag();
}
else if (item->HasEPGInfoTag())
{
m_playingEpgTag = item->GetEPGInfoTag();
}
m_guiActions->OnPlaybackStarted(item);
}
示例6: GetContextButtons
void CGUIWindowPVRGuide::GetContextButtons(int itemNumber, CContextButtons &buttons)
{
if (itemNumber < 0 || itemNumber >= m_vecItems->Size())
return;
CFileItemPtr pItem = m_vecItems->Get(itemNumber);
buttons.Add(CONTEXT_BUTTON_PLAY_ITEM, 19000); /* switch channel */
if (pItem->HasEPGInfoTag() && pItem->GetEPGInfoTag()->HasRecording())
buttons.Add(CONTEXT_BUTTON_PLAY_OTHER, 19687); /* play recording */
CFileItemPtr timer = g_PVRTimers->GetTimerForEpgTag(pItem.get());
if (timer && timer->HasPVRTimerInfoTag())
{
if (timer->GetPVRTimerInfoTag()->IsRecording())
buttons.Add(CONTEXT_BUTTON_STOP_RECORD, 19059); /* stop recording */
else if (timer->GetPVRTimerInfoTag()->HasTimerType() &&
!timer->GetPVRTimerInfoTag()->GetTimerType()->IsReadOnly())
buttons.Add(CONTEXT_BUTTON_STOP_RECORD, 19060); /* delete timer */
}
else if (pItem->HasEPGInfoTag() && pItem->GetEPGInfoTag()->EndAsLocalTime() > CDateTime::GetCurrentDateTime())
{
if (pItem->GetEPGInfoTag()->StartAsLocalTime() < CDateTime::GetCurrentDateTime())
buttons.Add(CONTEXT_BUTTON_START_RECORD, 264); /* record */
buttons.Add(CONTEXT_BUTTON_START_RECORD, 19061); /* add timer */
buttons.Add(CONTEXT_BUTTON_ADVANCED_RECORD, 841); /* add custom timer */
}
buttons.Add(CONTEXT_BUTTON_INFO, 19047); /* epg info */
buttons.Add(CONTEXT_BUTTON_FIND, 19003); /* find similar program */
if (m_viewControl.GetCurrentControl() == GUIDE_VIEW_TIMELINE)
{
buttons.Add(CONTEXT_BUTTON_BEGIN, 19063); /* go to begin */
buttons.Add(CONTEXT_BUTTON_NOW, 19070); /* go to now */
buttons.Add(CONTEXT_BUTTON_END, 19064); /* go to end */
}
if (pItem->HasEPGInfoTag() &&
pItem->GetEPGInfoTag()->HasPVRChannel() &&
g_PVRClients->HasMenuHooks(pItem->GetEPGInfoTag()->ChannelTag()->ClientID(), PVR_MENUHOOK_EPG))
buttons.Add(CONTEXT_BUTTON_MENU_HOOKS, 19195); /* PVR client specific action */
CGUIWindowPVRBase::GetContextButtons(itemNumber, buttons);
CContextMenuManager::Get().AddVisibleItems(pItem, buttons);
}
示例7: GetContextButtons
void CGUIWindowPVRGuide::GetContextButtons(int itemNumber, CContextButtons &buttons)
{
if (itemNumber < 0 || itemNumber >= m_vecItems->Size())
return;
CFileItemPtr pItem = m_vecItems->Get(itemNumber);
buttons.Add(CONTEXT_BUTTON_PLAY_ITEM, 19000); /* Switch channel */
buttons.Add(CONTEXT_BUTTON_INFO, 19047); /* Programme information */
buttons.Add(CONTEXT_BUTTON_FIND, 19003); /* Find similar */
CEpgInfoTagPtr epg(pItem->GetEPGInfoTag());
if (epg)
{
CPVRTimerInfoTagPtr timer(epg->Timer());
if (timer)
{
if (timer->GetTimerRuleId() != PVR_TIMER_NO_PARENT)
buttons.Add(CONTEXT_BUTTON_EDIT_TIMER_RULE, 19243); /* Edit timer rule */
const CPVRTimerTypePtr timerType(timer->GetTimerType());
if (timerType && !timerType->IsReadOnly())
buttons.Add(CONTEXT_BUTTON_EDIT_TIMER, 19242); /* Edit timer */
if (timer->IsRecording())
buttons.Add(CONTEXT_BUTTON_STOP_RECORD, 19059); /* Stop recording */
else
{
if (timerType && !timerType->IsReadOnly())
buttons.Add(CONTEXT_BUTTON_DELETE_TIMER, 19060); /* Delete timer */
}
}
else if (g_PVRClients->SupportsTimers())
{
if (epg->EndAsLocalTime() > CDateTime::GetCurrentDateTime())
buttons.Add(CONTEXT_BUTTON_START_RECORD, 264); /* Record */
buttons.Add(CONTEXT_BUTTON_ADD_TIMER, 19061); /* Add timer */
}
if (epg->HasRecording())
buttons.Add(CONTEXT_BUTTON_PLAY_OTHER, 19687); /* Play recording */
}
if (m_viewControl.GetCurrentControl() == GUIDE_VIEW_TIMELINE)
{
buttons.Add(CONTEXT_BUTTON_BEGIN, 19063); /* Go to begin */
buttons.Add(CONTEXT_BUTTON_NOW, 19070); /* Go to now */
buttons.Add(CONTEXT_BUTTON_END, 19064); /* Go to end */
}
if (epg)
{
CPVRChannelPtr channel(epg->ChannelTag());
if (channel && g_PVRClients->HasMenuHooks(channel->ClientID(), PVR_MENUHOOK_EPG))
buttons.Add(CONTEXT_BUTTON_MENU_HOOKS, 19195); /* PVR client specific action */
}
CGUIWindowPVRBase::GetContextButtons(itemNumber, buttons);
CContextMenuManager::GetInstance().AddVisibleItems(pItem, buttons);
}
示例8: OnContextButton
bool CGUIWindowPVRBase::OnContextButton(int itemNumber, CONTEXT_BUTTON button)
{
bool bReturn = false;
switch(button)
{
case CONTEXT_BUTTON_MENU_HOOKS:
if (itemNumber >= 0 && itemNumber < m_vecItems->Size())
{
CFileItemPtr item = m_vecItems->Get(itemNumber);
if (item->IsEPG() && item->GetEPGInfoTag()->HasPVRChannel())
g_PVRClients->ProcessMenuHooks(item->GetEPGInfoTag()->ChannelTag()->ClientID(), PVR_MENUHOOK_EPG, item.get());
else if (item->IsPVRChannel())
g_PVRClients->ProcessMenuHooks(item->GetPVRChannelInfoTag()->ClientID(), PVR_MENUHOOK_CHANNEL, item.get());
else if (item->IsDeletedPVRRecording())
g_PVRClients->ProcessMenuHooks(item->GetPVRRecordingInfoTag()->m_iClientId, PVR_MENUHOOK_DELETED_RECORDING, item.get());
else if (item->IsUsablePVRRecording())
g_PVRClients->ProcessMenuHooks(item->GetPVRRecordingInfoTag()->m_iClientId, PVR_MENUHOOK_RECORDING, item.get());
else if (item->IsPVRTimer())
g_PVRClients->ProcessMenuHooks(item->GetPVRTimerInfoTag()->m_iClientId, PVR_MENUHOOK_TIMER, item.get());
bReturn = true;
}
break;
case CONTEXT_BUTTON_FIND:
{
int windowSearchId = m_bRadio ? WINDOW_RADIO_SEARCH : WINDOW_TV_SEARCH;
CGUIWindowPVRBase *windowSearch = (CGUIWindowPVRBase*) g_windowManager.GetWindow(windowSearchId);
if (windowSearch && itemNumber >= 0 && itemNumber < m_vecItems->Size())
{
CFileItemPtr item = m_vecItems->Get(itemNumber);
g_windowManager.ActivateWindow(windowSearchId);
bReturn = windowSearch->OnContextButton(*item.get(), button);
}
break;
}
default:
bReturn = false;
}
return bReturn || CGUIMediaWindow::OnContextButton(itemNumber, button);
}
示例9: OnPlaybackStarted
void CPVRManager::OnPlaybackStarted(const CFileItemPtr item)
{
m_playingChannel.reset();
m_playingRecording.reset();
m_playingEpgTag.reset();
m_playingClientId = -1;
m_strPlayingClientName.clear();
if (item->HasPVRChannelInfoTag())
{
const CPVRChannelPtr channel(item->GetPVRChannelInfoTag());
m_playingChannel = channel;
m_playingClientId = m_playingChannel->ClientID();
SetPlayingGroup(channel);
int iLastWatchedDelay = m_settings.GetIntValue(CSettings::SETTING_PVRPLAYBACK_DELAYMARKLASTWATCHED) * 1000;
if (iLastWatchedDelay > 0)
{
// Insert new / replace existing last watched update timer
if (m_lastWatchedUpdateTimer)
m_lastWatchedUpdateTimer->Stop(true);
m_lastWatchedUpdateTimer.reset(new CLastWatchedUpdateTimer(*this, channel, CDateTime::GetUTCDateTime()));
m_lastWatchedUpdateTimer->Start(iLastWatchedDelay);
}
else
{
// Store last watched timestamp immediately
UpdateLastWatched(channel, CDateTime::GetUTCDateTime());
}
}
else if (item->HasPVRRecordingInfoTag())
{
m_playingRecording = item->GetPVRRecordingInfoTag();
m_playingClientId = m_playingRecording->m_iClientId;
}
else if (item->HasEPGInfoTag())
{
m_playingEpgTag = item->GetEPGInfoTag();
m_playingClientId = m_playingEpgTag->ClientID();
}
if (m_playingClientId != -1)
{
const CPVRClientPtr client = GetClient(m_playingClientId);
if (client)
m_strPlayingClientName = client->GetFriendlyName();
}
m_guiActions->OnPlaybackStarted(item);
m_epgContainer.OnPlaybackStarted(item);
}
示例10: GetContextButtons
void CGUIWindowPVRSearch::GetContextButtons(int itemNumber, CContextButtons &buttons)
{
if (itemNumber < 0 || itemNumber >= m_vecItems->Size())
return;
CFileItemPtr pItem = m_vecItems->Get(itemNumber);
if (pItem->HasEPGInfoTag())
{
if (pItem->GetEPGInfoTag()->EndAsLocalTime() > CDateTime::GetCurrentDateTime())
{
if (!pItem->GetEPGInfoTag()->HasTimer())
{
if (pItem->GetEPGInfoTag()->StartAsLocalTime() < CDateTime::GetCurrentDateTime())
buttons.Add(CONTEXT_BUTTON_START_RECORD, 264); /* RECORD programme */
else
buttons.Add(CONTEXT_BUTTON_START_RECORD, 19061); /* Create a Timer */
}
else
{
if (pItem->GetEPGInfoTag()->StartAsLocalTime() < CDateTime::GetCurrentDateTime())
buttons.Add(CONTEXT_BUTTON_STOP_RECORD, 19059); /* Stop recording */
else
buttons.Add(CONTEXT_BUTTON_STOP_RECORD, 19060); /* Delete Timer */
}
}
buttons.Add(CONTEXT_BUTTON_INFO, 19047); /* Epg info button */
if (pItem->GetEPGInfoTag()->HasPVRChannel() &&
g_PVRClients->HasMenuHooks(pItem->GetEPGInfoTag()->ChannelTag()->ClientID(), PVR_MENUHOOK_EPG))
buttons.Add(CONTEXT_BUTTON_MENU_HOOKS, 19195); /* PVR client specific action */
}
buttons.Add(CONTEXT_BUTTON_CLEAR, 19232); /* Clear search results */
}
示例11: GetContextButtons
void CGUIWindowPVRSearch::GetContextButtons(int itemNumber, CContextButtons &buttons)
{
if (itemNumber < 0 || itemNumber >= m_vecItems->Size())
return;
CFileItemPtr pItem = m_vecItems->Get(itemNumber);
buttons.Add(CONTEXT_BUTTON_CLEAR, 19232); /* Clear search results */
CEpgInfoTagPtr epg(pItem->GetEPGInfoTag());
if (epg)
{
buttons.Add(CONTEXT_BUTTON_INFO, 19047); /* Programme information */
CPVRTimerInfoTagPtr timer(epg->Timer());
if (timer)
{
if (timer->GetTimerRuleId() != PVR_TIMER_NO_PARENT)
buttons.Add(CONTEXT_BUTTON_EDIT_TIMER_RULE, 19243); /* Edit timer rule */
const CPVRTimerTypePtr timerType(timer->GetTimerType());
if (timerType && !timerType->IsReadOnly())
buttons.Add(CONTEXT_BUTTON_EDIT_TIMER, 19242); /* Edit timer */
if (timer->IsRecording())
buttons.Add(CONTEXT_BUTTON_STOP_RECORD, 19059); /* Stop recording */
else
{
if (timerType && !timerType->IsReadOnly())
buttons.Add(CONTEXT_BUTTON_DELETE_TIMER, 19060); /* Delete timer */
}
}
else if (g_PVRClients->SupportsTimers())
{
if (epg->EndAsLocalTime() > CDateTime::GetCurrentDateTime())
buttons.Add(CONTEXT_BUTTON_START_RECORD, 264); /* Record */
buttons.Add(CONTEXT_BUTTON_ADD_TIMER, 19061); /* Add timer */
}
if (epg->HasRecording())
buttons.Add(CONTEXT_BUTTON_PLAY_ITEM, 19687); /* Play recording */
CPVRChannelPtr channel(epg->ChannelTag());
if (channel &&
g_PVRClients->HasMenuHooks(channel->ClientID(), PVR_MENUHOOK_EPG))
buttons.Add(CONTEXT_BUTTON_MENU_HOOKS, 19195); /* PVR client specific action */
}
CGUIWindowPVRBase::GetContextButtons(itemNumber, buttons);
}
示例12: GetContextButtons
void CGUIWindowPVRGuide::GetContextButtons(int itemNumber, CContextButtons &buttons) const
{
if (itemNumber < 0 || itemNumber >= m_parent->m_vecItems->Size())
return;
CFileItemPtr pItem = m_parent->m_vecItems->Get(itemNumber);
if (pItem->GetEPGInfoTag()->End() > CDateTime::GetCurrentDateTime())
{
CPVRTimerInfoTag *timer = CPVRManager::GetTimers()->GetMatch(pItem->GetEPGInfoTag());
if (!timer)
{
if (pItem->GetEPGInfoTag()->Start() < CDateTime::GetCurrentDateTime())
buttons.Add(CONTEXT_BUTTON_START_RECORD, 264); /* record program */
else
buttons.Add(CONTEXT_BUTTON_START_RECORD, 19061); /* stop recording */
}
else
{
if (pItem->GetEPGInfoTag()->Start() < CDateTime::GetCurrentDateTime())
buttons.Add(CONTEXT_BUTTON_STOP_RECORD, 19059);
else
buttons.Add(CONTEXT_BUTTON_STOP_RECORD, 19060);
}
}
buttons.Add(CONTEXT_BUTTON_INFO, 658); /* epg info */
buttons.Add(CONTEXT_BUTTON_PLAY_ITEM, 19000); /* switch channel */
buttons.Add(CONTEXT_BUTTON_FIND, 19003); /* find similar program */
if (m_iGuideView == GUIDE_VIEW_TIMELINE)
{
buttons.Add(CONTEXT_BUTTON_BEGIN, 19063); /* go to begin */
buttons.Add(CONTEXT_BUTTON_END, 19064); /* go to end */
}
if (CPVRManager::Get()->HasMenuHooks(((CPVREpgInfoTag *) pItem->GetEPGInfoTag())->ChannelTag()->ClientID()))
buttons.Add(CONTEXT_BUTTON_MENU_HOOKS, 19195); /* PVR client specific action */
}
示例13: OnPlaybackStopped
void CPVRManager::OnPlaybackStopped(const CFileItemPtr item)
{
// Playback ended due to user interaction
if (item->HasPVRChannelInfoTag() && item->GetPVRChannelInfoTag() == m_playingChannel)
{
bool bUpdateLastWatched = true;
if (m_lastWatchedUpdateTimer)
{
if (m_lastWatchedUpdateTimer->IsRunning())
{
// If last watched timer is still running, cancel it. Channel was not watched long enough to store the value.
m_lastWatchedUpdateTimer->Stop(true);
bUpdateLastWatched = false;
}
m_lastWatchedUpdateTimer.reset();
}
if (bUpdateLastWatched)
{
// If last watched timer is not running (any more), channel was watched long enough to store the value.
UpdateLastWatched(m_playingChannel, CDateTime::GetUTCDateTime());
}
SetChanged();
NotifyObservers(ObservableMessageChannelPlaybackStopped);
m_playingChannel.reset();
m_playingClientId = -1;
m_strPlayingClientName.clear();
}
else if (item->HasPVRRecordingInfoTag() && item->GetPVRRecordingInfoTag() == m_playingRecording)
{
m_playingRecording.reset();
m_playingClientId = -1;
m_strPlayingClientName.clear();
}
else if (item->HasEPGInfoTag() && item->GetEPGInfoTag() == m_playingEpgTag)
{
m_playingEpgTag.reset();
m_playingClientId = -1;
m_strPlayingClientName.clear();
}
m_guiActions->OnPlaybackStopped(item);
m_epgContainer.OnPlaybackStopped(item);
}
示例14: GetTimerRule
CFileItemPtr CPVRTimers::GetTimerRule(const CFileItemPtr &item) const
{
CPVRTimerInfoTagPtr timer;
if (item && item->HasEPGInfoTag())
timer = GetTimerForEpgTag(item->GetEPGInfoTag());
else if (item && item->HasPVRTimerInfoTag())
timer = item->GetPVRTimerInfoTag();
if (timer)
{
timer = GetTimerRule(timer);
if (timer)
return CFileItemPtr(new CFileItem(timer));
}
return CFileItemPtr();
}
示例15: ShowInfo
void CGUIDialogPVRGuideOSD::ShowInfo(int item)
{
/* Check file item is in list range and get his pointer */
if (item < 0 || item >= (int)m_vecItems->Size()) return;
CFileItemPtr pItem = m_vecItems->Get(item);
/* Load programme info dialog */
CGUIDialogPVRGuideInfo* pDlgInfo = (CGUIDialogPVRGuideInfo*)g_windowManager.GetWindow(WINDOW_DIALOG_PVR_GUIDE_INFO);
if (!pDlgInfo)
return;
/* inform dialog about the file item and open dialog window */
pDlgInfo->SetProgInfo(pItem->GetEPGInfoTag());
pDlgInfo->Open();
}