mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 09:21:18 +02:00
movieplayer , bouquets expanded to rtp:// and https://
This commit is contained in:
@@ -3117,7 +3117,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