mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-03 10:51:05 +02:00
movieplayer: just fix indentation
Origin commit data
------------------
Branch: ni/coolstream
Commit: c64b184505
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-11-24 (Fri, 24 Nov 2017)
Origin message was:
------------------
- movieplayer: just fix indentation
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1151,7 +1151,6 @@ bool CMoviePlayerGui::getLiveUrl(const std::string &url, const std::string &scri
|
|||||||
std::string _script = script;
|
std::string _script = script;
|
||||||
|
|
||||||
if (_script.find("/") == std::string::npos)
|
if (_script.find("/") == std::string::npos)
|
||||||
//NI
|
|
||||||
{
|
{
|
||||||
std::string _s = g_settings.livestreamScriptPath + "/" + _script;
|
std::string _s = g_settings.livestreamScriptPath + "/" + _script;
|
||||||
printf("[%s:%s:%d] script: %s\n", __file__, __func__, __LINE__, _s.c_str());
|
printf("[%s:%s:%d] script: %s\n", __file__, __func__, __LINE__, _s.c_str());
|
||||||
@@ -1167,7 +1166,6 @@ bool CMoviePlayerGui::getLiveUrl(const std::string &url, const std::string &scri
|
|||||||
}
|
}
|
||||||
_script = _s;
|
_script = _s;
|
||||||
}
|
}
|
||||||
|
|
||||||
size_t pos = _script.find(".lua");
|
size_t pos = _script.find(".lua");
|
||||||
if (!file_exists(_script.c_str()) || (pos == std::string::npos) || (_script.length()-pos != 4)) {
|
if (!file_exists(_script.c_str()) || (pos == std::string::npos) || (_script.length()-pos != 4)) {
|
||||||
printf(">>>>> [%s:%s:%d] script error\n", __file__, __func__, __LINE__);
|
printf(">>>>> [%s:%s:%d] script error\n", __file__, __func__, __LINE__);
|
||||||
|
Reference in New Issue
Block a user