summaryrefslogtreecommitdiff
path: root/plex.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plex.cpp')
-rw-r--r--plex.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plex.cpp b/plex.cpp
index 9ef5c4d..0c269dd 100644
--- a/plex.cpp
+++ b/plex.cpp
@@ -337,8 +337,8 @@ void cMyPlugin::MainThreadHook(void)
// dsyslog("[plex]%s:\n", __FUNCTION__);
// Start Tasks, e.g. Play Video
if(plexclient::ActionManager::GetInstance().IsAction()) {
- std::string file = plexclient::ActionManager::GetInstance().GetAction();
- //PlayFile(file, NULL);
+ plexclient::Video* video = plexclient::ActionManager::GetInstance().GetAction();
+ PlayFile(video);
}
}