mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 23:13:13 +02:00
fix m3u parse
Origin commit data
------------------
Commit: 0c98757176
Author: TangoCash <eric@loxat.de>
Date: 2023-11-30 (Thu, 30 Nov 2023)
This commit is contained in:
@@ -1055,8 +1055,9 @@ void CBouquetManager::loadWebchannels(int mode)
|
|||||||
}
|
}
|
||||||
if (strLine.find(M3U_INFO_MARKER) != std::string::npos)
|
if (strLine.find(M3U_INFO_MARKER) != std::string::npos)
|
||||||
{
|
{
|
||||||
|
int fPos = strLine.find_last_of('"') != std::string::npos ? strLine.find_last_of('"') : 0;
|
||||||
int iColon = (int)strLine.find_first_of(':');
|
int iColon = (int)strLine.find_first_of(':');
|
||||||
int iComma = (int)strLine.find_first_of(',');
|
int iComma = (int)strLine.find_first_of(',',fPos);
|
||||||
title = "";
|
title = "";
|
||||||
prefix = "";
|
prefix = "";
|
||||||
group = "";
|
group = "";
|
||||||
|
Reference in New Issue
Block a user