summaryrefslogtreecommitdiff
path: root/plex.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plex.cpp')
-rw-r--r--plex.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/plex.cpp b/plex.cpp
index 7aff066..9eb47ee 100644
--- a/plex.cpp
+++ b/plex.cpp
@@ -135,6 +135,10 @@ bool cMyPlugin::Start(void)
skindesignerapi::cTokenContainer *tkDetailExtraGrid = new skindesignerapi::cTokenContainer();
cPlexSdOsd::DefineGridTokens(tkDetailExtraGrid);
m_pPlugStruct->RegisterViewGrid((int)eViews::detailView, (int)eViewDetailViewGrids::extras, "extragrid", tkDetailExtraGrid);
+
+ skindesignerapi::cTokenContainer *tkDetailWatch = new skindesignerapi::cTokenContainer();
+ cPlexSdOsd::DefineWatchTokens(tkDetailWatch);
+ m_pPlugStruct->RegisterViewElement((int)eViews::detailView, (int)eViewElementsDetail::watch, "time", tkDetailWatch);
if (!skindesignerapi::SkindesignerAPI::RegisterPlugin(m_pPlugStruct)) {