diff --git a/src/conn_http_dynamic.cpp b/src/conn_http_dynamic.cpp index 27055a6f..c7488dc4 100644 --- a/src/conn_http_dynamic.cpp +++ b/src/conn_http_dynamic.cpp @@ -112,7 +112,7 @@ namespace Connector_HTTP{ std::cout << "Received request: " << HTTP_R.url << std::endl; #endif if (HTTP_R.url.find("f4m") == std::string::npos){ - Movie = HTTP_R.url.substr(1,HTTP_R.url.find("/",1)-1); + streamname = HTTP_R.url.substr(1,HTTP_R.url.find("/",1)-1); Quality = HTTP_R.url.substr( HTTP_R.url.find("/",1)+1 ); Quality = Quality.substr(0, Quality.find("Seg")); temp = HTTP_R.url.find("Seg") + 3; @@ -124,7 +124,7 @@ namespace Connector_HTTP{ #endif Flash_RequestPending++; }else{ - Movie = HTTP_R.url.substr(1,HTTP_R.url.find("/",1)-1); + streamname = HTTP_R.url.substr(1,HTTP_R.url.find("/",1)-1); HTTP_S.Clean(); HTTP_S.SetHeader("Content-Type","text/xml"); HTTP_S.SetHeader("Cache-Control","no-cache"); diff --git a/src/conn_http_progressive.cpp b/src/conn_http_progressive.cpp index 56f1ac06..3f3051bc 100644 --- a/src/conn_http_progressive.cpp +++ b/src/conn_http_progressive.cpp @@ -51,7 +51,7 @@ namespace Connector_HTTP{ #endif //we assume the URL is the stream name with a 3 letter extension std::string extension = HTTP_R.url.substr(HTTP_R.url.size()-4); - Movie = HTTP_R.url.substr(0, HTTP_R.url.size()-4);//strip the extension + streamname = HTTP_R.url.substr(0, HTTP_R.url.size()-4);//strip the extension /// \todo VoD streams will need support for position reading from the URL parameters ready4data = true; HTTP_R.Clean(); //clean for any possible next requests