From db3b0cfeed0a844ac37f8fbf6b15129d7091c3cb Mon Sep 17 00:00:00 2001 From: Frankenstone Date: Mon, 3 Sep 2018 20:17:58 +0200 Subject: [PATCH] movieplayer , bouquets expanded to rtp:// and https:// --- src/gui/movieplayer.cpp | 2 +- src/zapit/src/bouquets.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/movieplayer.cpp b/src/gui/movieplayer.cpp index 47ee9a818..39dce996f 100644 --- a/src/gui/movieplayer.cpp +++ b/src/gui/movieplayer.cpp @@ -3117,7 +3117,7 @@ void CMoviePlayerGui::parsePlaylist(CFile *file) if (len > 0 && cLine[0]!='#') { char *url = NULL; - if ((url = strstr(cLine, "http://")) || (url = strstr(cLine, "https://")) || (url = strstr(cLine, "rtmp://")) || (url = strstr(cLine, "rtsp://")) || (url = strstr(cLine, "mmsh://")) ) { + if ((url = strstr(cLine, "http://")) || (url = strstr(cLine, "https://")) || (url = strstr(cLine, "rtmp://")) || (url = strstr(cLine, "rtsp://")) || (url = strstr(cLine, "rtp://")) || (url = strstr(cLine, "mmsh://")) ) { if (url != NULL) { printf("name %s [%d] url: %s\n", name, dur, url); tmp_file.Name = name; diff --git a/src/zapit/src/bouquets.cpp b/src/zapit/src/bouquets.cpp index fc060cbab..77074edb4 100644 --- a/src/zapit/src/bouquets.cpp +++ b/src/zapit/src/bouquets.cpp @@ -1004,7 +1004,7 @@ void CBouquetManager::loadWebchannels(int mode) else if (strLine[0] != '#') { char *url = NULL; - if ((url = strstr(cLine, "http://")) || (url = strstr(cLine, "rtmp://")) || (url = strstr(cLine, "rtsp://")) || (url = strstr(cLine, "mmsh://")) ) + if ((url = strstr(cLine, "http://")) || (url = strstr(cLine, "https://")) || (url = strstr(cLine, "rtmp://")) || (url = strstr(cLine, "rtsp://")) || (url = strstr(cLine, "rtp://")) || (url = strstr(cLine, "mmsh://")) ) { if (url != NULL) {