summaryrefslogtreecommitdiff
path: root/PVideo.cpp
diff options
context:
space:
mode:
authorchriszero <zerov83@gmail.com>2015-06-25 19:35:50 +0200
committerchriszero <zerov83@gmail.com>2015-06-25 19:35:50 +0200
commitbc21cd691cd45ce4419a8b9d6b0ee561103c8254 (patch)
treee3b352fa7bc3d5e74e39bf05e68a3306585efc18 /PVideo.cpp
parent4a54de45b40483e578fa3e97784532e57fedbe52 (diff)
downloadvdr-plugin-plex-bc21cd691cd45ce4419a8b9d6b0ee561103c8254.tar.gz
vdr-plugin-plex-bc21cd691cd45ce4419a8b9d6b0ee561103c8254.tar.bz2
Fixed token {seriestitle|genres|roles}
Diffstat (limited to 'PVideo.cpp')
-rw-r--r--PVideo.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/PVideo.cpp b/PVideo.cpp
index dde09f9..d21df09 100644
--- a/PVideo.cpp
+++ b/PVideo.cpp
@@ -272,11 +272,11 @@ void Video::AddTokens(std::shared_ptr<skindesignerapi::cOsdElement> grid, bool c
}
grid->AddLoopToken("roles", roles);
- map<string, string> gernes;
+ map<string, string> genres;
for(auto it = m_vGenre.begin(); it != m_vGenre.end(); it++) {
- gernes["genre"] = *it;
+ genres["genre"] = *it;
}
- grid->AddLoopToken("genres", gernes);
+ grid->AddLoopToken("genres", genres);
grid->AddIntToken("originallyAvailableYear", m_tOriginallyAvailableAt.year());
grid->AddIntToken("originallyAvailableMonth", m_tOriginallyAvailableAt.month());