diff options
-rw-r--r-- | Directory.cpp | 2 | ||||
-rw-r--r-- | MediaContainer.cpp | 1 | ||||
-rw-r--r-- | templates/plug-plex-root.xml | 1 |
3 files changed, 2 insertions, 2 deletions
diff --git a/Directory.cpp b/Directory.cpp index 4c24b7a..1f4c8b3 100644 --- a/Directory.cpp +++ b/Directory.cpp @@ -111,7 +111,7 @@ void Directory::AddTokens(std::shared_ptr<skindesignerapi::cOsdElement> grid, bo map<string, string> gernes; for(auto it = m_vGenre.begin(); it != m_vGenre.end(); it++) { - roles["genre"] = *it; + gernes["genre"] = *it; } grid->AddLoopToken("genres", gernes); diff --git a/MediaContainer.cpp b/MediaContainer.cpp index e676c8d..ba46fe8 100644 --- a/MediaContainer.cpp +++ b/MediaContainer.cpp @@ -22,6 +22,7 @@ MediaContainer::MediaContainer(std::istream* response, PlexServer* Server) m_sTitle1 = GetNodeValue(pAttribs->getNamedItem("title1")); m_sTitle2 = GetNodeValue(pAttribs->getNamedItem("title2")); m_sGrandparentTitle = GetNodeValue(pAttribs->getNamedItem("grandparentTitle")); + m_sParentTitle = GetNodeValue(pAttribs->getNamedItem("parentTitle")); m_iParentIndex = GetNodeValueAsInt(pAttribs->getNamedItem("parentIndex")); m_sThumb = GetNodeValue(pAttribs->getNamedItem("thumb")); m_sBanner = GetNodeValue(pAttribs->getNamedItem("banner")); diff --git a/templates/plug-plex-root.xml b/templates/plug-plex-root.xml index 411dfc1..d3d09ad 100644 --- a/templates/plug-plex-root.xml +++ b/templates/plug-plex-root.xml @@ -94,7 +94,6 @@ {seriestitle} Seriestitle {leafCount} Total leafs, episodes {viewedLeafCount} viewed Leafs, episodes - {childCount} total childs, seasons If the item is a video following tokens are avaliable The item is a video if one of the following tokens are set: {ismovie}, {isepisode} |