mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-06 21:28:32 +02:00
avoid segfault with saved tvg-id
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -1103,6 +1103,13 @@ bool CMoviePlayerGui::getLiveUrl(const std::string &url, const std::string &scri
|
|||||||
realUrl = url;
|
realUrl = url;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//saved tvg-id for epg
|
||||||
|
if (script[0] == '#') {
|
||||||
|
realUrl = url;
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
std::string _script = script;
|
std::string _script = script;
|
||||||
|
|
||||||
if (_script.find("/") == std::string::npos)
|
if (_script.find("/") == std::string::npos)
|
||||||
|
Reference in New Issue
Block a user