webtv-setup: show autoloaded webtv files as inactive menu items

Origin commit data
------------------
Branch: ni/coolstream
Commit: a365bd6986
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-09-15 (Sat, 15 Sep 2018)

Origin message was:
------------------
- webtv-setup: show autoloaded webtv files as inactive menu items

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2018-09-15 00:16:51 +02:00
parent 19b7c349ac
commit 3f7838b248
2 changed files with 15 additions and 5 deletions

View File

@@ -1115,6 +1115,7 @@ bool CMoviePlayerGui::getLiveUrl(const std::string &url, const std::string &scri
{
std::string _s = g_settings.livestreamScriptPath + "/" + _script;
printf("[%s:%s:%d] script: %s\n", __file__, __func__, __LINE__, _s.c_str());
// try livestreamScripts from webtv autoload directories
if (!file_exists(_s.c_str()))
{
_s = std::string(WEBTVDIR_VAR) + "/" + _script;