mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 15:02:50 +02:00
bouquets: m3u8 added (thx mohousch)
Origin commit data
------------------
Branch: ni/coolstream
Commit: 96e25ca738
Author: BPanther <bpanther_ts@hotmail.com>
Date: 2023-05-04 (Thu, 04 May 2023)
Origin message was:
------------------
- bouquets: m3u8 added (thx mohousch)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -117,6 +117,7 @@ int CWebChannelsSetup::exec(CMenuTarget *parent, const std::string &actionKey)
|
||||
fileFilter.addFilter("xml");
|
||||
fileFilter.addFilter("tv");
|
||||
fileFilter.addFilter("m3u");
|
||||
fileFilter.addFilter("m3u8");
|
||||
fileBrowser.Filter = &fileFilter;
|
||||
|
||||
dirname = dirname.substr(0, dirname.rfind('/'));
|
||||
@@ -139,6 +140,7 @@ int CWebChannelsSetup::exec(CMenuTarget *parent, const std::string &actionKey)
|
||||
fileFilter.addFilter("xml");
|
||||
fileFilter.addFilter("tv");
|
||||
fileFilter.addFilter("m3u");
|
||||
fileFilter.addFilter("m3u8");
|
||||
fileBrowser.Filter = &fileFilter;
|
||||
if (fileBrowser.exec(webradio ? g_settings.last_webradio_dir.c_str() : g_settings.last_webtv_dir.c_str()) == true)
|
||||
{
|
||||
|
@@ -894,7 +894,7 @@ void CBouquetManager::loadWebchannels(int mode)
|
||||
|
||||
if (strcasecmp("xml", extension.c_str()) == 0)
|
||||
xml = true;
|
||||
if (strcasecmp("m3u", extension.c_str()) == 0)
|
||||
if ((strcasecmp("m3u", extension.c_str()) == 0) || (strcasecmp("m3u8", extension.c_str()) == 0))
|
||||
m3u = true;
|
||||
if (strcasecmp("tv", extension.c_str()) == 0)
|
||||
e2tv = true;
|
||||
@@ -1035,6 +1035,8 @@ void CBouquetManager::loadWebchannels(int mode)
|
||||
{
|
||||
epg_url = "";
|
||||
epg_url = ReadMarkerValue(strLine, M3U_START_EPG_MARKER);
|
||||
if (epg_url.empty())
|
||||
epg_url = ReadMarkerValue(strLine, "x-tvg-url");
|
||||
//printf("tvg-url: %s\n", epg_url.c_str());
|
||||
if (!epg_url.empty())
|
||||
{
|
||||
|
Reference in New Issue
Block a user