0
0
mirror of https://github.com/anthonyaxenov/iptv.git synced 2024-11-22 13:34:45 +00:00

Merge branch 'master' of github.com:anthonyaxenov/iptv

This commit is contained in:
Anthony Axenov 2022-06-03 12:15:41 +08:00
commit 3500122334
Signed by: anthony
GPG Key ID: EA9EC32FF7CCD4EC

View File

@ -42,7 +42,7 @@ awk '
} }
{ {
sub("\r$", "", $0) # crlf -> lf sub("\r$", "", $0) # crlf -> lf
if ($0 ~ /^#EXTINF\:.+,/) { if ($0 ~ /^#EXTINF:.+,/) {
total_count++ total_count++
channel_name = substr($0, index($0, ",") + 1, length($0)) channel_name = substr($0, index($0, ",") + 1, length($0))
print "[" total_count "] " channel_name "..." print "[" total_count "] " channel_name "..."