mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
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:
@@ -3116,7 +3116,7 @@ void CMoviePlayerGui::parsePlaylist(CFile *file)
|
|||||||
if (len > 0 && cLine[0]!='#')
|
if (len > 0 && cLine[0]!='#')
|
||||||
{
|
{
|
||||||
char *url = NULL;
|
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) {
|
if (url != NULL) {
|
||||||
printf("name %s [%d] url: %s\n", name, dur, url);
|
printf("name %s [%d] url: %s\n", name, dur, url);
|
||||||
tmp_file.Name = name;
|
tmp_file.Name = name;
|
||||||
|
@@ -1004,7 +1004,7 @@ void CBouquetManager::loadWebchannels(int mode)
|
|||||||
else if (strLine[0] != '#')
|
else if (strLine[0] != '#')
|
||||||
{
|
{
|
||||||
char *url = NULL;
|
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)
|
if (url != NULL)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user