summaryrefslogtreecommitdiff
path: root/PVideo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'PVideo.cpp')
-rw-r--r--PVideo.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/PVideo.cpp b/PVideo.cpp
index aaf0547..73f1837 100644
--- a/PVideo.cpp
+++ b/PVideo.cpp
@@ -217,6 +217,7 @@ void Video::AddTokens(std::shared_ptr<skindesignerapi::cOsdElement> grid, bool c
grid->AddStringToken("summary", m_sSummary);
grid->AddStringToken("contentrating", m_sContentRating);
grid->AddStringToken("studio", m_sStudio);
+ grid->AddIntToken("viewCount", m_iViewCount);
grid->AddIntToken("viewoffset", m_lViewoffset/1000/60);
grid->AddIntToken("duration", m_iDuration/1000/60);
grid->AddIntToken("year", m_iYear);
@@ -268,6 +269,8 @@ void Video::AddTokens(std::shared_ptr<skindesignerapi::cOsdElement> grid, bool c
}
}
}
+
+ m_Media.AddTokens(grid);
}
std::string Video::ArtUri()