movieplayer , bouquets expanded to rtp:// and https://

Origin commit data
------------------
Branch: ni/coolstream
Commit: 34f6661415
Author: Frankenstone <dampf_acc@online.de>
Date: 2018-09-03 (Mon, 03 Sep 2018)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Frankenstone
2018-09-03 20:17:58 +02:00
committed by vanhofen
parent 036a4eb0a3
commit 27f01fffff
2 changed files with 2 additions and 2 deletions

View File

@@ -3116,7 +3116,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;

View File

@@ -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)
{