Skip to content

Commit

Permalink
🎨 优化txt直播源注释处理
Browse files Browse the repository at this point in the history
  • Loading branch information
yaoxieyoulei committed Oct 30, 2024
1 parent 8687e66 commit dfea626
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit dfea626

Please sign in to comment.