aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xbmc/addons/PVRClient.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/xbmc/addons/PVRClient.cpp b/xbmc/addons/PVRClient.cpp
index 0fb2e643d5..434382bff0 100644
--- a/xbmc/addons/PVRClient.cpp
+++ b/xbmc/addons/PVRClient.cpp
@@ -656,7 +656,8 @@ public:
m_strIMDBNumber(kodiTag->IMDBNumber()),
m_strEpisodeName(kodiTag->EpisodeName(true)),
m_strIconPath(kodiTag->Icon()),
- m_strSeriesLink(kodiTag->SeriesLink())
+ m_strSeriesLink(kodiTag->SeriesLink()),
+ m_strGenreDescription(kodiTag->GetGenresLabel())
{
time_t t;
kodiTag->StartAsUTC().GetAsTime(t);
@@ -688,7 +689,7 @@ public:
strEpisodeName = m_strEpisodeName.c_str();
strIconPath = m_strIconPath.c_str();
strSeriesLink = m_strSeriesLink.c_str();
- strGenreDescription = kodiTag->GetGenresLabel().c_str();
+ strGenreDescription = m_strGenreDescription.c_str();
}
virtual ~CAddonEpgTag() = default;
@@ -705,6 +706,7 @@ private:
std::string m_strEpisodeName;
std::string m_strIconPath;
std::string m_strSeriesLink;
+ std::string m_strGenreDescription;
};
PVR_ERROR CPVRClient::IsRecordable(const CConstPVREpgInfoTagPtr &tag, bool &bIsRecordable) const