mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 23:42:51 +02:00
fix build after cherry-pick
Origin commit data
------------------
Branch: ni/coolstream
Commit: e2b2a60dd1
Author: vanhofen <vanhofen@gmx.de>
Date: 2022-10-07 (Fri, 07 Oct 2022)
Origin message was:
------------------
- fix build after cherry-pick
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -271,6 +271,7 @@ const CControlAPI::TyCgiCall CControlAPI::yCgiCallList[]=
|
|||||||
{"xmltvlist", &CControlAPI::xmltvlistCGI, "text/plain"},
|
{"xmltvlist", &CControlAPI::xmltvlistCGI, "text/plain"},
|
||||||
// utils
|
// utils
|
||||||
{"build_live_url", &CControlAPI::build_live_url, ""},
|
{"build_live_url", &CControlAPI::build_live_url, ""},
|
||||||
|
{"build_playlist", &CControlAPI::build_playlist, ""},
|
||||||
{"get_logo", &CControlAPI::logoCGI, "text/plain"},
|
{"get_logo", &CControlAPI::logoCGI, "text/plain"},
|
||||||
// settings
|
// settings
|
||||||
{"config", &CControlAPI::ConfigCGI, "text/plain"},
|
{"config", &CControlAPI::ConfigCGI, "text/plain"},
|
||||||
@@ -3413,7 +3414,7 @@ void CControlAPI::xmltvm3uCGI(CyhookHandler *hh)
|
|||||||
if (url.rfind(":") != 4)
|
if (url.rfind(":") != 4)
|
||||||
url = url.substr(0, url.rfind(":")); // strip off optional custom port
|
url = url.substr(0, url.rfind(":")); // strip off optional custom port
|
||||||
url += ":";
|
url += ":";
|
||||||
url += std::to_string(g_settings.streaming_port);
|
url += to_string(g_settings.streaming_port);
|
||||||
url += "/id=";
|
url += "/id=";
|
||||||
|
|
||||||
for (unsigned int i = 0; i < g_bouquetManager->Bouquets.size(); i++)
|
for (unsigned int i = 0; i < g_bouquetManager->Bouquets.size(); i++)
|
||||||
@@ -3538,7 +3539,7 @@ void CControlAPI::build_live_url(CyhookHandler *hh)
|
|||||||
url = url.substr(0, url.rfind(":"));
|
url = url.substr(0, url.rfind(":"));
|
||||||
|
|
||||||
url += ":";
|
url += ":";
|
||||||
url += std::to_string(g_settings.streaming_port);
|
url += to_string(g_settings.streaming_port);
|
||||||
url += "/id=";
|
url += "/id=";
|
||||||
|
|
||||||
// response url
|
// response url
|
||||||
@@ -3579,7 +3580,7 @@ void CControlAPI::build_playlist(CyhookHandler *hh)
|
|||||||
url = url.substr(0, url.rfind(":"));
|
url = url.substr(0, url.rfind(":"));
|
||||||
|
|
||||||
url += ":";
|
url += ":";
|
||||||
url += std::to_string(g_settings.streaming_port);
|
url += to_string(g_settings.streaming_port);
|
||||||
url += "/id=";
|
url += "/id=";
|
||||||
|
|
||||||
if(!hh->ParamList["id"].empty()) {
|
if(!hh->ParamList["id"].empty()) {
|
||||||
|
@@ -132,6 +132,7 @@ private:
|
|||||||
void xmltvm3uCGI(CyhookHandler *hh);
|
void xmltvm3uCGI(CyhookHandler *hh);
|
||||||
void xmltvlistCGI(CyhookHandler *hh);
|
void xmltvlistCGI(CyhookHandler *hh);
|
||||||
void build_live_url(CyhookHandler *hh);
|
void build_live_url(CyhookHandler *hh);
|
||||||
|
void build_playlist(CyhookHandler *hh);
|
||||||
void logoCGI(CyhookHandler *hh);
|
void logoCGI(CyhookHandler *hh);
|
||||||
void ConfigCGI(CyhookHandler *hh);
|
void ConfigCGI(CyhookHandler *hh);
|
||||||
void FileCGI(CyhookHandler *hh);
|
void FileCGI(CyhookHandler *hh);
|
||||||
|
Reference in New Issue
Block a user