summaryrefslogtreecommitdiff
path: root/cPlexOsdItem.cpp
diff options
context:
space:
mode:
authorchriszero <zerov83@gmail.com>2015-02-22 16:30:39 +0100
committerchriszero <zerov83@gmail.com>2015-02-22 16:30:39 +0100
commit1d6583bf592119c85bfcbf2cc6f22aef364396e4 (patch)
tree5190cd178c353b1006da1df2ed316ddcdfd01dab /cPlexOsdItem.cpp
parenta4567e4d33727c941a8abe14c8165f212835f064 (diff)
downloadvdr-plugin-plex-1d6583bf592119c85bfcbf2cc6f22aef364396e4.tar.gz
vdr-plugin-plex-1d6583bf592119c85bfcbf2cc6f22aef364396e4.tar.bz2
New menu for selecting audio/subtitle stream. Open with "back key" while playing a video.
Selecting a subtitle will force the PMS to transcode the video.
Diffstat (limited to 'cPlexOsdItem.cpp')
-rw-r--r--cPlexOsdItem.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/cPlexOsdItem.cpp b/cPlexOsdItem.cpp
index 2d006c3..b2e00a8 100644
--- a/cPlexOsdItem.cpp
+++ b/cPlexOsdItem.cpp
@@ -23,6 +23,15 @@ cPlexOsdItem::cPlexOsdItem(const char* title, plexclient::Directory* obj) :cOsdI
m_bVideo = false;
}
+cPlexOsdItem::cPlexOsdItem(const char* title, plexclient::Stream* obj) :cOsdItem(title) {
+ stream = *obj;
+ dir = NULL;
+ item = NULL;
+ pservice = NULL;
+ m_bVideo = false;
+ m_bDir = false;
+}
+
plexclient::Video* cPlexOsdItem::GetAttachedVideo() {
return item;
}