From c88120cc034fa65ac03421965414325ec3db74a7 Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Thu, 23 Nov 2017 16:58:19 +0100 Subject: [PATCH] fix webtv script path --- src/gui/movieplayer.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/gui/movieplayer.cpp b/src/gui/movieplayer.cpp index 4764c9f57..7b3665e76 100644 --- a/src/gui/movieplayer.cpp +++ b/src/gui/movieplayer.cpp @@ -1108,7 +1108,6 @@ bool CMoviePlayerGui::getLiveUrl(const std::string &url, const std::string &scri } std::string _script = script; -#if 0 if (_script.find("/") == std::string::npos) { std::string _s = g_settings.livestreamScriptPath + "/" + _script; @@ -1125,7 +1124,6 @@ bool CMoviePlayerGui::getLiveUrl(const std::string &url, const std::string &scri } _script = _s; } -#endif size_t pos = _script.find(".lua"); if (!file_exists(_script.c_str()) || (pos == std::string::npos) || (_script.length()-pos != 4)) { printf(">>>>> [%s:%s:%d] script error\n", __file__, __func__, __LINE__);