Bug fixes & Implementation

This commit is contained in:
peterpt 2018-02-02 00:01:33 -06:00
parent d6d6e24371
commit 58674ae93b
2 changed files with 6 additions and 1 deletions

5
changelog.md Normal file
View file

@ -0,0 +1,5 @@
## IPTV-Checker (Changelog)
* v1.0 - Bug fix & implementation , changed how iptv-check filters the m3u file lists and from now will autoremove repeated urls on lists to scan
* v1.0 - Bug fix , waiting for data was change from 2s to 4s because servers may take sometime to start sending data
* v1.0 - First Release

View file

@ -97,7 +97,7 @@ else
exts="0"
fi
glnk=$(grep -F "http" < "$path/temp/1" | sed '/jpg/d' | sed '/png/d')
glnk=$(grep -F "http" < "$path/temp/1" | sed '/EXTINF/d' | sed '/EXTM3U/d' | awk '!a[$0]++' | sed '/^$/d')
echo "$glnk" | tr " " "\n" > "$path/temp/2"
srvnmb=$(wc -l "$path/temp/2" | awk '{print$1}')
rm -rf "$path/temp/stream" >/dev/null 2>&1