aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Sommerfeld <kai.sommerfeld@gmx.com>2016-10-28 14:11:17 +0200
committerGitHub <noreply@github.com>2016-10-28 14:11:17 +0200
commit64d269d12b5ea72c53cb37e806a3a087093364ca (patch)
treebd1fcad10b671a8c47843f6928c0fd6215ae4b24
parentdfe69e6520f6c70abe47619108c60ba8a684bfba (diff)
parent173abefeb36b693cfbbfec3c8ee1619d4993720e (diff)
Merge pull request #10788 from phil65/pvr_next_fallbacks
[gui] - remove fallbacks for pvr next* infolabels
-rw-r--r--xbmc/GUIInfoManager.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/xbmc/GUIInfoManager.cpp b/xbmc/GUIInfoManager.cpp
index c353b5bc7d..1316f2ae28 100644
--- a/xbmc/GUIInfoManager.cpp
+++ b/xbmc/GUIInfoManager.cpp
@@ -8861,10 +8861,10 @@ std::string CGUIInfoManager::GetVideoLabel(int item)
return epgTag ? epgTag->PlotOutline() : "";
case VIDEOPLAYER_NEXT_STARTTIME:
epgTag = tag->GetEPGNext();
- return epgTag ? epgTag->StartAsLocalTime().GetAsLocalizedTime("", false) : CDateTime::GetCurrentDateTime().GetAsLocalizedTime("", false);
+ return epgTag ? epgTag->StartAsLocalTime().GetAsLocalizedTime("", false) : "";
case VIDEOPLAYER_NEXT_ENDTIME:
epgTag = tag->GetEPGNext();
- return epgTag ? epgTag->EndAsLocalTime().GetAsLocalizedTime("", false) : CDateTime::GetCurrentDateTime().GetAsLocalizedTime("", false);
+ return epgTag ? epgTag->EndAsLocalTime().GetAsLocalizedTime("", false) : "";
case VIDEOPLAYER_NEXT_DURATION:
{
std::string duration;
@@ -10440,7 +10440,6 @@ std::string CGUIInfoManager::GetItemLabel(const CFileItem *item, int info, std::
if (tag)
return tag->StartAsLocalTime().GetAsLocalizedTime("", false);
}
- return CDateTime::GetCurrentDateTime().GetAsLocalizedTime("", false);
case LISTITEM_NEXT_ENDTIME:
if (item->HasPVRChannelInfoTag())
{
@@ -10448,7 +10447,6 @@ std::string CGUIInfoManager::GetItemLabel(const CFileItem *item, int info, std::
if (tag)
return tag->EndAsLocalTime().GetAsLocalizedTime("", false);
}
- return CDateTime::GetCurrentDateTime().GetAsLocalizedTime("", false);
case LISTITEM_NEXT_STARTDATE:
if (item->HasPVRChannelInfoTag())
{
@@ -10456,7 +10454,6 @@ std::string CGUIInfoManager::GetItemLabel(const CFileItem *item, int info, std::
if (tag)
return tag->StartAsLocalTime().GetAsLocalizedDate(true);
}
- return CDateTime::GetCurrentDateTime().GetAsLocalizedDate(true);
case LISTITEM_NEXT_ENDDATE:
if (item->HasPVRChannelInfoTag())
{
@@ -10464,7 +10461,6 @@ std::string CGUIInfoManager::GetItemLabel(const CFileItem *item, int info, std::
if (tag)
return tag->EndAsLocalTime().GetAsLocalizedDate(true);
}
- return CDateTime::GetCurrentDateTime().GetAsLocalizedDate(true);
case LISTITEM_NEXT_PLOT:
if (item->HasPVRChannelInfoTag())
{