diff options
author | Christian <zerov83@gmail.com> | 2016-02-22 21:01:12 +0100 |
---|---|---|
committer | Christian <zerov83@gmail.com> | 2016-02-22 21:01:12 +0100 |
commit | 662171f45281deacdf2db255909be11ec869122c (patch) | |
tree | 07615f863ec2404a9f230209fc60ba9f1759b07f /Directory.cpp | |
parent | 6b8c8aec4fe01136b3092981e4a9c5d486d098df (diff) | |
download | vdr-plugin-plex-5fd632bca823abc8bdef1bb2c8a1c44a62de86a0.tar.gz vdr-plugin-plex-5fd632bca823abc8bdef1bb2c8a1c44a62de86a0.tar.bz2 |
Fixed "time"0.3.0
added looptokens
Diffstat (limited to 'Directory.cpp')
-rw-r--r-- | Directory.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Directory.cpp b/Directory.cpp index e2b1072..100b830 100644 --- a/Directory.cpp +++ b/Directory.cpp @@ -99,7 +99,12 @@ void Directory::AddTokens(std::shared_ptr<skindesignerapi::cOsdElement> grid, bo if(m_eType == MediaType::UNDEF || m_eType == MediaType::MOVIE || m_eType == MediaType::PHOTO) { grid->AddIntToken((int)(eTokenGridInt::isdirectory), true); } - /* + + vector<int> loopInfo; + loopInfo.push_back(m_vRole.size()); + loopInfo.push_back(m_vGenre.size()); + grid->SetLoop(loopInfo); + int actloopIndex = grid->GetLoopIndex("roles"); int i = 0; for(auto it = m_vRole.begin(); it != m_vRole.end(); it++) { @@ -113,7 +118,7 @@ void Directory::AddTokens(std::shared_ptr<skindesignerapi::cOsdElement> grid, bo grid->AddLoopToken(genloopIndex, i, (int)(eTokenGridGenresLst::genres), it->c_str()); i++; } -*/ + if(m_eType == MediaType::SHOW) { grid->AddIntToken((int)(eTokenGridInt::isshow), true); grid->AddStringToken((int)(eTokenGridStr::summary), m_sSummary.c_str()); |