summaryrefslogtreecommitdiff
path: root/plex.cpp
diff options
context:
space:
mode:
authorchriszero <zerov83@gmail.com>2015-02-28 14:41:21 +0100
committerchriszero <zerov83@gmail.com>2015-02-28 14:41:21 +0100
commit9450b271f139c8fe0470811da4c5cf4b1c8030d3 (patch)
tree9cf9a2c17ef778dacd3309a771cd8af2f5cf9bb2 /plex.cpp
parent92613bd473ee262d157ce4d562a7c77ecf696daa (diff)
downloadvdr-plugin-plex-9450b271f139c8fe0470811da4c5cf4b1c8030d3.tar.gz
vdr-plugin-plex-9450b271f139c8fe0470811da4c5cf4b1c8030d3.tar.bz2
Correct titles in Plex-Browser
Diffstat (limited to 'plex.cpp')
-rw-r--r--plex.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/plex.cpp b/plex.cpp
index e34cd0e..da51bed 100644
--- a/plex.cpp
+++ b/plex.cpp
@@ -108,6 +108,8 @@ eOSState cPlexBrowser::LevelUp()
ShowBrowser = 0;
return osEnd;
}
+ cString title = cString::sprintf(tr("Browse Plex - %s"), tr(pCont->m_sTitle1.c_str()));
+ SetTitle(title);
CreateMenu();
return osContinue;
}
@@ -128,7 +130,8 @@ eOSState cPlexBrowser::ProcessSelected()
if(item->IsDir()) {
plexclient::Directory* pDir = item->GetAttachedDirectory();
pCont = pService->GetSection(pDir->m_sKey);
- //SetTitle(pDir->m_sTitle);
+ cString title = cString::sprintf(tr("Browse Plex - %s"), tr(pDir->m_sTitle.c_str()));
+ SetTitle(title);
CreateMenu();
return osContinue;
}