summaryrefslogtreecommitdiff
path: root/Directory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Directory.cpp')
-rw-r--r--Directory.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Directory.cpp b/Directory.cpp
index 100b830..d4cbb09 100644
--- a/Directory.cpp
+++ b/Directory.cpp
@@ -65,7 +65,7 @@ std::string Directory::GetTitle()
seriesTitle = m_pParent->m_sParentTitle;
switch(m_eType) {
- case SEASON:
+ case MediaType::SEASON:
return Poco::format(tr("%s - Season %d"), seriesTitle, m_iIndex);
default:
return m_sTitle;
@@ -78,7 +78,7 @@ void Directory::AddTokens(std::shared_ptr<skindesignerapi::cOsdElement> grid, bo
if(clear) grid->ClearTokens();
grid->AddIntToken((int)(eTokenGridInt::viewmode), Config::GetInstance().DefaultViewMode);
grid->AddStringToken((int)(eTokenGridStr::title), m_sTitle.c_str());
- grid->AddIntToken((int)(eTokenGridInt::viewgroup), m_pParent->m_eViewGroup);
+ grid->AddIntToken((int)(eTokenGridInt::viewgroup), (int)m_pParent->m_eViewGroup);
// Thumb, Cover, Episodepicture
bool cached = false;