summaryrefslogtreecommitdiff
path: root/PVideo.cpp
diff options
context:
space:
mode:
authorchriszero <zerov83@gmail.com>2015-05-03 17:20:03 +0200
committerchriszero <zerov83@gmail.com>2015-05-03 17:20:03 +0200
commitf7196f23bc0ed500dcf1f60b794caa9a9f76a751 (patch)
tree7fcab9a27a06ca43818e9cdd63977769753fb92f /PVideo.cpp
parent6708c32ab31bb90781bb5e3743cb81ae72748edd (diff)
downloadvdr-plugin-plex-f7196f23bc0ed500dcf1f60b794caa9a9f76a751.tar.gz
vdr-plugin-plex-f7196f23bc0ed500dcf1f60b794caa9a9f76a751.tar.bz2
- Playmarks for skindesigner
- More tokens (mediainfo, codes, etc) - Updated translation
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()