neutrino: use WEBTVDIR as default for g_settings.livestreamScriptPath

The usage of WEBTVDIR_VAR was not a good idea because our delivered xml's
are located in WEBTVDIR.
In summery the location doesn't really matter, because our code in
movieplayer.cpp will find the script in several places.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 35fa18c3d7
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-04-22 (Sun, 22 Apr 2018)

Origin message was:
------------------
- neutrino: use WEBTVDIR as default for g_settings.livestreamScriptPath

The usage of WEBTVDIR_VAR was not a good idea because our delivered xml's
are located in WEBTVDIR.
In summery the location doesn't really matter, because our code in
movieplayer.cpp will find the script in several places.


------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2018-04-22 22:48:04 +02:00
parent 6ca7d7d325
commit 366153a037

View File

@@ -1050,7 +1050,7 @@ int CNeutrinoApp::loadSetup(const char * fname)
g_settings.infoClockSeconds = configfile.getInt32("infoClockSeconds", 0); //NI
g_settings.livestreamResolution = configfile.getInt32("livestreamResolution", 1920);
g_settings.livestreamScriptPath = configfile.getString("livestreamScriptPath", WEBTVDIR_VAR);
g_settings.livestreamScriptPath = configfile.getString("livestreamScriptPath", WEBTVDIR);
g_settings.version_pseudo = configfile.getString("version_pseudo", "19700101000000");