diff --git a/core/data/src/main/java/top/yogiczy/mytv/core/data/repositories/iptv/parser/TxtIptvParser.kt b/core/data/src/main/java/top/yogiczy/mytv/core/data/repositories/iptv/parser/TxtIptvParser.kt index 9a9745fe..0612a619 100644 --- a/core/data/src/main/java/top/yogiczy/mytv/core/data/repositories/iptv/parser/TxtIptvParser.kt +++ b/core/data/src/main/java/top/yogiczy/mytv/core/data/repositories/iptv/parser/TxtIptvParser.kt @@ -22,7 +22,7 @@ class TxtIptvParser : IptvParser { var groupName: String? = null lines.forEach { line -> - if (line.isBlank() || line.startsWith("#")) return@forEach + if (line.isBlank() || line.startsWith("#") || line.startsWith("//")) return@forEach if (line.contains("#genre#")) { groupName = line.split(",", ",").firstOrNull()?.trim()