fix m3u parse

Origin commit data
------------------
Branch: ni/coolstream
Commit: b5a726ea94
Author: TangoCash <eric@loxat.de>
Date: 2023-11-30 (Thu, 30 Nov 2023)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
TangoCash
2023-11-30 17:55:39 +01:00
committed by vanhofen
parent 152d78f68c
commit b38647eff4

View File

@@ -1055,8 +1055,9 @@ void CBouquetManager::loadWebchannels(int mode)
}
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 iComma = (int)strLine.find_first_of(',');
int iComma = (int)strLine.find_first_of(',',fPos);
title = "";
prefix = "";
group = "";