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:
TangoCash
2023-11-30 17:55:39 +01:00
committed by Thilo Graf
parent 74d50b31fa
commit 05928bffed

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 = "";