mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-02 18:31:22 +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;
|
||||
return true;
|
||||
}
|
||||
|
||||
//saved tvg-id for epg
|
||||
if (script[0] == '#') {
|
||||
realUrl = url;
|
||||
return true;
|
||||
}
|
||||
|
||||
std::string _script = script;
|
||||
|
||||
if (_script.find("/") == std::string::npos)
|
||||
|
Reference in New Issue
Block a user