avoid segfault with saved tvg-id

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
TangoCash
2018-08-19 21:14:54 +02:00
committed by Thilo Graf
parent b0590ff20d
commit 142406d260

View File

@@ -1103,6 +1103,13 @@ bool CMoviePlayerGui::getLiveUrl(const std::string &url, const std::string &scri
realUrl = url;
return true;
}
//saved tvg-id for epg
if (script[0] == '#') {
realUrl = url;
return true;
}
std::string _script = script;
if (_script.find("/") == std::string::npos)