From 87eb8a9e931606da4197391b6e3a09376b1383c2 Mon Sep 17 00:00:00 2001 From: chriszero Date: Wed, 28 Jan 2015 21:17:18 +0100 Subject: - Counting played time correctly - Implemented switching audiostreams - Removed some compile warnings --- PlexHTTPRequestHandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'PlexHTTPRequestHandler.cpp') diff --git a/PlexHTTPRequestHandler.cpp b/PlexHTTPRequestHandler.cpp index 7fc3415..d6c8ad3 100644 --- a/PlexHTTPRequestHandler.cpp +++ b/PlexHTTPRequestHandler.cpp @@ -141,7 +141,7 @@ void PlayerRequestHandler::handleRequest(Poco::Net::HTTPServerRequest& request, std::cout << "FullUrl: " << fullUrl << std::endl; MediaContainer *pCont = Plexservice::GetMediaContainer(fullUrl); - std::string filePath = pCont->m_vVideos[0].m_pMedia->m_sPartKey; + std::string filePath = pCont->m_vVideos[0].m_Media.m_sPartKey; Poco::URI fileuri(fullUrl); fileuri.setPath(filePath); -- cgit v1.2.3