mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-01 09:51:22 +02:00
/movieplayer: filpeplayer add parse for rtmp
This commit is contained in:
@@ -397,7 +397,8 @@ bool CMoviePlayerGui::SelectFile()
|
|||||||
sscanf(cLine, "#EXTINF:%d,%[^\n]\n", &dur, name);
|
sscanf(cLine, "#EXTINF:%d,%[^\n]\n", &dur, name);
|
||||||
if (strlen(cLine) > 0 && cLine[0]!='#')
|
if (strlen(cLine) > 0 && cLine[0]!='#')
|
||||||
{
|
{
|
||||||
char *url = strstr(cLine, "http://");
|
char *url = NULL;
|
||||||
|
if ( (url = strstr(cLine, "http://")) || (url = strstr(cLine, "rtmp://")) ){
|
||||||
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);
|
||||||
full_name = url;
|
full_name = url;
|
||||||
@@ -408,6 +409,7 @@ bool CMoviePlayerGui::SelectFile()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
} else
|
} else
|
||||||
menu_ret = filebrowser->getMenuRet();
|
menu_ret = filebrowser->getMenuRet();
|
||||||
CAudioMute::getInstance()->enableMuteIcon(true);
|
CAudioMute::getInstance()->enableMuteIcon(true);
|
||||||
|
Reference in New Issue
Block a user