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

This commit is contained in:
Frankenstone
2018-09-03 20:17:58 +02:00
committed by Thilo Graf
parent 575357ac70
commit db3b0cfeed
2 changed files with 2 additions and 2 deletions

View File

@@ -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;

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