From 05928bffed090b71fea5f299e779cce540be9901 Mon Sep 17 00:00:00 2001 From: TangoCash Date: Thu, 30 Nov 2023 17:55:39 +0100 Subject: [PATCH] fix m3u parse Origin commit data ------------------ Commit: https://github.com/TangoCash/neutrino-tangos/commit/0c9875717660fc8881904abc8da24e475ca0cc40 Author: TangoCash Date: 2023-11-30 (Thu, 30 Nov 2023) --- src/zapit/src/bouquets.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/zapit/src/bouquets.cpp b/src/zapit/src/bouquets.cpp index d9b104ff2..fcbca978a 100644 --- a/src/zapit/src/bouquets.cpp +++ b/src/zapit/src/bouquets.cpp @@ -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 = "";