mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 17:01:15 +02:00
yWeb: rework for basic functionality
Based on the last changes by svenhoefer
This commit is contained in:
@@ -878,7 +878,7 @@ std::string CNeutrinoYParser::func_get_boxmodel(CyhookHandler *, std::string)
|
||||
//-------------------------------------------------------------------------
|
||||
// y-func : get stream info
|
||||
//-------------------------------------------------------------------------
|
||||
std::string CNeutrinoYParser::func_get_current_stream_info(CyhookHandler *hh, std::string)
|
||||
std::string CNeutrinoYParser::func_get_current_stream_info(CyhookHandler *hh, std::string)
|
||||
{
|
||||
CZapitClient::CCurrentServiceInfo serviceinfo;
|
||||
|
||||
@@ -896,7 +896,6 @@ std::string CNeutrinoYParser::func_get_current_stream_info(CyhookHandler *hh, s
|
||||
hh->ParamList["ServiceName"] = NeutrinoAPI->GetServiceName(CZapit::getInstance()->GetCurrentChannelID());
|
||||
hh->ParamList["Url"] = CZapit::getInstance()->GetCurrentChannel()->getUrl().c_str();
|
||||
hh->ParamList["VideoFormat"] = NeutrinoAPI->getVideoResolutionAsString();
|
||||
// hh->ParamList["BitRate"] = NeutrinoAPI->getVideoFramerateAsString();
|
||||
hh->ParamList["AspectRatio"] = NeutrinoAPI->getVideoAspectRatioAsString();
|
||||
hh->ParamList["FPS"] = NeutrinoAPI->getVideoFramerateAsString();
|
||||
hh->ParamList["AudioType"] = NeutrinoAPI->getAudioInfoAsString();
|
||||
|
@@ -413,7 +413,7 @@ std::string yExecuteScript(std::string cmd) {
|
||||
script = cmd;
|
||||
// get file
|
||||
std::string fullfilename;
|
||||
script += ".sh"; //add script extention
|
||||
script += ".sh"; //add script extension
|
||||
|
||||
char cwd[255];
|
||||
getcwd(cwd, 254);
|
||||
|
Reference in New Issue
Block a user